Skip to content

Conversation

@jsjiang
Copy link
Contributor

@jsjiang jsjiang commented Dec 11, 2025

@sfisher Hi Scott,
Since urllib3 is imported in some scripts, I added urllib3 2.6.0 to pyproject.toml and updated the poetry.lock file. A testing tag v3.3.21_rc0 was created and deployed to ezid-stg. Functional and UI tests all look good.

Please review and let me know if you have questions.

Thank you

Jing

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades urllib3 from version 2.5.0 to 2.6.0, adding it as an explicit dependency in pyproject.toml. The urllib3 library is used in the opensearch-update management command for disabling SSL warnings when working with local development servers. The upgrade also includes automatic updates to several other dependencies (boto3, botocore, protobuf) in the lock file to maintain compatibility.

Key Changes

  • Added urllib3 2.6.0 as an explicit dependency in pyproject.toml
  • Updated poetry.lock with urllib3 2.6.0 and transitive dependency updates
  • Lock file regenerated with Poetry 1.8.5 (downgraded from 2.2.1)

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Added urllib3 2.6.0 as an explicit dependency
poetry.lock Updated lock file with urllib3 2.6.0 and transitive dependencies (boto3, botocore, protobuf); regenerated with Poetry 1.8.5

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

ecs-logging = "^2.2.0"
opensearch-dsl = "^2.1.0"
mysqlclient = "^2.2.7"
urllib3 = "2.6.0"
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

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

The urllib3 dependency uses an exact version pin (2.6.0) instead of a version constraint with caret (^) like all other dependencies in this file. This means the project will not receive patch or minor updates automatically. Consider using "^2.6.0" to allow compatible updates, which is consistent with the versioning pattern used for all other dependencies in this file.

Suggested change
urllib3 = "2.6.0"
urllib3 = "^2.6.0"

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, adding it as "^2.6.0" allows it to automatically be upgraded in the future with poetry update or something similar.

Copy link
Contributor

@sfisher sfisher left a comment

Choose a reason for hiding this comment

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

If you want to allow it update to the major version (with poetry update) you could add the ^.

Looks good to me, though.

ecs-logging = "^2.2.0"
opensearch-dsl = "^2.1.0"
mysqlclient = "^2.2.7"
urllib3 = "2.6.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, adding it as "^2.6.0" allows it to automatically be upgraded in the future with poetry update or something similar.

@jsjiang
Copy link
Contributor Author

jsjiang commented Dec 15, 2025

Use urllib3 = "2.6.0" for this release. Considering using "^2.6.0" in a future release if we feel comfortable with urllib3 updates.

@jsjiang jsjiang merged commit f7f161f into develop Dec 15, 2025
8 checks passed
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