-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[py] New script to update Python dependencies #15845
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
[py] New script to update Python dependencies #15845
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
💥 What does this PR do?
This PR adds a new shell script (
./scripts/update_py_dependencies.sh
) that is used for keeping Python development dependencies up to date. It is not part of the build process, and should be run locally on occasion.When you run it, it will:
py/requirements.txt
pip freeze
to generate a newpy/requirements.txt
filebazel run //py:requirements.update
to generate a newpy/requirements_lock.txt
fileThis PR also contains updates to the package dependency versions.
🔄 Types of changes
PR Type
Enhancement
Description
Add script to automate Python dependency updates
Upgrade multiple Python package versions in requirements
Regenerate requirements lock file for updated dependencies
Update dependency versions in pyproject.toml and tox.ini
Changes walkthrough 📝
update_py_dependencies.sh
Add script to automate Python dependency updates
scripts/update_py_dependencies.sh
requirements and lock files
requirements.txt
Update Python dependency versions in requirements.txt
py/requirements.txt
requirements_lock.txt
Regenerate requirements_lock.txt for new dependency versions
py/requirements_lock.txt
pyproject.toml
Update dependency version in pyproject.toml
py/pyproject.toml
tox.ini
Update test dependency versions in tox.ini
py/tox.ini