Skip to content

Remove outdated urllib3<2.0.0 pin - #92

Closed
LukasRada wants to merge 1 commit into
keboola:masterfrom
LukasRada:remove-urllib3-pin
Closed

LukasRada wants to merge 1 commit into
keboola:masterfrom
LukasRada:remove-urllib3-pin

Conversation

@LukasRada

Copy link
Copy Markdown

Summary

  • Remove the direct urllib3<2.0.0 constraint from pyproject.toml
  • The pin was a workaround for boto/botocore#2926, which has been resolved
  • Current botocore (1.42.x) manages its own urllib3 constraints via Python version markers (urllib3<1.27 for Python <3.10, urllib3>=1.25.4,<3 for Python >=3.10)
  • kbcstorage does not import or use urllib3 directly — the pin is unnecessary
  • The constraint blocks downstream projects from resolving modern versions of urllib3 and related packages

Closes #91

The direct urllib3<2.0.0 constraint was added as a workaround for
boto/botocore#2926, which has since been resolved. Current botocore
manages its own urllib3 version constraints via Python version markers.

kbcstorage does not import or use urllib3 directly, so the pin is
unnecessary and blocks downstream projects from upgrading.

Closes keboola#91
@jirkasemmler

Copy link
Copy Markdown
Contributor

Thanks for the PR! The urllib3 pin removal itself looks good and we'll approve it.

However, the branch is currently in conflict with master — commit 1164636 added cryptography to pyproject.toml on the line right above the urllib3 pin. Please rebase onto current master and resolve the conflict (keep cryptography, drop the urllib3 line). Once that's done we'll approve and merge.

jirkasemmler added a commit that referenced this pull request Oct 8, 2026
Remove outdated urllib3<2.0.0 pin (rebase of #92)
@jirkasemmler

Copy link
Copy Markdown
Contributor

closing as it has been fixed in #97

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.

Remove outdated urllib3<2.0.0 constraint

2 participants