Skip to content

Upgrade dependencies#617

Open
duckduckgrayduck wants to merge 5 commits intomasterfrom
upgrade_dependencies
Open

Upgrade dependencies#617
duckduckgrayduck wants to merge 5 commits intomasterfrom
upgrade_dependencies

Conversation

@duckduckgrayduck
Copy link
Contributor

@duckduckgrayduck duckduckgrayduck commented Mar 10, 2026

Mostly closes this issue:
https://github.com/MuckRock/issues/issues/35
Read the details in that issue for explanation. Will open a separate issue for upgrading django-allauth. I couldn't find anywhere we were still using pyairtable, so it was removed

@allanlasser allanlasser temporarily deployed to squarelet-pi-upgrade-de-2yrfao March 10, 2026 23:06 Inactive
@allanlasser allanlasser temporarily deployed to squarelet-pi-upgrade-de-cwhlei March 10, 2026 23:16 Inactive
@duckduckgrayduck duckduckgrayduck added this to the Security milestone Mar 10, 2026
@duckduckgrayduck duckduckgrayduck temporarily deployed to squarelet-pi-upgrade-de-kke5l6 March 10, 2026 23:28 Inactive
@duckduckgrayduck duckduckgrayduck temporarily deployed to squarelet-pi-upgrade-de-z8ouak March 11, 2026 00:21 Inactive

# Upgrade pip to a minimum version (26.0 or newer) for security
# Will need to update this as time goes on.
RUN python -m pip install --upgrade "pip>=26.0,<27.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we restricting it to be <27?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

26 is the minimum version that is still secure, 27 could introduce breaking changes. We can opt to not restrict it, at the risk of a build failing some time in the future and us having to fix it, or be more proactive and update pip as we run audits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants