-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The versions are hard-coded but also relaxed in some cases to allow dependencies to be resolved easier. The reason we hard-code version numbers is to ensure consistent formatting/linting and documentation building. Different Maya versions will require different Python versions and so will require different package versions. The "doc" and "dev" requirement files have been merged into a single file for each Maya version because keeping all the files up to date seemed like a bit of a nightmare, and doesn't seem to provide any extra details. Instead the different needs of the packages are named in the comments of the files. The versions (where given) in these files are known to work today (2024-09-16) with the Python versions expected. If the Python vesions change in the future, these version numbers may need to be changed.
- Loading branch information
1 parent
2a6f53f
commit 67bedad
Showing
32 changed files
with
134 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Python Package Requirement Files | ||
|
||
This directory is the home to "requirements.txt" files, which are used | ||
by Python's PIP package manager to install python packages. | ||
|
||
There are different files for different usages. The "github" | ||
requirement files are used by various GitHub actions, and are reduced | ||
to the minimum required dependencies, to improve speed of the GitHub | ||
actions. |
10 changes: 10 additions & 0 deletions
10
share/python_requirements/requirements-github-build-and-deploy-docs.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# .github/workflows/build_and_deploy_docs.yml | ||
# | ||
# Expects Python 3.7.x | ||
|
||
# Required packages for building documentation on GitHub. | ||
# | ||
# NOTE: No versions are specified to allow the package version resolver | ||
# to resolve correctly. | ||
Sphinx | ||
furo |
12 changes: 12 additions & 0 deletions
12
share/python_requirements/requirements-github-lint-code.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# .github/workflows/lint_code.yml | ||
# | ||
# Expects Python 3.7.x | ||
|
||
# Required packages for linting code on GitHub. | ||
# | ||
# NOTE: No versions are specified to allow the package version resolver | ||
# to resolve correctly. | ||
black | ||
pylint | ||
flake8 | ||
cpplint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Python Package Requirements. | ||
# | ||
# Expects Python 3.6.x | ||
|
||
# Tools needed for code linting and formatting. | ||
# | ||
# NOTE: No versions are explicitly to allow the PIP version resolver to find a match. | ||
black | ||
pylint | ||
flake8 | ||
cpplint | ||
|
||
# Tools needed for documentation building. | ||
# | ||
# NOTE: No versions are explicitly to allow the PIP version resolver to find a match. | ||
Sphinx | ||
furo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Python Package Requirements. | ||
# | ||
# Expects Python 3.6.x | ||
|
||
# Tools needed for code linting and formatting. | ||
black == 22.8.0 | ||
pylint == 2.13.9 | ||
flake8 == 5.0.4 | ||
cpplint == 1.6.1 | ||
|
||
# Tools needed for documentation building. | ||
Sphinx == 4.3.2 | ||
furo == 2022.4.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Python Package Requirements. | ||
# | ||
# Expects Python 3.6.x | ||
|
||
# Tools needed for code linting and formatting. | ||
black == 22.8.0 | ||
pylint == 2.13.9 | ||
flake8 == 5.0.4 | ||
cpplint == 1.6.1 | ||
|
||
# Tools needed for documentation building. | ||
Sphinx == 4.3.2 | ||
furo == 2022.4.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Python Package Requirements. | ||
# | ||
# Expects Python 3.6.x | ||
|
||
# Tools needed for code linting and formatting. | ||
black == 22.8.0 | ||
pylint == 2.13.9 | ||
flake8 == 5.0.4 | ||
cpplint == 1.6.1 | ||
|
||
# Tools needed for documentation building. | ||
Sphinx == 4.3.2 | ||
furo == 2022.4.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Python Package Requirements. | ||
# | ||
# Expects Python 3.6.x | ||
|
||
# Tools needed for code linting and formatting. | ||
black == 22.8.0 | ||
pylint == 2.13.9 | ||
flake8 == 5.0.4 | ||
cpplint == 1.6.1 | ||
|
||
# Tools needed for documentation building. | ||
Sphinx == 4.3.2 | ||
furo == 2022.4.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Python Package Requirements. | ||
# | ||
# Expects Python 3.9.x | ||
|
||
# Tools needed for code linting and formatting. | ||
black == 24.8.0 | ||
pylint == 3.2.7 | ||
flake8 == 7.1.1 | ||
cpplint == 1.6.1 | ||
ruff == 0.6.5 | ||
|
||
# Tools needed for documentation building. | ||
Sphinx == 7.4.7 | ||
furo == 2024.8.6 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.