Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosen certifi version requirements #45

Closed
wants to merge 1 commit into from
Closed

Conversation

danielocfb
Copy link

The certifi package has a "vulnerability" [0], asking us to update. Dependabot should take care of that, except it didn't:

  > updater | 2024/07/05 <job_852060501> Checking if certifi 2023.11.17 needs updating
  >   proxy | 2024/07/05  GET https://pypi.org:443/simple/certifi/
  >   proxy | 2024/07/05  200 https://pypi.org:443/simple/certifi/
  > updater | 2024/07/05 <job_852060501> Filtered out 2 yanked versions
  > updater | 2024/07/05 <job_852060501> Latest version is 2024.7.4
  > updater | 2024/07/05 <job_852060501> Requirements to unlock update_not_possible
  > updater | 2024/07/05 <job_852060501> Requirements update strategy lockfile_only
  > updater | 2024/07/05 <job_852060501> No update possible for certifi 2023.11.17

I suspect that reason is that it interprets the version as a SemVer specification and 2023 -> 2024 would be a major bump and it won't do that given our strategy.
It appears none of our Python code is actually depending on this package, so let's just remove it.

[0] https://github.com/facebookincubator/kernel-patches-daemon/security/dependabot/23

The certifi package has a "vulnerability" [0], asking us to update.
Dependabot should take care of that, except it didn't:
  > updater | 2024/07/05 <job_852060501> Checking if certifi 2023.11.17 needs updating
  >   proxy | 2024/07/05  GET https://pypi.org:443/simple/certifi/
  >   proxy | 2024/07/05  200 https://pypi.org:443/simple/certifi/
  > updater | 2024/07/05 <job_852060501> Filtered out 2 yanked versions
  > updater | 2024/07/05 <job_852060501> Latest version is 2024.7.4
  > updater | 2024/07/05 <job_852060501> Requirements to unlock update_not_possible
  > updater | 2024/07/05 <job_852060501> Requirements update strategy lockfile_only
  > updater | 2024/07/05 <job_852060501> No update possible for certifi 2023.11.17

I suspect that reason is that it interprets the version as a SemVer
specification and 2023 -> 2024 would be a major bump and it won't do
that given our strategy. Let's just use any version.

[0] https://github.com/facebookincubator/kernel-patches-daemon/security/dependabot/23
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d20dba4.

@danielocfb danielocfb deleted the topic/certifi branch July 8, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants