├── .buildkite ├── check-line-endings.sh ├── install-repo.sh ├── pipeline.yml ├── run-bandit.sh ├── run-black.sh ├── run-isort.sh ├── run-package.sh ├── run-pytest.sh ├── validate-branch-age.sh └── validate-lockfile.sh ├── .flake8 ├── .github ├── CODEOWNERS ├── release-action-config.json └── workflows │ ├── docs.yml │ └── release.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── adr ├── 01-versioning.md ├── 02-release-flow.md └── README.md ├── docs ├── Makefile ├── coding-standard.rst ├── conf.py ├── index.rst └── make.bat ├── pdm-plugin-torch └── pdm_plugin_torch │ ├── __init__.py │ ├── config.py │ └── main.py ├── pdm.lock ├── pyproject.toml └── tests ├── __init__.py ├── conftest.py ├── fixtures └── cpu-only │ └── pyproject.toml └── test_lock.py /.buildkite/check-line-endings.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | cr="$(printf "\r")" 4 | 5 | any_matches=1 6 | 7 | grep --exclude-dir=".git" -Ilsr "${cr}$" . || any_matches=0 8 | 9 | 10 | if [[ $any_matches -gt 0 ]]; then 11 | buildkite-agent annotate --style "error" --context validate-changes "Repository contains CRLF line-endings. To avoid diff issues and cross-platform issues we require that all commits are done using a LF-style. 12 | 13 | If you're doing development on Windows, use \`git config --global core.autocrlf true\` to let Git fix this for you on commit." 14 | exit 1 15 | fi 16 | -------------------------------------------------------------------------------- /.buildkite/install-repo.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | echo --- Setting up google-cloud-sdk 4 | 5 | if [ -f '/gcloud/google-cloud-sdk/path.bash.inc' ]; then . '/gcloud/google-cloud-sdk/path.bash.inc'; fi 6 | gcloud config set account monorepo-ci@embark-builds.iam.gserviceaccount.com 7 | 8 | echo --- Installing dependencies 9 | 10 | eval "$(pyenv init --path)" 11 | eval "$(pyenv init -)" 12 | 13 | pyenv global ${PYTHON_VERSION:1:-1} 14 | pyenv rehash 15 | 16 | ${PDM_COMMAND:1:-1} install -d 17 | -------------------------------------------------------------------------------- /.buildkite/pipeline.yml: -------------------------------------------------------------------------------- 1 | plugin_base: &plugin_base 2 | service-account-name: monorepo-ci 3 | image: gcr.io/embark-shared/ml/ci-runner@sha256:dac3595ade7e3e92ed006f6c29f461b71bb3a6b0ade8d3afb88ba8e55b9601d6 4 | default-secret-name: buildkite-k8s-plugin 5 | always-pull: false 6 | use-agent-node-affinity: true 7 | mount-hostpath: /tmp/pdm-cache:/root/.cache/pdm 8 | 9 | agents: &agent 10 | cluster: builds-fi-2 11 | queue: monorepo-ci 12 | size: small 13 | 14 | tiny: &tiny 15 | agents: *agent 16 | plugins: 17 | - EmbarkStudios/k8s#1.2.10: 18 | << : *plugin_base 19 | resources-limit-cpu: 3 20 | resources-limit-memory: 10Gi 21 | 22 | agents: *agent 23 | 24 | small: &small 25 | agents: *agent 26 | plugins: 27 | - EmbarkStudios/k8s#1.2.10: 28 | << : *plugin_base 29 | resources-limit-cpu: 7 30 | resources-limit-memory: 20Gi 31 | 32 | env: 33 | PDM_COMMAND: pdm210 34 | PYTHON_VERSION: '3.9' 35 | 36 | steps: 37 | - group: ":passport_control: Validating PR" 38 | steps: 39 | - label: ":hourglass: Validating branch age" 40 | command: bash .buildkite/validate-branch-age.sh 41 | << : *tiny 42 | 43 | - label: ":straight_ruler: Checking line-endings" 44 | command: bash .buildkite/check-line-endings.sh 45 | << : *tiny 46 | 47 | - label: ":lock: Checking lockfile" 48 | command: bash .buildkite/validate-lockfile.sh 49 | << : *tiny 50 | 51 | - wait 52 | 53 | - group: ":vertical_traffic_light: Validating changes" 54 | steps: 55 | - label: ":python-black: Validate black" 56 | command: bash .buildkite/run-black.sh 57 | << : *tiny 58 | 59 | - label: ":isort: Validate isort" 60 | command: bash .buildkite/run-isort.sh 61 | << : *tiny 62 | 63 | - label: ":bandit: Validate bandit" 64 | command: bash .buildkite/run-bandit.sh 65 | << : *tiny 66 | 67 | - label: ":pytest: Run tests @ {{matrix}}" 68 | matrix: 69 | - "pdm26" 70 | - "pdm27" 71 | - "pdm29" 72 | - "pdm210" 73 | 74 | command: bash .buildkite/run-pytest.sh {{matrix}} 75 | << : *small 76 | 77 | - wait 78 | 79 | - label: ":package: Validate packaging" 80 | command: bash .buildkite/run-package.sh 81 | << : *tiny 82 | -------------------------------------------------------------------------------- /.buildkite/run-bandit.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | source .buildkite/install-repo.sh 4 | 5 | echo --- Running bandit 6 | 7 | EXIT_CODE=0 8 | ${PDM_COMMAND:1:-1} run bandit --r pdm-plugin-torch -ll > diff.txt || EXIT_CODE=$? 9 | 10 | if [ $EXIT_CODE -ne 0 ]; then 11 | cat << EOF | buildkite-agent annotate --style "error" --context "bandit" 12 | :warning: \`bandit\` found issues with your code. Please fix the below, and update your PR. 13 | 14 | \`\`\`diff 15 | $(cat diff.txt) 16 | \`\`\` 17 | 18 | EOF 19 | else 20 | buildkite-agent annotate "✅ \`bandit\` found no code issues." --style "success" --context "bandit" 21 | fi 22 | 23 | exit $EXIT_CODE 24 | -------------------------------------------------------------------------------- /.buildkite/run-black.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | source .buildkite/install-repo.sh 4 | 5 | echo --- Running black 6 | 7 | EXIT_CODE=0 8 | ${PDM_COMMAND:1:-1} run black --check --diff pdm-plugin-torch > diff.txt || EXIT_CODE=$? 9 | 10 | if [ $EXIT_CODE -ne 0 ]; then 11 | cat << EOF | buildkite-agent annotate --style "error" --context "black" 12 | :warning: Your code isn't formatted by \`black\`. Please fix the below diffs, or run \`pdm run black pdm-plugin-torch\` to automatically format it. 13 | 14 | \`\`\`diff 15 | $(cat diff.txt) 16 | \`\`\` 17 | 18 | EOF 19 | else 20 | buildkite-agent annotate "✅ Code formatted correctly " --style "success" --context "black" 21 | fi 22 | 23 | exit $EXIT_CODE 24 | -------------------------------------------------------------------------------- /.buildkite/run-isort.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | source .buildkite/install-repo.sh 4 | 5 | echo --- Running isort 6 | 7 | EXIT_CODE=0 8 | ${PDM_COMMAND:1:-1} run isort --check --diff pdm-plugin-torch tests > diff.txt || EXIT_CODE=$? 9 | cat diff.txt 10 | 11 | if [ $EXIT_CODE -ne 0 ]; then 12 | cat << EOF | buildkite-agent annotate --style "error" --context "isort" 13 | :warning: Your imports aren't sorted by \`isort\`. Please fix the below diffs, or run \`pdm run isort tests pdm-plugin-torch\` to automatically format it. 14 | 15 | \`\`\`diff 16 | $(cat diff.txt) 17 | \`\`\` 18 | EOF 19 | else 20 | buildkite-agent annotate "✅ Imports sorted correctly " --style "success" --context "isort" 21 | fi 22 | 23 | exit $EXIT_CODE 24 | -------------------------------------------------------------------------------- /.buildkite/run-package.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | source .buildkite/install-repo.sh 4 | 5 | echo --- Packaging plugin 6 | 7 | EXIT_CODE=0 8 | ${PDM_COMMAND:1:-1} build > errors.txt || EXIT_CODE=$? 9 | 10 | if [ $EXIT_CODE -ne 0 ]; then 11 | cat << EOF | buildkite-agent annotate --style "error" --context "package" 12 | :warning: Packaging failed. Please see below errors and correct any issues. You can try packaging locally with `pdm build`. 13 | 14 | \`\`\`shell 15 | $(cat errors.txt) 16 | \`\`\` 17 | 18 | EOF 19 | else 20 | buildkite-agent annotate "✅ Packaging succeeded." --style "success" --context "package" 21 | fi 22 | 23 | exit $EXIT_CODE 24 | -------------------------------------------------------------------------------- /.buildkite/run-pytest.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | source .buildkite/install-repo.sh 4 | 5 | echo --- Running pytest 6 | 7 | EXIT_CODE=0 8 | ($1 run pytest --color=yes tests --pdm-bin $1 | tee errors.txt) || EXIT_CODE=$? 9 | 10 | if [ $EXIT_CODE -ne 0 ]; then 11 | cat << EOF | buildkite-agent annotate --style "error" --context "pytest-$1" 12 | :warning: Tests failed. Please see below errors and correct any issues. You can run tests locally with \`pdm run pytest tests pdm-plugin-torch\`. 13 | 14 | \`\`\`term 15 | $(cat errors.txt) 16 | \`\`\` 17 | 18 | EOF 19 | else 20 | buildkite-agent annotate "✅ All tests passed for $1." --style "success" --context "pytest-$1" 21 | fi 22 | 23 | exit $EXIT_CODE 24 | -------------------------------------------------------------------------------- /.buildkite/validate-branch-age.sh: -------------------------------------------------------------------------------- 1 | merge_base=$(git merge-base -a HEAD origin/main) 2 | last_merge=$(git log -1 "$merge_base" --format="%at") 3 | last_main_commit=$(git log -1 origin/main --format="%at") 4 | time_since_merge=$(( last_main_commit - last_merge )) 5 | 6 | if [[ $time_since_merge -gt 604800 ]]; then 7 | buildkite-agent annotate --style "error" --context validate-changes "This branch is more than one week out of sync with main. Please rebase/merge main to unblock CI." 8 | exit 1 9 | fi 10 | -------------------------------------------------------------------------------- /.buildkite/validate-lockfile.sh: -------------------------------------------------------------------------------- 1 | set -eo pipefail 2 | 3 | EXIT_CODE=0 4 | ${PDM_COMMAND:1:-1} lock --check || EXIT_CODE=$? 5 | 6 | if [ $EXIT_CODE -ne 0 ]; then 7 | buildkite-agent annotate --style "error" --context "lockfile" ":lock: Failed validating lockfile. See logs for more info." 8 | exit 1 9 | fi 10 | 11 | GIT_STATUS=$(git status --porcelain --untracked-files=no -- pdm.lock) 12 | if [ -n "$GIT_STATUS" ] ; then 13 | lock_diff=$(git diff pdm.lock) 14 | cat << EOF | buildkite-agent annotate --style "error" --context "lockfile" 15 | :lock: Lockfile is outdated. Please run \`pdm lock --no-update\` and commit the result. 16 | 17 | \`\`\`diff 18 | $lock_diff 19 | \`\`\` 20 | EOF 21 | exit 1 22 | else 23 | buildkite-agent annotate --style "success" --context "lockfile" ":lock: Lockfile is up to date." 24 | fi 25 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 100 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Documentation for this file can be found on the GitHub website here: 2 | # https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners 3 | # 4 | * @tgolsson 5 | -------------------------------------------------------------------------------- /.github/release-action-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "categories": [ 3 | { 4 | "title": "## 🚀 Features", 5 | "labels": ["enhancement"] 6 | }, 7 | { 8 | "title": "## 🐛 Fixes", 9 | "labels": ["bug", "t: bug"] 10 | }, 11 | { 12 | "title": "## 🧪 Tests", 13 | "labels": ["test", "a: test"] 14 | }, 15 | { 16 | "title": "## 🧪 Development", 17 | "labels": ["a: ci", "documentation"] 18 | } 19 | ], 20 | "template": "Merged PRs since last release:\n\n${{CHANGELOG}}\n\n## Uncategorized:\n\n${{UNCATEGORIZED}}\n", 21 | "pr_template": "- ${{AUTHOR}}: ${{TITLE}} (#${{NUMBER}})" 22 | } 23 | -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- 1 | name: Deploy static content to Pages 2 | 3 | on: 4 | push: 5 | branches: ["main"] 6 | 7 | workflow_dispatch: 8 | 9 | permissions: 10 | contents: read 11 | pages: write 12 | id-token: write 13 | 14 | concurrency: 15 | group: "pages" 16 | cancel-in-progress: true 17 | 18 | jobs: 19 | deploy: 20 | environment: 21 | name: github-pages 22 | url: ${{ steps.deployment.outputs.page_url }} 23 | runs-on: ubuntu-latest 24 | steps: 25 | - name: Checkout 26 | uses: actions/checkout@v3 27 | - name: Setup Pages 28 | uses: actions/configure-pages@v2 29 | - uses: pdm-project/setup-pdm@v3 30 | name: Setup PDM 31 | with: 32 | python-version: 3.8 33 | architecture: x64 34 | version: 2.5.6 35 | prerelease: false 36 | enable-pep582: true 37 | cache: true 38 | cache-dependency-path: '**/pdm.lock' 39 | - name: Install dependencies 40 | run: pdm install -d -G ci 41 | - name: Build docs 42 | run: cd docs && make dirhtml 43 | - name: Upload artifact 44 | uses: actions/upload-pages-artifact@v1 45 | with: 46 | # Upload entire repository 47 | path: 'docs/_build/dirhtml' 48 | - name: Deploy to GitHub Pages 49 | id: deployment 50 | uses: actions/deploy-pages@v1 51 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release 2 | on: 3 | push: 4 | tags: 5 | - v* 6 | 7 | jobs: 8 | create-release: 9 | name: release 10 | runs-on: ubuntu-latest 11 | steps: 12 | - name: Checkout repository 13 | uses: actions/checkout@master 14 | 15 | - name: Fetch tags 16 | run: git fetch --prune --unshallow --tags 17 | 18 | - uses: pdm-project/setup-pdm@v3 19 | name: Setup PDM 20 | with: 21 | python-version: 3.8 22 | architecture: x64 23 | version: 2.10.1 24 | prerelease: true 25 | enable-pep582: true 26 | cache: true 27 | cache-dependency-path: '*.lock' # we have pdm.lock and torch.lock 28 | 29 | - name: Install dependencies 30 | run: pdm install -d -G ci 31 | 32 | - name: Build Packages 33 | run: pdm build 34 | 35 | - name: "Build Changelog" 36 | id: github_release 37 | uses: mikepenz/release-changelog-builder-action@v3.4.0 38 | env: 39 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 40 | with: 41 | configuration: ".github/release-action-config.json" 42 | toTag: ${{ github.ref }} 43 | 44 | - name: Release to GitHub 45 | uses: mikepenz/action-gh-release@v0.2.0-a03 46 | with: 47 | body: ${{ steps.github_release.outputs.changelog }} 48 | prerelease: false 49 | tag_name: ${{ github.ref }} 50 | name: "Release ${{ github.ref_name }}" 51 | files: | 52 | dist/* 53 | LICENSE-* 54 | 55 | - name: Publish Packages to PyPi 56 | env: 57 | PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_TOKEN }} 58 | 59 | run: pdm publish -r pypi -u __token__ 60 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous editor files 2 | .vscode 3 | .dir-locals.el 4 | 5 | # Output from Python and Python tools 6 | __pycache__/ 7 | *.egg-info 8 | .coverage 9 | 10 | # Files generated by the docs publishing systems 11 | docs/_build 12 | docs/generated 13 | docs/coverage.rst 14 | 15 | # Outputs from Emote and tests 16 | /.pdm.toml 17 | /dist/ 18 | /.buildkite/digest.txt 19 | /docs/adr/ 20 | /__pypackages__/ 21 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | ## [23.4.0] - 2023-11-14 9 | 10 | - Configuration is now expected at `tool.pdm.plugin.torch`. Note the missing `s`. This is to avoid collision with the upstream configuration key. 11 | 12 | ## [23.3.0] - 2023-11-14 13 | 14 | - Add support for PDM 2.9 and 2.10 15 | - On all versions where applicable, enforces `static-url`. 16 | - Removes support for PDM 2.8 as it has a show-stopper bug 17 | - Fixed a bug with `CPU` target that would sometimes include non-CPU-specific wheels. 18 | 19 | ## [23.2.0] - 2023-09-14 20 | 21 | - Drops support for PDM 2.3 and 2.4, adds support for PDM 2.6-2.8 22 | 23 | ## [23.1.1] - 2023-06-15 24 | 25 | - Fix a bug where 2.5.0 would crash with an assertion. 26 | 27 | ## [23.1.0] - 2023-04-19 28 | 29 | - Adds support for PDM 2.5.0 30 | 31 | ## [23.0.0] - 2023-03-01 32 | 33 | This is the initial release 34 | 35 | [Unreleased]: https://github.com/EmbarkStudios/pdm-plugin-torch/compare/23.3.0...HEAD 36 | [23.3.0]: https://github.com/EmbarkStudios/pdm-plugin-torch/compare/23.2.0...23.3.0 37 | [23.2.0]: https://github.com/EmbarkStudios/pdm-plugin-torch/compare/23.1.0...23.2.0 38 | [23.1.1]: https://github.com/EmbarkStudios/pdm-plugin-torch/compare/23.1.0...23.1.1 39 | [23.1.0]: https://github.com/EmbarkStudios/pdm-plugin-torch/compare/23.0.0...23.1.0 40 | [23.0.0]: https://github.com/EmbarkStudios/pdm-plugin-torch/releases/tag/23.0.0 41 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at opensource@embark-studios.com. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Embark Contributor Guidelines 2 | 3 | Welcome! This project is created by the team at [Embark Studios](https://embark.games). We're glad you're interested in contributing! We welcome contributions from people of all backgrounds who are interested in making great software with us. 4 | 5 | At Embark, we aspire to empower everyone to create interactive experiences. To do this, we're exploring and pushing the boundaries of new technologies, and sharing our learnings with the open source community. 6 | 7 | If you have ideas for collaboration, email us at opensource@embark-studios.com. 8 | 9 | We're also hiring full-time engineers to work with us in Stockholm! Check out our current job postings [here](https://www.embark-studios.com/jobs). 10 | 11 | ## Issues 12 | 13 | ### Feature Requests 14 | 15 | If you have ideas or how to improve our projects, you can suggest features by opening a GitHub issue. Make sure to include details about the feature or change, and describe any uses cases it would enable. 16 | 17 | Feature requests will be tagged as `enhancement` and their status will be updated in the comments of the issue. 18 | 19 | ### Bugs 20 | 21 | When reporting a bug or unexpected behaviour in a project, make sure your issue describes steps to reproduce the behaviour, including the platform you were using, what steps you took, and any error messages. 22 | 23 | Reproducible bugs will be tagged as `bug` and their status will be updated in the comments of the issue. 24 | 25 | ### Wontfix 26 | 27 | Issues will be closed and tagged as `wontfix` if we decide that we do not wish to implement it, usually due to being misaligned with the project vision or out of scope. We will comment on the issue with more detailed reasoning. 28 | 29 | ## Contribution Workflow 30 | 31 | ### Open Issues 32 | 33 | If you're ready to contribute, start by looking at our open issues tagged as [`help wanted`](../../issues?q=is%3Aopen+is%3Aissue+label%3A"help+wanted") or [`good first issue`](../../issues?q=is%3Aopen+is%3Aissue+label%3A"good+first+issue"). 34 | 35 | You can comment on the issue to let others know you're interested in working on it or to ask questions. 36 | 37 | ### Making Changes 38 | 39 | 1. Fork the repository. 40 | 41 | 2. Create a new feature branch. 42 | 43 | 3. Make your changes. Ensure that there are no build errors by running the project with your changes locally. 44 | 45 | 4. Open a pull request with a name and description of what you did. You can read more about working with pull requests on GitHub [here](https://help.github.com/en/articles/creating-a-pull-request-from-a-fork). 46 | 47 | 5. A maintainer will review your pull request and may ask you to make changes. 48 | 49 | ## Code Guidelines 50 | 51 | ### Rust 52 | 53 | You can read about our standards and recommendations for working with Rust [here](https://github.com/EmbarkStudios/rust-ecosystem/blob/main/guidelines.md). 54 | 55 | ### Python 56 | 57 | We recommend following [PEP8 conventions](https://www.python.org/dev/peps/pep-0008/) when working with Python modules. 58 | 59 | ### JavaScript & TypeScript 60 | 61 | We use [Prettier](https://prettier.io/) with the default settings to auto-format our JavaScript and TypeScript code. 62 | 63 | ## Licensing 64 | 65 | Unless otherwise specified, all Embark open source projects shall comply with the Rust standard licensing model (MIT + Apache 2.0) and are thereby licensed under a dual license, allowing licensees to choose either MIT OR Apache-2.0 at their option. 66 | 67 | ## Contributor Terms 68 | 69 | Thank you for your interest in Embark Studios’ open source project. By providing a contribution (new or modified code, other input, feedback or suggestions etc.) you agree to these Contributor Terms. 70 | 71 | You confirm that each of your contributions has been created by you and that you are the copyright owner. You also confirm that you have the right to provide the contribution to us and that you do it under the Rust dual licence model (MIT + Apache 2.0). 72 | 73 | If you want to contribute something that is not your original creation, you may submit it to Embark Studios separately from any contribution, including details of its source and of any license or other restriction (such as related patents, trademarks, agreements etc.) 74 | 75 | Please also note that our projects are released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md) to ensure that they are welcoming places for everyone to contribute. By participating in any Embark Studios open source project, you agree to keep to the Contributor Code of Conduct. 76 | -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2022 Embark Studios AB. 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Embark Studios AB. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | # `🔦 pdm-plugin-torch ` 10 | 11 | A utility tool for selecting torch backend and version. 12 | 13 | [![Embark](https://img.shields.io/badge/embark-open%20source-blueviolet.svg)](https://embark.dev) 14 | [![Embark](https://img.shields.io/badge/discord-ark-%237289da.svg?logo=discord)](https://discord.gg/dAuKfZS) 15 | [![Build status](https://badge.buildkite.com/968ac3c0bb075fb878f9f973ed91406c8b257b0f050c197542.svg?theme=github&branch=main)](https://buildkite.com/embark-studios/pdm-plugin-torch) 16 | [![Docs status](https://img.shields.io/badge/Docs-latest-brightgreen)](https://embarkstudios.github.io/pdm-plugin-torch/) 17 | [![pdm-managed](https://img.shields.io/badge/PDM-v2.8.0-blueviolet)](https://pdm.fming.dev) 18 | 19 |
20 | 21 | > **Warning** 22 | > This plugin is unmaintained, and broken due to breaking in upstream APIs. It will not be updated here. 23 | 24 | ## What it does 25 | 26 | Due to torch being published in many different variants with local versions to signify the underlying API, it is hard to integrate into a lockfile-based workflow. This is due to the local versions - `+cu111`, `+cpu`, and so on - being considered the "same" package, so you can't resolve two at the same time. 27 | 28 | This tool generate multiple lockfiles *only for torch* and allows you to use a pdm subcommand (`pdm torch`) to select the one you want. 29 | 30 | ### Configuration 31 | 32 | These are the supported options: 33 | 34 | ```toml 35 | [tool.pdm.plugin.torch] 36 | dependencies = [ 37 | "torch==1.10.2" 38 | ] 39 | lockfile = "torch.lock" 40 | enable-cpu = true 41 | 42 | enable-rocm = true 43 | rocm-versions = ["4.2"] 44 | 45 | enable-cuda = true 46 | cuda-versions = ["cu111", "cu113"] 47 | ``` 48 | 49 | ## Installation 50 | 51 | PDM supports specifying plugin-dependencies in your pyproject.toml, which is the suggested installation method. Note that in `pdm-plugin-torch` versions before 23.4.0, our configuration was in `tool.pdm.plugins.torch`. If upgrading, you'll need to also change that to `tool.pdm.plugin.torch`. 52 | 53 | ``` toml 54 | [tool.pdm] 55 | plugins = ["pdm-plugin-torch==$VERSION"] 56 | ``` 57 | 58 | ## Contribution 59 | 60 | [![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v1.4-ff69b4.svg)](../main/CODE_OF_CONDUCT.md) 61 | 62 | We welcome community contributions to this project. 63 | 64 | Please read our [Contributor Guide](CONTRIBUTING.md) for more information on how to get started. 65 | Please also read our [Contributor Terms](CONTRIBUTING.md#contributor-terms) before you make any contributions. 66 | 67 | Any contribution intentionally submitted for inclusion in an Embark Studios project, shall comply with the Rust standard licensing model (MIT OR Apache 2.0) and therefore be dual licensed as described below, without any additional terms or conditions: 68 | 69 | ### License 70 | 71 | This contribution is dual licensed under EITHER OF 72 | 73 | * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) 74 | * MIT license ([LICENSE-MIT](LICENSE-MIT) or ) 75 | 76 | at your option. 77 | 78 | For clarity, "your" refers to Embark or any other licensee/user of the contribution. 79 | -------------------------------------------------------------------------------- /adr/01-versioning.md: -------------------------------------------------------------------------------- 1 | # 1. Versioning 2 | 3 | Date: 2023-02-11 4 | 5 | ## Status 6 | 7 | Accepted 8 | 9 | ## Context 10 | 11 | We need to follow a [PEP440](https://peps.python.org/pep-0440/) compatible versioning scheme. This is required to allow 12 | other tools to resolve versions and compatibility properly. 13 | 14 | ## Decision 15 | 16 | We will follow a versioning on the pattern `YY.compatibility.patch`. 17 | 18 | ## Consequences 19 | 20 | * The YY is always set to the last two digits of the current year. When increasing this field the other two fields are 21 | reset to 0. 22 | * The compatibility field is increased whenever we make API-incompatible changes. 23 | * Otherwise, the patch field is increased. 24 | -------------------------------------------------------------------------------- /adr/02-release-flow.md: -------------------------------------------------------------------------------- 1 | # 2. Releases flow 2 | 3 | Date: 2023-02-11 4 | 5 | ## Status 6 | 7 | Accepted 8 | 9 | ## Context 10 | 11 | In order to publish packages with high quality to PyPi and as tagged releases we need to have a consistent workflow that 12 | is easy to follow and reproducible for all users. 13 | 14 | ## Decision 15 | 16 | We will use tagged releases on GitHub to publish to PyPi. These releases will follow the versioning scheme described in 17 | [01-versioning.md](01-versioning.md). 18 | 19 | ## Consequences 20 | 21 | The flow will be as follows: 22 | 23 | * Upon needing a release, create a PR: 24 | * Update `CHANGELOG.md` to ensure it contains all relevant changes. You can base this off of the nightly changelog. 25 | * Based on the above changes, set a new version in `pyproject.toml`. 26 | * Replace the heading in the changelog 27 | * Add diff labels at the bottom. 28 | 29 | * Pull the new main, and tag it with `git tag -a vNEW_VERSION COMMIT_HASH`. 30 | * Push the tag with `git push vNEW_VERSION` 31 | * Make a new PR that adds back the "Unreleased" heading in the changelog. 32 | -------------------------------------------------------------------------------- /adr/README.md: -------------------------------------------------------------------------------- 1 | # ADRs 2 | 3 | For core decisions we use `Architecture Decision Records`. They are a type of RFC but smaller in scope and more 4 | exact in the decision. The goal of adding an ADR is to summarize a discussion or fact-gathering effort. An RFC is the 5 | start of a discussion and may occur before in-depth fact-finding occurs. 6 | 7 | On the other hand, not every decision is an ADR. ADRs have to be significant. Things like naming, local APIs, or code 8 | structure rarely match this criteria. These may be better as open discussions or RFCs, which may not lead to an easily 9 | summarized conclusion. Instead, reach for an ADR when you can summarize the decision in a few sentences, at most. A good 10 | ADR should fit on the format "When doing ..., we do ... because of ...". 11 | 12 | ```{admonition} [Significance criteria](https://engineering.atspotify.com/2020/04/when-should-i-write-an-architecture-decision-record/) 13 | An ADR should be written whenever a decision of significant impact is made; it is up to each team to align on what defines a significant impact. 14 | ``` 15 | 16 | ## ADR Process 17 | 18 | The ADR process is meant to be very fast, with few fixed steps. 19 | 20 | 1. Identify need for a decision 21 | 2. Write an ADR using the below template 22 | 3. Open a PR 23 | 4. Once PR is accepted and merged, implement the decision. 24 | 25 | ### Template 26 | 27 | ``` 28 | # SEQUENCE_NUMBER. TITLE 29 | 30 | Date: DATE WHEN PROPOSED 31 | 32 | ## Status 33 | 34 | 35 | Accepted 36 | 37 | ## Context 38 | 39 | Describe when this decision would be relevant and why. 40 | 41 | ## Decision 42 | 43 | An exact decision of what we will do when the context applies.. 44 | 45 | ## Consequences 46 | 47 | The end result of applying the decision. 48 | ``` 49 | 50 | ## Accepted ADRs 51 | ```{toctree} 52 | --- 53 | glob: true 54 | maxdepth: 1 55 | --- 56 | * 57 | ``` 58 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line, and also 5 | # from the environment for the first two. 6 | SPHINXOPTS ?= 7 | SPHINXBUILD ?= pdm run sphinx-build 8 | SOURCEDIR = . 9 | BUILDDIR = _build 10 | 11 | # Put it first so that "make" without argument is like "make help". 12 | help: 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 14 | 15 | .PHONY: help Makefile 16 | 17 | # Catch-all target: route all unknown targets to Sphinx using the new 18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 19 | %: Makefile 20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 21 | -------------------------------------------------------------------------------- /docs/coding-standard.rst: -------------------------------------------------------------------------------- 1 | 📄 Coding standard 2 | ================== 3 | 4 | We strive to maintain a consistent style, both visually and 5 | implementation-wise. In order to achieve this we rely on tools to 6 | check and validate our code as we work, and we require that all those 7 | tools are used for CI to pass. 8 | 9 | To have a smooth developer experience, we suggest you integrate these 10 | with your editor. We'll provide some example configurations below; and 11 | we welcome contributions to these pages. However, we strive to avoid 12 | *committing* editor configurations to the repository, as that'll more 13 | easily lead to mismatch between different editors - the description 14 | below is authoritative, not any specific editor configuration. 15 | 16 | We also require that all commits are made using LF-only line 17 | endings. Windows users will need to configure using the below command, 18 | or set up their editor appropriately. This helps keep our code 19 | platform-generic, and reduces risk for spurious diffs or tools 20 | misbehaving. :: 21 | 22 | $ git config --global core.autocrlf true 23 | 24 | Tools 25 | ----- 26 | 27 | black 28 | ^^^^^ 29 | 30 | `Black `_ is an auto-formatter for Python, 31 | which mostly matches the PEP8 rules. We use black because it doesn't 32 | support a lot of configuration, and will format for you - instead of 33 | just complaining. We do allow overrides to these styles, nor do we 34 | allow disabling of formatting anywhere. 35 | 36 | To run black manually, you can use the command: :: 37 | 38 | pdm run black pdm-plugin-torch tests 39 | 40 | Which will format all code in those directories. 41 | 42 | isort 43 | ^^^^^ 44 | 45 | `isort `_ is another formatting tool, 46 | but deals only with sorting imports. Isort is configured to be 47 | consistent with Black from within `pyproject.toml`. 48 | 49 | To run isort manually, you can use the command: :: 50 | 51 | pdm run isort pdm-plugin-torch tests 52 | 53 | 54 | Example configurations 55 | ---------------------- 56 | 57 | emacs 58 | ^^^^^ 59 | 60 | .. code-block:: lisp 61 | 62 | (use-package python-black 63 | :demand t 64 | :after python 65 | :hook (python-mode . python-black-on-save-mode-enable-dwim)) 66 | 67 | (use-package python-isort 68 | :demand t 69 | :after python 70 | :hook (python-mode . python-isort-on-save-mode)) 71 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- 1 | # Configuration file for the Sphinx documentation builder. 2 | # 3 | # This file only contains a selection of the most common options. For a full 4 | # list see the documentation: 5 | # https://www.sphinx-doc.org/en/master/usage/configuration.html 6 | 7 | # -- Path setup -------------------------------------------------------------- 8 | 9 | # If extensions (or modules to document with autodoc) are in another directory, 10 | # add these directories to sys.path here. If the directory is relative to the 11 | # documentation root, use os.path.abspath to make it absolute, like shown here. 12 | # 13 | import os 14 | import shutil 15 | import sys 16 | 17 | 18 | sys.path.insert(0, os.path.abspath("..")) 19 | 20 | # -- Project information ----------------------------------------------------- 21 | 22 | project = "pdm-plugin-torch" 23 | copyright = "2023, Embark Studios" 24 | author = "Embark Studios" 25 | 26 | # The full version, including alpha/beta/rc tags 27 | release = "0.1.2" 28 | 29 | 30 | # -- General configuration --------------------------------------------------- 31 | 32 | # Add any Sphinx extension module names here, as strings. They can be 33 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 34 | # ones. 35 | extensions = [ 36 | "sphinx.ext.autosummary", 37 | "sphinx.ext.autodoc", 38 | "sphinx.ext.coverage", 39 | "sphinx.ext.graphviz", 40 | "sphinx_autodoc_typehints", 41 | "myst_parser", 42 | ] 43 | 44 | myst_enable_extensions = ["colon_fence"] 45 | source_suffix = [".rst", ".md"] 46 | # autodoc_mock_imports = ["dataclasses"] 47 | 48 | # Add any paths that contain templates here, relative to this directory. 49 | templates_path = ["_templates"] 50 | 51 | # List of patterns, relative to source directory, that match files and 52 | # directories to ignore when looking for source files. 53 | # This pattern also affects html_static_path and html_extra_path. 54 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] 55 | 56 | add_module_names = False 57 | 58 | # -- Options for HTML output ------------------------------------------------- 59 | 60 | # The theme to use for HTML and HTML Help pages. See the documentation for 61 | # a list of builtin themes. 62 | # 63 | html_theme = "sphinx_rtd_theme" 64 | 65 | # Add any paths that contain custom static files (such as style sheets) here, 66 | # relative to this directory. They are copied after the builtin static files, 67 | # so a file named "default.css" will overwrite the builtin "default.css". 68 | html_static_path = ["_static"] 69 | 70 | shutil.rmtree("./adr", True) 71 | shutil.copytree("../adr", "./adr", dirs_exist_ok=True) 72 | -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | =================== 2 | 🔦 pdm-plugin-torch 3 | =================== 4 | 5 | A utility tool for selecting torch backend and version through PDM. 6 | 7 | Development 8 | ============ 9 | 10 | Install `PDM `_ following the instructions on the 11 | PDM site. Then install the package using :: 12 | 13 | pdm install -d 14 | 15 | 16 | Motivation 17 | ==================== 18 | 19 | 20 | Pytorch supports multiple variants of hardware and compute 21 | backends. Due to how Python versioning works and how Pytorch publishes 22 | their packages; it is impossible to use all of these as dependencies, 23 | optional or not. We still wanted to make it easy and quick to install 24 | this package, and develop it. 25 | 26 | This package plugins in to PDM to add support for managing multiple 27 | torch versions as separate lockfiles. These are currently resolved 28 | independently of your main dependencies, so we suggest keeping a torch 29 | version in an optional dependency to ensure shared transitive 30 | dependencies are locked. 31 | 32 | Usage 33 | ===== 34 | 35 | PDM supports specifying plugin-dependencies in your pyproject.toml, which is the suggested installation method. Note that in `pdm-plugin-torch` versions before 23.4.0, our configuration was in `tool.pdm.plugins.torch`. If upgrading, you'll need to also change that to `tool.pdm.plugin.torch`. 36 | 37 | 38 | .. code-block:: 39 | 40 | [tool.pdm] 41 | plugins = ["pdm-plugin-torch>=$VERSION"] 42 | 43 | It is also suggested to use a `post_lock` hook to update the lockfile when a regular lock is made: 44 | 45 | .. code-block:: 46 | 47 | [tool.pdm.scripts] 48 | post_lock = "pdm torch lock" 49 | 50 | 51 | Configuration 52 | ============= 53 | 54 | These are the supported options: 55 | 56 | .. code-block:: 57 | 58 | [tool.pdm.plugin.torch] 59 | dependencies = [ 60 | "torch==1.10.2" 61 | ] 62 | lockfile = "torch.lock" 63 | enable-cpu = true 64 | 65 | enable-rocm = true 66 | rocm-versions = ["4.2"] 67 | 68 | enable-cuda = true 69 | cuda-versions = ["cu111", "cu113"] 70 | 71 | 72 | 73 | .. toctree:: 74 | :maxdepth: 2 75 | :caption: Introduction 76 | :hidden: 77 | 78 | self 79 | coding-standard 80 | 81 | .. toctree:: 82 | :caption: Extras 83 | :hidden: 84 | :glob: 85 | 86 | Architecture Desicision Records 87 | 88 | .. 89 | .. include:: adr/README.md 90 | :parser: myst_parser.sphinx_ 91 | 92 | * :ref:`genindex` 93 | * :ref:`modindex` 94 | * :ref:`search` 95 | -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | pushd %~dp0 4 | 5 | REM Command file for Sphinx documentation 6 | 7 | if "%SPHINXBUILD%" == "" ( 8 | set SPHINXBUILD=sphinx-build 9 | ) 10 | set SOURCEDIR=. 11 | set BUILDDIR=_build 12 | 13 | if "%1" == "" goto help 14 | 15 | %SPHINXBUILD% >NUL 2>NUL 16 | if errorlevel 9009 ( 17 | echo. 18 | echo.The 'sphinx-build' command was not found. Make sure you have Sphinx 19 | echo.installed, then set the SPHINXBUILD environment variable to point 20 | echo.to the full path of the 'sphinx-build' executable. Alternatively you 21 | echo.may add the Sphinx directory to PATH. 22 | echo. 23 | echo.If you don't have Sphinx installed, grab it from 24 | echo.https://www.sphinx-doc.org/ 25 | exit /b 1 26 | ) 27 | 28 | %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 29 | goto end 30 | 31 | :help 32 | %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 33 | 34 | :end 35 | popd 36 | -------------------------------------------------------------------------------- /pdm-plugin-torch/pdm_plugin_torch/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | 3 | """ 4 | -------------------------------------------------------------------------------- /pdm-plugin-torch/pdm_plugin_torch/config.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | from dataclasses import dataclass, field 4 | 5 | 6 | @dataclass(frozen=True) 7 | class Configuration: 8 | dependencies: list[str] 9 | enable_cpu: bool = False 10 | 11 | enable_cuda: bool = False 12 | cuda_versions: list[str] = field(default_factory=list) 13 | 14 | enable_rocm: bool = False 15 | rocm_versions: list[str] = field(default_factory=list) 16 | 17 | lockfile: str = "torch.lock" 18 | 19 | def from_toml(data: dict[str, str | list[str] | bool]) -> "Configuration": 20 | fixed_dashes = {k.replace("-", "_"): v for (k, v) in data.items()} 21 | 22 | return Configuration(**fixed_dashes) 23 | 24 | @property 25 | def variants(self): 26 | resolves = {} 27 | 28 | if self.enable_cuda: 29 | for cuda_version in self.cuda_versions: 30 | resolves[cuda_version] = ( 31 | f"https://download.pytorch.org/whl/{cuda_version}/", 32 | f"+{cuda_version}", 33 | ) 34 | 35 | if self.enable_rocm: 36 | for rocm_version in self.rocm_versions: 37 | resolves[f"rocm{rocm_version}"] = ( 38 | "https://download.pytorch.org/whl/", 39 | f"+rocm{rocm_version}", 40 | ) 41 | 42 | if self.enable_cpu: 43 | resolves["cpu"] = ("https://download.pytorch.org/whl/cpu", "+cpu") 44 | 45 | return resolves 46 | -------------------------------------------------------------------------------- /pdm-plugin-torch/pdm_plugin_torch/main.py: -------------------------------------------------------------------------------- 1 | from __future__ import annotations 2 | 3 | import sys 4 | 5 | from typing import Iterable 6 | 7 | import tomlkit 8 | 9 | from pdm import __version__, termui 10 | from pdm._types import RepositoryConfig 11 | from pdm.cli.commands.base import BaseCommand 12 | from pdm.cli.utils import fetch_hashes, format_lockfile, format_resolution_impossible 13 | from pdm.core import Core 14 | from pdm.models.candidates import Candidate 15 | from pdm.models.repositories import BaseRepository, LockedRepository 16 | from pdm.models.requirements import Requirement, parse_requirement 17 | from pdm.models.specifiers import PySpecSet, get_specifier 18 | from pdm.project import Project 19 | from pdm.resolver import resolve 20 | from pdm.resolver.providers import BaseProvider 21 | from pdm.termui import Verbosity 22 | from pdm.utils import atomic_open_for_write, expand_env_vars_in_auth 23 | from resolvelib.reporters import BaseReporter 24 | from resolvelib.resolvers import ResolutionImpossible, ResolutionTooDeep, Resolver 25 | 26 | from pdm_plugin_torch.config import Configuration 27 | 28 | 29 | is_pdm210 = PySpecSet(">=2.10").contains(__version__.__version__) 30 | is_pdm29 = PySpecSet(">=2.9").contains(__version__.__version__) 31 | is_pdm28 = PySpecSet(">=2.8").contains(__version__.__version__) 32 | 33 | 34 | def sources(project: Project, sources: list) -> list[RepositoryConfig]: 35 | result: dict[str, RepositoryConfig] = {} 36 | for source in project.pyproject.settings.get("source", []): 37 | result[source["name"]] = RepositoryConfig(**source, config_prefix="pypi") 38 | 39 | for source in sources: 40 | result[source["name"]] = RepositoryConfig(**source, config_prefix="torch") 41 | 42 | def merge_sources(other_sources: Iterable[tuple[str, RepositoryConfig]]) -> None: 43 | for name, source in other_sources: 44 | source.name = name 45 | if name in result: 46 | result[name].passive_update(source) 47 | else: 48 | result[name] = source 49 | 50 | if not project.config.get("pypi.ignore_stored_index", False): 51 | if "pypi" not in result: # put pypi source at the beginning 52 | result = {"pypi": project.default_source, **result} 53 | else: 54 | result["pypi"].passive_update(project.default_source) 55 | merge_sources(project.project_config.iter_sources()) 56 | merge_sources(project.global_config.iter_sources()) 57 | 58 | for source in result.values(): 59 | assert source.url, "Source URL must not be empty" 60 | source.url = expand_env_vars_in_auth(source.url) 61 | 62 | return list(result.values()) 63 | 64 | 65 | def get_provider( 66 | project: Project, 67 | raw_sources: list, 68 | strategy: str = "all", 69 | for_install: bool = False, 70 | lockfile: dict = None, 71 | tracked_names: Iterable[str] | None = None, 72 | allow_prereleases: bool = False, 73 | ) -> BaseProvider: 74 | """Build a provider class for resolver. 75 | :param strategy: the resolve strategy 76 | :param tracked_names: the names of packages that needs to update 77 | :param for_install: if the provider is for install 78 | :returns: The provider object 79 | """ 80 | from pdm.models.requirements import strip_extras 81 | from pdm.resolver.providers import ( 82 | BaseProvider, 83 | EagerUpdateProvider, 84 | ReusePinProvider, 85 | ) 86 | from pdm.utils import normalize_name 87 | 88 | repository = get_repository( 89 | project, raw_sources, for_install=for_install, lockfile=lockfile 90 | ) 91 | 92 | overrides = { 93 | normalize_name(k): v for k, v in project.pyproject.resolution_overrides.items() 94 | } 95 | 96 | locked_repository: LockedRepository | None = None 97 | if strategy != "all" or for_install: 98 | try: 99 | locked_repository = LockedRepository(lockfile, sources, project.environment) 100 | except Exception: 101 | if for_install: 102 | raise 103 | project.core.ui.echo( 104 | "Unable to reuse the lock file as it is not compatible with PDM", 105 | style="warning", 106 | err=True, 107 | ) 108 | 109 | if locked_repository is None: 110 | return BaseProvider(repository, allow_prereleases, overrides) 111 | 112 | if for_install: 113 | return BaseProvider(locked_repository, allow_prereleases, overrides) 114 | 115 | provider_class = ReusePinProvider if strategy == "reuse" else EagerUpdateProvider 116 | tracked_names = [strip_extras(name)[0] for name in tracked_names or ()] 117 | 118 | return provider_class( 119 | locked_repository.all_candidates, 120 | tracked_names, 121 | repository, 122 | allow_prereleases, 123 | overrides, 124 | ) 125 | 126 | 127 | def get_repository( 128 | project: Project, 129 | raw_sources: list, 130 | cls: type[BaseRepository] | None = None, 131 | for_install: bool = False, 132 | lockfile: dict = None, 133 | ) -> BaseRepository: 134 | """Get the repository object""" 135 | if cls is None: 136 | cls = project.core.repository_class 137 | 138 | fixed_sources = sources(project, raw_sources) 139 | return cls( 140 | fixed_sources, 141 | project.environment, 142 | ) 143 | 144 | 145 | def do_lock( 146 | project: Project, 147 | raw_sources: list, 148 | strategy: str = "all", 149 | requirements: list[Requirement] | None = None, 150 | ) -> dict[str, Candidate]: 151 | """Performs the locking process and update lockfile.""" 152 | 153 | provider = get_provider(project, raw_sources, strategy) 154 | resolve_max_rounds = int(project.config["strategy.resolve_max_rounds"]) 155 | ui = project.core.ui 156 | with ui.logging("lock"): 157 | # The context managers are nested to ensure the spinner is stopped before 158 | # any message is thrown to the output. 159 | try: 160 | with ui.open_spinner(title="Resolving dependencies") as spin: 161 | reporter = project.get_reporter(requirements, None, spin) 162 | resolver: Resolver = project.core.resolver_class(provider, reporter) 163 | mapping, dependencies = resolve( 164 | resolver, 165 | requirements, 166 | project.environment.python_requires, 167 | resolve_max_rounds, 168 | ) 169 | 170 | spin.update("Fetching hashes for resolved packages...") 171 | fetch_hashes(provider.repository, mapping) 172 | 173 | except ResolutionTooDeep: 174 | ui.echo(f"{termui.Emoji.LOCK} Lock failed", err=True) 175 | ui.echo( 176 | "The dependency resolution exceeds the maximum loop depth of " 177 | f"{resolve_max_rounds}, there may be some circular dependencies " 178 | "in your project. Try to solve them or increase the " 179 | f"[green]`strategy.resolve_max_rounds`[/] config.", 180 | err=True, 181 | ) 182 | raise 183 | except ResolutionImpossible as err: 184 | ui.echo(f"{termui.Emoji.LOCK} Lock failed", err=True) 185 | ui.echo(format_resolution_impossible(err), err=True) 186 | raise ResolutionImpossible("Unable to find a resolution") from None 187 | else: 188 | if is_pdm210: 189 | from pdm.project.lockfile import FLAG_STATIC_URLS 190 | 191 | data = format_lockfile( 192 | project, 193 | mapping, 194 | dependencies, 195 | groups=[], 196 | strategy={FLAG_STATIC_URLS}, 197 | ) 198 | 199 | elif is_pdm29: 200 | data = format_lockfile(project, mapping, dependencies, static_urls=True) 201 | 202 | elif is_pdm28: 203 | data = format_lockfile(project, mapping, dependencies, static_urls=True) 204 | 205 | else: 206 | data = format_lockfile(project, mapping, dependencies) 207 | 208 | ui.echo(f"{termui.Emoji.LOCK} Lock successful") 209 | return data 210 | 211 | 212 | def write_lockfile( 213 | project: Project, lock_name: str, toml_data: dict, show_message: bool = True 214 | ) -> None: 215 | toml_data["metadata"] = project.get_lock_metadata() 216 | lockfile_file = project.root / lock_name 217 | 218 | with atomic_open_for_write(lockfile_file) as fp: 219 | tomlkit.dump(toml_data, fp) # type: ignore 220 | if show_message: 221 | project.core.ui.echo(f"Torch locks are written to [success]{lockfile_file}[/].") 222 | 223 | 224 | def resolve_candidates_from_lockfile( 225 | project: Project, 226 | requirements: Iterable[Requirement], 227 | raw_sources, 228 | lockfile: dict, 229 | ) -> dict[str, Candidate]: 230 | ui = project.core.ui 231 | resolve_max_rounds = int(project.config["strategy.resolve_max_rounds"]) 232 | reqs = [ 233 | req 234 | for req in requirements 235 | if not req.marker or req.marker.evaluate(project.environment.marker_environment) 236 | ] 237 | with ui.logging("install-resolve"): 238 | with ui.open_spinner("Resolving packages from lockfile...") as spinner: 239 | reporter = BaseReporter() 240 | provider = get_provider( 241 | project, raw_sources, for_install=True, lockfile=lockfile 242 | ) 243 | resolver: Resolver = project.core.resolver_class(provider, reporter) 244 | mapping, *_ = resolve( 245 | resolver, 246 | reqs, 247 | project.environment.python_requires, 248 | resolve_max_rounds, 249 | ) 250 | spinner.update("Fetching hashes for resolved packages...") 251 | fetch_hashes(provider.repository, mapping) 252 | 253 | return mapping 254 | 255 | 256 | def do_sync( 257 | project: Project, 258 | *, 259 | raw_sources: list, 260 | requirements: list[Requirement] | None = None, 261 | lockfile: dict, 262 | ) -> None: 263 | """Synchronize project""" 264 | 265 | candidates = resolve_candidates_from_lockfile( 266 | project, requirements, raw_sources, lockfile 267 | ) 268 | 269 | handler = project.core.synchronizer_class( 270 | candidates, 271 | project.environment, 272 | clean=False, 273 | dry_run=False, 274 | no_editable=True, 275 | install_self=False, 276 | reinstall=False, 277 | only_keep=False, 278 | fail_fast=True, 279 | ) 280 | 281 | with project.core.ui.logging("install"): 282 | handler.synchronize() 283 | 284 | 285 | def read_lockfile(project: Project, lock_name: str) -> None: 286 | lockfile_file = project.root / lock_name 287 | 288 | data = tomlkit.parse(lockfile_file.read_text("utf-8")) 289 | return data 290 | 291 | 292 | def is_lockfile_compatible(project: Project, lock_name: str) -> bool: 293 | lockfile_file = project.root / lock_name 294 | if not lockfile_file.exists(): 295 | return True 296 | 297 | lockfile = read_lockfile(project, lock_name) 298 | lockfile_version = str(lockfile.get("metadata", {}).get("lock_version", "")) 299 | if not lockfile_version: 300 | return False 301 | 302 | if "." not in lockfile_version: 303 | lockfile_version += ".0" 304 | 305 | accepted = get_specifier(f"~={lockfile_version}") 306 | return accepted.contains(project.lockfile.spec_version) 307 | 308 | 309 | def is_lockfile_hash_match(project: Project, lock_name: str) -> bool: 310 | lockfile_file = project.root / lock_name 311 | if not lockfile_file.exists(): 312 | return False 313 | 314 | lockfile = read_lockfile(project, lock_name) 315 | hash_in_lockfile = str(lockfile.get("metadata", {}).get("content_hash", "")) 316 | if not hash_in_lockfile: 317 | return False 318 | 319 | algo, hash_value = hash_in_lockfile.split(":") 320 | content_hash = project.pyproject.content_hash(algo) 321 | 322 | return content_hash == hash_value 323 | 324 | 325 | def check_lockfile(project: Project, lock_name: str) -> str | None: 326 | """Check if the lock file exists and is up to date. Return the update strategy.""" 327 | lockfile_file = project.root / lock_name 328 | if not lockfile_file.exists(): 329 | project.core.ui.echo("Lock file does not exist", style="warning", err=True) 330 | return False 331 | elif not is_lockfile_compatible(project, lock_name): 332 | project.core.ui.echo( 333 | "Lock file version is not compatible with PDM, installation may fail", 334 | style="yellow", 335 | err=True, 336 | ) 337 | return False 338 | elif not is_lockfile_hash_match(project, lockfile_file): 339 | project.core.ui.echo( 340 | "Lock file hash doesn't match pyproject.toml, packages may be outdated", 341 | style="yellow", 342 | err=True, 343 | ) 344 | return False 345 | return True 346 | 347 | 348 | def get_settings(project: Project): 349 | return project.pyproject.settings["plugin"]["torch"] 350 | 351 | 352 | class InstallCommand(BaseCommand): 353 | name = "install" 354 | description = "Install torch packages from lockfile" 355 | 356 | def add_arguments(self, parser): 357 | parser.add_argument("api", help="the api to use, e.g. cuda version or rocm") 358 | 359 | def handle(self, project: Project, options: dict): 360 | plugin_config = Configuration.from_toml(get_settings(project)) 361 | 362 | resolves = plugin_config.variants 363 | if options.api not in resolves: 364 | raise ValueError( 365 | f"unknown API {options.api}, expected one of {[v for v in resolves]}" 366 | ) 367 | 368 | lockfile = read_lockfile(project, plugin_config.lockfile) 369 | 370 | spec_for_version = lockfile[options.api] 371 | 372 | (source, local_version) = resolves[options.api] 373 | 374 | if is_pdm210: 375 | from pdm.project.lockfile import FLAG_STATIC_URLS 376 | 377 | class OverrideLockfile: 378 | def __init__(self, lockfile): 379 | self._lockfile = lockfile 380 | 381 | @property 382 | def strategy(self): 383 | strategies = self._lockfile.strategy 384 | strategies.add(FLAG_STATIC_URLS) 385 | 386 | return strategies 387 | 388 | def __getattr__(self, name): 389 | return getattr(self._lockfile, name) 390 | 391 | original_lockfile = project.lockfile 392 | 393 | project._lockfile = OverrideLockfile(original_lockfile) 394 | 395 | reqs = [ 396 | parse_requirement(f"{req}{local_version}", False) 397 | for req in plugin_config.dependencies 398 | ] 399 | 400 | do_sync( 401 | project, 402 | raw_sources=[ 403 | { 404 | "name": "torch", 405 | "url": source, 406 | "type": "index", 407 | "verify_ssl": True, 408 | } 409 | ], 410 | requirements=reqs, 411 | lockfile=spec_for_version, 412 | ) 413 | 414 | if is_pdm210: 415 | project._lockfile = original_lockfile 416 | 417 | 418 | class LockCommand(BaseCommand): 419 | name = "lock" 420 | description = "Lock Torch and its dependencies to a specific version" 421 | 422 | def add_arguments(self, parser): 423 | parser.add_argument( 424 | "--check", 425 | help="validate that the lockfile is up to date", 426 | action="store_true", 427 | ) 428 | 429 | def handle(self, project: Project, options: dict): 430 | plugin_config = Configuration.from_toml(get_settings(project)) 431 | 432 | if options.check: 433 | is_updated = check_lockfile(project, plugin_config.lockfile) 434 | if not is_updated: 435 | project.core.ui.echo( 436 | "Lockfile is [error]out of date[/].", 437 | err=True, 438 | verbosity=Verbosity.DETAIL, 439 | ) 440 | sys.exit(1) 441 | else: 442 | project.core.ui.echo( 443 | "Lockfile is [success]up to date[/].", 444 | err=True, 445 | verbosity=Verbosity.DETAIL, 446 | ) 447 | sys.exit(0) 448 | 449 | results = {} 450 | for api, (url, local_version) in plugin_config.variants.items(): 451 | reqs = [ 452 | parse_requirement(f"{req}{local_version}", False) 453 | for req in plugin_config.dependencies 454 | ] 455 | 456 | results[api] = do_lock( 457 | project, 458 | [ 459 | { 460 | "name": "torch", 461 | "url": url, 462 | "type": "index", 463 | "verify_ssl": True, 464 | } 465 | ], 466 | requirements=reqs, 467 | ) 468 | 469 | write_lockfile(project, plugin_config.lockfile, results) 470 | 471 | 472 | class TorchCommand(BaseCommand): 473 | """Generate a lockfile for torch specifically.""" 474 | 475 | name = "torch" 476 | description = "Manage torch dependencies" 477 | 478 | def add_arguments(self, parser): 479 | subparsers = parser.add_subparsers( 480 | title="Sub commands", help="sub-command help", dest="command" 481 | ) 482 | 483 | LockCommand.register_to(subparsers) 484 | InstallCommand.register_to(subparsers) 485 | 486 | self.parser = parser 487 | 488 | def handle(self, project: Project, options) -> None: 489 | self.parser.print_help() 490 | 491 | 492 | def torch_plugin(core: Core): 493 | if is_pdm28 and not is_pdm29: 494 | raise RuntimeError( 495 | "pdm 2.8.* is not supported due to not https://github.com/pdm-project/pdm/issues/2151" 496 | ) 497 | core.register_command(TorchCommand, "torch") 498 | -------------------------------------------------------------------------------- /pdm.lock: -------------------------------------------------------------------------------- 1 | # This file is @generated by PDM. 2 | # It is not intended for manual editing. 3 | 4 | [[package]] 5 | name = "alabaster" 6 | version = "0.7.13" 7 | requires_python = ">=3.6" 8 | summary = "A configurable sidebar-enabled Sphinx theme" 9 | 10 | [[package]] 11 | name = "babel" 12 | version = "2.12.1" 13 | requires_python = ">=3.7" 14 | summary = "Internationalization utilities" 15 | dependencies = [ 16 | "pytz>=2015.7; python_version < \"3.9\"", 17 | ] 18 | 19 | [[package]] 20 | name = "bandit" 21 | version = "1.7.5" 22 | requires_python = ">=3.7" 23 | summary = "Security oriented static analyser for python code." 24 | dependencies = [ 25 | "GitPython>=1.0.1", 26 | "PyYAML>=5.3.1", 27 | "colorama>=0.3.9; platform_system == \"Windows\"", 28 | "rich", 29 | "stevedore>=1.20.0", 30 | ] 31 | 32 | [[package]] 33 | name = "black" 34 | version = "22.12.0" 35 | requires_python = ">=3.7" 36 | summary = "The uncompromising code formatter." 37 | dependencies = [ 38 | "click>=8.0.0", 39 | "mypy-extensions>=0.4.3", 40 | "pathspec>=0.9.0", 41 | "platformdirs>=2", 42 | "tomli>=1.1.0; python_full_version < \"3.11.0a7\"", 43 | "typing-extensions>=3.10.0.0; python_version < \"3.10\"", 44 | ] 45 | 46 | [[package]] 47 | name = "certifi" 48 | version = "2023.7.22" 49 | requires_python = ">=3.6" 50 | summary = "Python package for providing Mozilla's CA Bundle." 51 | 52 | [[package]] 53 | name = "charset-normalizer" 54 | version = "3.2.0" 55 | requires_python = ">=3.7.0" 56 | summary = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." 57 | 58 | [[package]] 59 | name = "click" 60 | version = "8.1.7" 61 | requires_python = ">=3.7" 62 | summary = "Composable command line interface toolkit" 63 | dependencies = [ 64 | "colorama; platform_system == \"Windows\"", 65 | ] 66 | 67 | [[package]] 68 | name = "colorama" 69 | version = "0.4.6" 70 | requires_python = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" 71 | summary = "Cross-platform colored terminal text." 72 | 73 | [[package]] 74 | name = "docutils" 75 | version = "0.17.1" 76 | requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 77 | summary = "Docutils -- Python Documentation Utilities" 78 | 79 | [[package]] 80 | name = "exceptiongroup" 81 | version = "1.1.3" 82 | requires_python = ">=3.7" 83 | summary = "Backport of PEP 654 (exception groups)" 84 | 85 | [[package]] 86 | name = "execnet" 87 | version = "2.0.2" 88 | requires_python = ">=3.7" 89 | summary = "execnet: rapid multi-Python deployment" 90 | 91 | [[package]] 92 | name = "gitdb" 93 | version = "4.0.10" 94 | requires_python = ">=3.7" 95 | summary = "Git Object Database" 96 | dependencies = [ 97 | "smmap<6,>=3.0.1", 98 | ] 99 | 100 | [[package]] 101 | name = "gitpython" 102 | version = "3.1.32" 103 | requires_python = ">=3.7" 104 | summary = "GitPython is a Python library used to interact with Git repositories" 105 | dependencies = [ 106 | "gitdb<5,>=4.0.1", 107 | ] 108 | 109 | [[package]] 110 | name = "idna" 111 | version = "3.4" 112 | requires_python = ">=3.5" 113 | summary = "Internationalized Domain Names in Applications (IDNA)" 114 | 115 | [[package]] 116 | name = "imagesize" 117 | version = "1.4.1" 118 | requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 119 | summary = "Getting image size from png/jpeg/jpeg2000/gif file" 120 | 121 | [[package]] 122 | name = "importlib-metadata" 123 | version = "6.8.0" 124 | requires_python = ">=3.8" 125 | summary = "Read metadata from Python packages" 126 | dependencies = [ 127 | "zipp>=0.5", 128 | ] 129 | 130 | [[package]] 131 | name = "iniconfig" 132 | version = "2.0.0" 133 | requires_python = ">=3.7" 134 | summary = "brain-dead simple config-ini parsing" 135 | 136 | [[package]] 137 | name = "isort" 138 | version = "5.12.0" 139 | requires_python = ">=3.8.0" 140 | summary = "A Python utility / library to sort Python imports." 141 | 142 | [[package]] 143 | name = "jinja2" 144 | version = "3.1.2" 145 | requires_python = ">=3.7" 146 | summary = "A very fast and expressive template engine." 147 | dependencies = [ 148 | "MarkupSafe>=2.0", 149 | ] 150 | 151 | [[package]] 152 | name = "markdown-it-py" 153 | version = "2.2.0" 154 | requires_python = ">=3.7" 155 | summary = "Python port of markdown-it. Markdown parsing, done right!" 156 | dependencies = [ 157 | "mdurl~=0.1", 158 | ] 159 | 160 | [[package]] 161 | name = "markupsafe" 162 | version = "2.1.3" 163 | requires_python = ">=3.7" 164 | summary = "Safely add untrusted strings to HTML/XML markup." 165 | 166 | [[package]] 167 | name = "mdit-py-plugins" 168 | version = "0.3.5" 169 | requires_python = ">=3.7" 170 | summary = "Collection of plugins for markdown-it-py" 171 | dependencies = [ 172 | "markdown-it-py<3.0.0,>=1.0.0", 173 | ] 174 | 175 | [[package]] 176 | name = "mdurl" 177 | version = "0.1.2" 178 | requires_python = ">=3.7" 179 | summary = "Markdown URL utilities" 180 | 181 | [[package]] 182 | name = "mypy-extensions" 183 | version = "1.0.0" 184 | requires_python = ">=3.5" 185 | summary = "Type system extensions for programs checked with the mypy type checker." 186 | 187 | [[package]] 188 | name = "myst-parser" 189 | version = "0.18.1" 190 | requires_python = ">=3.7" 191 | summary = "An extended commonmark compliant parser, with bridges to docutils & sphinx." 192 | dependencies = [ 193 | "docutils<0.20,>=0.15", 194 | "jinja2", 195 | "markdown-it-py<3.0.0,>=1.0.0", 196 | "mdit-py-plugins~=0.3.1", 197 | "pyyaml", 198 | "sphinx<6,>=4", 199 | "typing-extensions", 200 | ] 201 | 202 | [[package]] 203 | name = "packaging" 204 | version = "23.1" 205 | requires_python = ">=3.7" 206 | summary = "Core utilities for Python packages" 207 | 208 | [[package]] 209 | name = "pathspec" 210 | version = "0.11.2" 211 | requires_python = ">=3.7" 212 | summary = "Utility library for gitignore style pattern matching of file paths." 213 | 214 | [[package]] 215 | name = "pbr" 216 | version = "5.11.1" 217 | requires_python = ">=2.6" 218 | summary = "Python Build Reasonableness" 219 | 220 | [[package]] 221 | name = "platformdirs" 222 | version = "3.10.0" 223 | requires_python = ">=3.7" 224 | summary = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." 225 | 226 | [[package]] 227 | name = "pluggy" 228 | version = "1.3.0" 229 | requires_python = ">=3.8" 230 | summary = "plugin and hook calling mechanisms for python" 231 | 232 | [[package]] 233 | name = "pygments" 234 | version = "2.16.1" 235 | requires_python = ">=3.7" 236 | summary = "Pygments is a syntax highlighting package written in Python." 237 | 238 | [[package]] 239 | name = "pytest" 240 | version = "7.4.0" 241 | requires_python = ">=3.7" 242 | summary = "pytest: simple powerful testing with Python" 243 | dependencies = [ 244 | "colorama; sys_platform == \"win32\"", 245 | "exceptiongroup>=1.0.0rc8; python_version < \"3.11\"", 246 | "iniconfig", 247 | "packaging", 248 | "pluggy<2.0,>=0.12", 249 | "tomli>=1.0.0; python_version < \"3.11\"", 250 | ] 251 | 252 | [[package]] 253 | name = "pytest-xdist" 254 | version = "3.3.1" 255 | requires_python = ">=3.7" 256 | summary = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" 257 | dependencies = [ 258 | "execnet>=1.1", 259 | "pytest>=6.2.0", 260 | ] 261 | 262 | [[package]] 263 | name = "pytz" 264 | version = "2023.3" 265 | summary = "World timezone definitions, modern and historical" 266 | 267 | [[package]] 268 | name = "pyyaml" 269 | version = "6.0.1" 270 | requires_python = ">=3.6" 271 | summary = "YAML parser and emitter for Python" 272 | 273 | [[package]] 274 | name = "requests" 275 | version = "2.31.0" 276 | requires_python = ">=3.7" 277 | summary = "Python HTTP for Humans." 278 | dependencies = [ 279 | "certifi>=2017.4.17", 280 | "charset-normalizer<4,>=2", 281 | "idna<4,>=2.5", 282 | "urllib3<3,>=1.21.1", 283 | ] 284 | 285 | [[package]] 286 | name = "rich" 287 | version = "13.5.2" 288 | requires_python = ">=3.7.0" 289 | summary = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" 290 | dependencies = [ 291 | "markdown-it-py>=2.2.0", 292 | "pygments<3.0.0,>=2.13.0", 293 | "typing-extensions<5.0,>=4.0.0; python_version < \"3.9\"", 294 | ] 295 | 296 | [[package]] 297 | name = "smmap" 298 | version = "5.0.0" 299 | requires_python = ">=3.6" 300 | summary = "A pure Python implementation of a sliding window memory map manager" 301 | 302 | [[package]] 303 | name = "snowballstemmer" 304 | version = "2.2.0" 305 | summary = "This package provides 29 stemmers for 28 languages generated from Snowball algorithms." 306 | 307 | [[package]] 308 | name = "sphinx" 309 | version = "4.5.0" 310 | requires_python = ">=3.6" 311 | summary = "Python documentation generator" 312 | dependencies = [ 313 | "Jinja2>=2.3", 314 | "Pygments>=2.0", 315 | "alabaster<0.8,>=0.7", 316 | "babel>=1.3", 317 | "colorama>=0.3.5; sys_platform == \"win32\"", 318 | "docutils<0.18,>=0.14", 319 | "imagesize", 320 | "importlib-metadata>=4.4; python_version < \"3.10\"", 321 | "packaging", 322 | "requests>=2.5.0", 323 | "snowballstemmer>=1.1", 324 | "sphinxcontrib-applehelp", 325 | "sphinxcontrib-devhelp", 326 | "sphinxcontrib-htmlhelp>=2.0.0", 327 | "sphinxcontrib-jsmath", 328 | "sphinxcontrib-qthelp", 329 | "sphinxcontrib-serializinghtml>=1.1.5", 330 | ] 331 | 332 | [[package]] 333 | name = "sphinx-autodoc-typehints" 334 | version = "1.19.1" 335 | requires_python = ">=3.7" 336 | summary = "Type hints (PEP 484) support for the Sphinx autodoc extension" 337 | dependencies = [ 338 | "Sphinx>=4.5", 339 | ] 340 | 341 | [[package]] 342 | name = "sphinx-rtd-theme" 343 | version = "1.0.0" 344 | requires_python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" 345 | summary = "Read the Docs theme for Sphinx" 346 | dependencies = [ 347 | "docutils<0.18", 348 | "sphinx>=1.6", 349 | ] 350 | 351 | [[package]] 352 | name = "sphinxcontrib-apidoc" 353 | version = "0.3.0" 354 | summary = "A Sphinx extension for running 'sphinx-apidoc' on each build" 355 | dependencies = [ 356 | "Sphinx>=1.6.0", 357 | "pbr", 358 | ] 359 | 360 | [[package]] 361 | name = "sphinxcontrib-applehelp" 362 | version = "1.0.4" 363 | requires_python = ">=3.8" 364 | summary = "sphinxcontrib-applehelp is a Sphinx extension which outputs Apple help books" 365 | 366 | [[package]] 367 | name = "sphinxcontrib-devhelp" 368 | version = "1.0.2" 369 | requires_python = ">=3.5" 370 | summary = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document." 371 | 372 | [[package]] 373 | name = "sphinxcontrib-htmlhelp" 374 | version = "2.0.1" 375 | requires_python = ">=3.8" 376 | summary = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" 377 | 378 | [[package]] 379 | name = "sphinxcontrib-jsmath" 380 | version = "1.0.1" 381 | requires_python = ">=3.5" 382 | summary = "A sphinx extension which renders display math in HTML via JavaScript" 383 | 384 | [[package]] 385 | name = "sphinxcontrib-qthelp" 386 | version = "1.0.3" 387 | requires_python = ">=3.5" 388 | summary = "sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document." 389 | 390 | [[package]] 391 | name = "sphinxcontrib-serializinghtml" 392 | version = "1.1.5" 393 | requires_python = ">=3.5" 394 | summary = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle)." 395 | 396 | [[package]] 397 | name = "stevedore" 398 | version = "5.1.0" 399 | requires_python = ">=3.8" 400 | summary = "Manage dynamic plugins for Python applications" 401 | dependencies = [ 402 | "pbr!=2.1.0,>=2.0.0", 403 | ] 404 | 405 | [[package]] 406 | name = "tomli" 407 | version = "2.0.1" 408 | requires_python = ">=3.7" 409 | summary = "A lil' TOML parser" 410 | 411 | [[package]] 412 | name = "typing-extensions" 413 | version = "4.7.1" 414 | requires_python = ">=3.7" 415 | summary = "Backported and Experimental Type Hints for Python 3.7+" 416 | 417 | [[package]] 418 | name = "urllib3" 419 | version = "2.0.4" 420 | requires_python = ">=3.7" 421 | summary = "HTTP library with thread-safe connection pooling, file post, and more." 422 | 423 | [[package]] 424 | name = "zipp" 425 | version = "3.16.2" 426 | requires_python = ">=3.8" 427 | summary = "Backport of pathlib-compatible object wrapper for zip files" 428 | 429 | [metadata] 430 | lock_version = "4.2" 431 | groups = ["default", "docs", "tools"] 432 | content_hash = "sha256:d69f7223a004c512b359e659a061c6f51529fc9347ef33b91b58ffda635e5813" 433 | 434 | [metadata.files] 435 | "alabaster 0.7.13" = [ 436 | {url = "https://files.pythonhosted.org/packages/64/88/c7083fc61120ab661c5d0b82cb77079fc1429d3f913a456c1c82cf4658f7/alabaster-0.7.13-py3-none-any.whl", hash = "sha256:1ee19aca801bbabb5ba3f5f258e4422dfa86f82f3e9cefb0859b283cdd7f62a3"}, 437 | {url = "https://files.pythonhosted.org/packages/94/71/a8ee96d1fd95ca04a0d2e2d9c4081dac4c2d2b12f7ddb899c8cb9bfd1532/alabaster-0.7.13.tar.gz", hash = "sha256:a27a4a084d5e690e16e01e03ad2b2e552c61a65469419b907243193de1a84ae2"}, 438 | ] 439 | "babel 2.12.1" = [ 440 | {url = "https://files.pythonhosted.org/packages/ba/42/54426ba5d7aeebde9f4aaba9884596eb2fe02b413ad77d62ef0b0422e205/Babel-2.12.1.tar.gz", hash = "sha256:cc2d99999cd01d44420ae725a21c9e3711b3aadc7976d6147f622d8581963455"}, 441 | {url = "https://files.pythonhosted.org/packages/df/c4/1088865e0246d7ecf56d819a233ab2b72f7d6ab043965ef327d0731b5434/Babel-2.12.1-py3-none-any.whl", hash = "sha256:b4246fb7677d3b98f501a39d43396d3cafdc8eadb045f4a31be01863f655c610"}, 442 | ] 443 | "bandit 1.7.5" = [ 444 | {url = "https://files.pythonhosted.org/packages/02/37/e06b8f1e2d45a2fe43ec80c4591d963b7bc1f351e6e1b8c094350d03b973/bandit-1.7.5-py3-none-any.whl", hash = "sha256:75665181dc1e0096369112541a056c59d1c5f66f9bb74a8d686c3c362b83f549"}, 445 | {url = "https://files.pythonhosted.org/packages/5e/67/997278e785edf155bd57163ae7030f979a0907857365cb30815d93b5354b/bandit-1.7.5.tar.gz", hash = "sha256:bdfc739baa03b880c2d15d0431b31c658ffc348e907fe197e54e0389dd59e11e"}, 446 | ] 447 | "black 22.12.0" = [ 448 | {url = "https://files.pythonhosted.org/packages/0c/51/1f7f93c0555eaf4cbb628e26ba026e3256174a45bd9397ff1ea7cf96bad5/black-22.12.0-py3-none-any.whl", hash = "sha256:436cc9167dd28040ad90d3b404aec22cedf24a6e4d7de221bec2730ec0c97bcf"}, 449 | {url = "https://files.pythonhosted.org/packages/4c/49/420dcfccba3215dc4e5790fa47572ef14129df1c5e95dd87b5ad30211b01/black-22.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:7412e75863aa5c5411886804678b7d083c7c28421210180d67dfd8cf1221e1f4"}, 450 | {url = "https://files.pythonhosted.org/packages/4c/dd/cdb4e62a58e229ee757110a9dfb914a44e9d41be8becb41e085cb5df5d5b/black-22.12.0-cp38-cp38-win_amd64.whl", hash = "sha256:82d9fe8fee3401e02e79767016b4907820a7dc28d70d137eb397b92ef3cc5bfc"}, 451 | {url = "https://files.pythonhosted.org/packages/54/44/6d5f9af3c14da013754021e28eacc873e6ecbe877b2540e37346579398c8/black-22.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:77d86c9f3db9b1bf6761244bc0b3572a546f5fe37917a044e02f3166d5aafa7d"}, 452 | {url = "https://files.pythonhosted.org/packages/71/57/975782465cc6b514f2c972421e29b933dfbb51d4a95948a4e0e94f36ea38/black-22.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:159a46a4947f73387b4d83e87ea006dbb2337eab6c879620a3ba52699b1f4351"}, 453 | {url = "https://files.pythonhosted.org/packages/79/d9/60852a6fc2f85374db20a9767dacfe50c2172eb8388f46018c8daf836995/black-22.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9eedd20838bd5d75b80c9f5487dbcb06836a43833a37846cf1d8c1cc01cef59d"}, 454 | {url = "https://files.pythonhosted.org/packages/a6/59/e873cc6807fb62c11131e5258ca15577a3b7452abad08dc49286cf8245e8/black-22.12.0.tar.gz", hash = "sha256:229351e5a18ca30f447bf724d007f890f97e13af070bb6ad4c0a441cd7596a2f"}, 455 | {url = "https://files.pythonhosted.org/packages/ba/32/954bcc56b2b3b4ef52a086e3c0bdbad88a38c9e739feb19dd2e6294cda42/black-22.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:101c69b23df9b44247bd88e1d7e90154336ac4992502d4197bdac35dd7ee3320"}, 456 | {url = "https://files.pythonhosted.org/packages/e9/e0/6aa02d14785c4039b38bfed6f9ee28a952b2d101c64fc97b15811fa8bd04/black-22.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d30b212bffeb1e252b31dd269dfae69dd17e06d92b87ad26e23890f3efea366f"}, 457 | {url = "https://files.pythonhosted.org/packages/eb/91/e0ccc36f8e1a00ed3c343741ca7ffe954e33cd2be0cada039845ff9e0539/black-22.12.0-cp37-cp37m-win_amd64.whl", hash = "sha256:1f58cbe16dfe8c12b7434e50ff889fa479072096d79f0a7f25e4ab8e94cd8350"}, 458 | {url = "https://files.pythonhosted.org/packages/f1/b7/6de002378cfe0b83beba72f0a7875dfb6005b2a214ac9f9ca689583069ef/black-22.12.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c116eed0efb9ff870ded8b62fe9f28dd61ef6e9ddd28d83d7d264a38417dcee2"}, 459 | {url = "https://files.pythonhosted.org/packages/f2/b9/06fe2dd83a2104d83c2b737f41aa5679f5a4395630005443ba4fa6fece8b/black-22.12.0-cp39-cp39-win_amd64.whl", hash = "sha256:559c7a1ba9a006226f09e4916060982fd27334ae1998e7a38b3f33a37f7a2148"}, 460 | ] 461 | "certifi 2023.7.22" = [ 462 | {url = "https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"}, 463 | {url = "https://files.pythonhosted.org/packages/98/98/c2ff18671db109c9f10ed27f5ef610ae05b73bd876664139cf95bd1429aa/certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"}, 464 | ] 465 | "charset-normalizer 3.2.0" = [ 466 | {url = "https://files.pythonhosted.org/packages/08/f7/3f36bb1d0d74846155c7e3bf1477004c41243bb510f9082e785809787735/charset_normalizer-3.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09393e1b2a9461950b1c9a45d5fd251dc7c6f228acab64da1c9c0165d9c7765c"}, 467 | {url = "https://files.pythonhosted.org/packages/09/79/1b7af063e7c57a51aab7f2aaccd79bb8a694dfae668e8aa79b0b045b17bc/charset_normalizer-3.2.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:855eafa5d5a2034b4621c74925d89c5efef61418570e5ef9b37717d9c796419c"}, 468 | {url = "https://files.pythonhosted.org/packages/0d/dd/e598cc4e4052aa0779d4c6d5e9840d21ed238834944ccfbc6b33f792c426/charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:e6a5bf2cba5ae1bb80b154ed68a3cfa2fa00fde979a7f50d6598d3e17d9ac20c"}, 469 | {url = "https://files.pythonhosted.org/packages/0f/16/8d50877a7215d31f024245a0acbda9e484dd70a21794f3109a6d8eaeba99/charset_normalizer-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:46fb8c61d794b78ec7134a715a3e564aafc8f6b5e338417cb19fe9f57a5a9bf2"}, 470 | {url = "https://files.pythonhosted.org/packages/13/de/10c14aa51375b90ed62232935e6c8997756178e6972c7695cdf0500a60ad/charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f87f746ee241d30d6ed93969de31e5ffd09a2961a051e60ae6bddde9ec3583aa"}, 471 | {url = "https://files.pythonhosted.org/packages/16/36/72dcb89fbd0ff89c556ed4a2cc79fc1b262dcc95e9082d8a5911744dadc9/charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:70c610f6cbe4b9fce272c407dd9d07e33e6bf7b4aa1b7ffb6f6ded8e634e3592"}, 472 | {url = "https://files.pythonhosted.org/packages/19/9f/552f15cb1dade9332d6f0208fa3e6c21bb3eecf1c89862413ed8a3c75900/charset_normalizer-3.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:c0b21078a4b56965e2b12f247467b234734491897e99c1d51cee628da9786959"}, 473 | {url = "https://files.pythonhosted.org/packages/1b/2c/7376d101efdec15e61e9861890cf107c6ce3cceba89eb87cc416ee0528cd/charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:c8063cf17b19661471ecbdb3df1c84f24ad2e389e326ccaf89e3fb2484d8dd7e"}, 474 | {url = "https://files.pythonhosted.org/packages/23/59/8011a01cd8b904d08d86b4a49f407e713d20ee34155300dc698892a29f8b/charset_normalizer-3.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1920d4ff15ce893210c1f0c0e9d19bfbecb7983c76b33f046c13a8ffbd570252"}, 475 | {url = "https://files.pythonhosted.org/packages/27/19/49de2049561eca73233ba0ed7a843c184d364ef3b8886969a48d6793c830/charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:3b1613dd5aee995ec6d4c69f00378bbd07614702a315a2cf6c1d21461fe17c23"}, 476 | {url = "https://files.pythonhosted.org/packages/28/ec/cda85baa366071c48593774eb59a5031793dd974fa26f4982829e971df6b/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f25c229a6ba38a35ae6e25ca1264621cc25d4d38dca2942a7fce0b67a4efe918"}, 477 | {url = "https://files.pythonhosted.org/packages/2a/53/cf0a48de1bdcf6ff6e1c9a023f5f523dfe303e4024f216feac64b6eb7f67/charset-normalizer-3.2.0.tar.gz", hash = "sha256:3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace"}, 478 | {url = "https://files.pythonhosted.org/packages/2e/29/dc806e009ddb357371458de3e93cfde78ea6e5c995df008fb6b048769457/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f30b48dd7fa1474554b0b0f3fdfdd4c13b5c737a3c6284d3cdc424ec0ffff3a"}, 479 | {url = "https://files.pythonhosted.org/packages/2e/56/faee2b51d73e9675b4766366d925f17c253797e5839c28e1c720ec9dfbfc/charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a38856a971c602f98472050165cea2cdc97709240373041b69030be15047691f"}, 480 | {url = "https://files.pythonhosted.org/packages/31/e9/ae16eca3cf24a15ebfb1e36d755c884a91d61ed40de5e612de6555827729/charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:72814c01533f51d68702802d74f77ea026b5ec52793c791e2da806a3844a46c3"}, 481 | {url = "https://files.pythonhosted.org/packages/3d/91/47454b64516f83c5affdcdb0398bff540185d2c37b687410d67507006624/charset_normalizer-3.2.0-cp38-cp38-win32.whl", hash = "sha256:1000fba1057b92a65daec275aec30586c3de2401ccdcd41f8a5c1e2c87078706"}, 482 | {url = "https://files.pythonhosted.org/packages/45/60/1b2113fe172ac66ac4d210034e937ebe0be30bcae9a7a4d2ae5ad3c018b3/charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b0dac0ff919ba34d4df1b6131f59ce95b08b9065233446be7e459f95554c0dc8"}, 483 | {url = "https://files.pythonhosted.org/packages/47/03/2cde6c5fba0115e8726272aabfca33b9d84d377cc11c4bab092fa9617d7a/charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5e86d77b090dbddbe78867a0275cb4df08ea195e660f1f7f13435a4649e954e5"}, 484 | {url = "https://files.pythonhosted.org/packages/47/71/2ce8dca3e8cf1f65c36b6317cf68382bb259966e3a208da6e5550029ab79/charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:45de3f87179c1823e6d9e32156fb14c1927fcc9aba21433f088fdfb555b77c10"}, 485 | {url = "https://files.pythonhosted.org/packages/49/60/87a026215ed77184c413ebb85bafa6c0a998bdc0d1e03b894fa326f2b0f9/charset_normalizer-3.2.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e1c8a2f4c69e08e89632defbfabec2feb8a8d99edc9f89ce33c4b9e36ab63037"}, 486 | {url = "https://files.pythonhosted.org/packages/4a/46/a22af93e707f0d3c3865a2c21b4363c778239f5a6405aadd220992ac3058/charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c4fb39a81950ec280984b3a44f5bd12819953dc5fa3a7e6fa7a80db5ee853952"}, 487 | {url = "https://files.pythonhosted.org/packages/4d/ce/8ce85a7d61bbfb5e49094040642f1558b3cf6cf2ad91bbb3616a967dea38/charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c4983bf937209c57240cff65906b18bb35e64ae872da6a0db937d7b4af845dd7"}, 488 | {url = "https://files.pythonhosted.org/packages/59/8e/62651b09599938e5e6d068ea723fd22d3f8c14d773c3c11c58e5e7d1eab7/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bd9b3b31adcb054116447ea22caa61a285d92e94d710aa5ec97992ff5eb7cf3"}, 489 | {url = "https://files.pythonhosted.org/packages/5a/60/eeb158f11b0dee921d3e44bf37971271060b234ee60b14fa16ccc1947cbe/charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f058f6963fd82eb143c692cecdc89e075fa0828db2e5b291070485390b2f1c9c"}, 490 | {url = "https://files.pythonhosted.org/packages/5c/f2/f3faa20684729d3910af2ee142e30432c7a46a817eadeeab87366ed87bbb/charset_normalizer-3.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:48021783bdf96e3d6de03a6e39a1171ed5bd7e8bb93fc84cc649d11490f87cea"}, 491 | {url = "https://files.pythonhosted.org/packages/5d/28/f69dac79bf3986a52bc2f7dc561360c2c9c88cb0270738d86ee5a3d8a0ba/charset_normalizer-3.2.0-cp37-cp37m-win32.whl", hash = "sha256:a401b4598e5d3f4a9a811f3daf42ee2291790c7f9d74b18d75d6e21dda98a1a1"}, 492 | {url = "https://files.pythonhosted.org/packages/5f/52/e8ca03368aeecdd5c0057bd1f8ef189796d232b152e3de4244bb5a72d135/charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e03b8895a6990c9ab2cdcd0f2fe44088ca1c65ae592b8f795c3294af00a461c3"}, 493 | {url = "https://files.pythonhosted.org/packages/63/f9/14ffa4b88c1b42837dfa488b0943b7bd7f54f5b63135bf97e5001f6957e7/charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a7647ebdfb9682b7bb97e2a5e7cb6ae735b1c25008a70b906aecca294ee96cf4"}, 494 | {url = "https://files.pythonhosted.org/packages/6b/b2/9d0c8fe83572a37bd66150399e289d8e96d62eca359ffa67c021b4120887/charset_normalizer-3.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:8b2c760cfc7042b27ebdb4a43a4453bd829a5742503599144d54a032c5dc7e9e"}, 495 | {url = "https://files.pythonhosted.org/packages/6b/b7/f042568ee89c378b457f73fda1642fd3b795df79c285520e4ec8a74c8b09/charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:baacc6aee0b2ef6f3d308e197b5d7a81c0e70b06beae1f1fcacffdbd124fe0e3"}, 496 | {url = "https://files.pythonhosted.org/packages/6f/14/8e317fa69483a2823ea358a77e243c37f23f536a7add1b605460269593b5/charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9e608aafdb55eb9f255034709e20d5a83b6d60c054df0802fa9c9883d0a937aa"}, 497 | {url = "https://files.pythonhosted.org/packages/79/55/9aef5046a1765acacf28f80994f5a964ab4f43ab75208b1265191a11004b/charset_normalizer-3.2.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1a100c6d595a7f316f1b6f01d20815d916e75ff98c27a01ae817439ea7726329"}, 498 | {url = "https://files.pythonhosted.org/packages/7b/c6/7f75892d87d7afcf8ed909f3e74de1bc61abd9d77cd9aab1f449430856c5/charset_normalizer-3.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:203f0c8871d5a7987be20c72442488a0b8cfd0f43b7973771640fc593f56321f"}, 499 | {url = "https://files.pythonhosted.org/packages/80/75/eadff07a61d5602b6b19859d464bc0983654ae79114ef8aa15797b02271c/charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2dee8e57f052ef5353cf608e0b4c871aee320dd1b87d351c28764fc0ca55f9f4"}, 500 | {url = "https://files.pythonhosted.org/packages/81/a0/96317ce912b512b7998434eae5e24b28bcc5f1680ad85348e31e1ca56332/charset_normalizer-3.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7c70087bfee18a42b4040bb9ec1ca15a08242cf5867c58726530bdf3945672ed"}, 501 | {url = "https://files.pythonhosted.org/packages/85/52/77ab28e0eb07f12a02732c55abfc3be481bd46c91d5ade76a8904dfb59a4/charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:c1c76a1743432b4b60ab3358c937a3fe1341c828ae6194108a94c69028247f22"}, 502 | {url = "https://files.pythonhosted.org/packages/89/f5/88e9dd454756fea555198ddbe6fa40d6408ec4f10ad4f0a911e0b7e471e4/charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eef9df1eefada2c09a5e7a40991b9fc6ac6ef20b1372abd48d2794a316dc0449"}, 503 | {url = "https://files.pythonhosted.org/packages/8b/b4/e6da7d4c044852d7a08ba945868eaefa32e8c43665e746f420ef14bdb130/charset_normalizer-3.2.0-cp39-cp39-win32.whl", hash = "sha256:6c409c0deba34f147f77efaa67b8e4bb83d2f11c8806405f76397ae5b8c0d1c9"}, 504 | {url = "https://files.pythonhosted.org/packages/8b/c4/62b920ec8f4ec7b55cd29db894ced9a649214fd506295ac19fb786fe3c6f/charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:c04a46716adde8d927adb9457bbe39cf473e1e2c2f5d0a16ceb837e5d841ad4f"}, 505 | {url = "https://files.pythonhosted.org/packages/8e/a2/77cf1f042a4697822070fd5f3f5f58fd0e3ee798d040e3863eac43e3a2e5/charset_normalizer-3.2.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:4957669ef390f0e6719db3613ab3a7631e68424604a7b448f079bee145da6e09"}, 506 | {url = "https://files.pythonhosted.org/packages/91/6e/db0e545302bf93b6dbbdc496dd192c7f8e8c3bb1584acba069256d8b51d4/charset_normalizer-3.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:681eb3d7e02e3c3655d1b16059fbfb605ac464c834a0c629048a30fad2b27489"}, 507 | {url = "https://files.pythonhosted.org/packages/91/e6/8fa919fc84a106e9b04109de62bdf8526899e2754a64da66e1cd50ac1faa/charset_normalizer-3.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f779d3ad205f108d14e99bb3859aa7dd8e9c68874617c72354d7ecaec2a054ac"}, 508 | {url = "https://files.pythonhosted.org/packages/94/fc/53e12f67fff7a127fe2998de3469a9856c6c7cf67f18dc5f417df3e5e60f/charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:3bb7fda7260735efe66d5107fb7e6af6a7c04c7fce9b2514e04b7a74b06bf5dd"}, 509 | {url = "https://files.pythonhosted.org/packages/95/d2/6f25fddfbe31448ceea236e03b70d2bbd647d4bc9148bf9665307794c4f2/charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d62e51710986674142526ab9f78663ca2b0726066ae26b78b22e0f5e571238dd"}, 510 | {url = "https://files.pythonhosted.org/packages/95/d3/ed29b2d14ec9044a223dcf7c439fa550ef9c6d06c9372cd332374d990559/charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:cd6dbe0238f7743d0efe563ab46294f54f9bc8f4b9bcf57c3c666cc5bc9d1299"}, 511 | {url = "https://files.pythonhosted.org/packages/95/ee/8bb03c3518a228dc5956d1b4f46d8258639ff118881fba456b72b06561cf/charset_normalizer-3.2.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c57921cda3a80d0f2b8aec7e25c8aa14479ea92b5b51b6876d975d925a2ea346"}, 512 | {url = "https://files.pythonhosted.org/packages/97/f6/0bae7bdfb07ca42bf5e3e37dbd0cce02d87dd6e87ea85dff43106dfc1f48/charset_normalizer-3.2.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:95eb302ff792e12aba9a8b8f8474ab229a83c103d74a750ec0bd1c1eea32e669"}, 513 | {url = "https://files.pythonhosted.org/packages/99/23/7262c6a7c8a8c2ec783886166a432985915f67277bc44020d181e5c04584/charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7a4826ad2bd6b07ca615c74ab91f32f6c96d08f6fcc3902ceeedaec8cdc3bcd6"}, 514 | {url = "https://files.pythonhosted.org/packages/9c/71/bf12b8e0d6e1d84ed29c3e16ea1efc47ae96487bde823130d12139c434a0/charset_normalizer-3.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:6339d047dab2780cc6220f46306628e04d9750f02f983ddb37439ca47ced7149"}, 515 | {url = "https://files.pythonhosted.org/packages/9c/74/10a518cd27c2c595768f70ddbd7d05c9acb01b26033f79433105ccc73308/charset_normalizer-3.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41b25eaa7d15909cf3ac4c96088c1f266a9a93ec44f87f1d13d4a0e86c81b982"}, 516 | {url = "https://files.pythonhosted.org/packages/a1/5c/c4ae954751f285c6170c3ef4de04492f88ddb29d218fefbdcbd9fb32ba5c/charset_normalizer-3.2.0-cp311-cp311-win32.whl", hash = "sha256:f2a1d0fd4242bd8643ce6f98927cf9c04540af6efa92323e9d3124f57727bfc1"}, 517 | {url = "https://files.pythonhosted.org/packages/a4/65/057bf29660aae6ade0816457f8db4e749e5c0bfa2366eb5f67db9912fa4c/charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:193cbc708ea3aca45e7221ae58f0fd63f933753a9bfb498a3b474878f12caaad"}, 518 | {url = "https://files.pythonhosted.org/packages/ad/0d/9aa61083c35dc21e75a97c0ee53619daf0e5b4fd3b8b4d8bb5e7e56ed302/charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e4b749b9cc6ee664a3300bb3a273c1ca8068c46be705b6c31cf5d276f8628a94"}, 519 | {url = "https://files.pythonhosted.org/packages/af/3d/57e7e401f8db6dd0c56e366d69dc7366173fc549bcd533dea15f2a805000/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2efb1bd13885392adfda4614c33d3b68dee4921fd0ac1d3988f8cbb7d589e72a"}, 520 | {url = "https://files.pythonhosted.org/packages/af/6f/b9b1613a5b672004f08ef3c02242b07406ff36164725ff15207737601de5/charset_normalizer-3.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b87549028f680ca955556e3bd57013ab47474c3124dc069faa0b6545b6c9710"}, 521 | {url = "https://files.pythonhosted.org/packages/b6/2a/03e909cad170b0df5ce8b731fecbc872b7b922a1d38da441b5062a89e53f/charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:3170c9399da12c9dc66366e9d14da8bf7147e1e9d9ea566067bbce7bb74bd9c2"}, 522 | {url = "https://files.pythonhosted.org/packages/bc/85/ef25d4ba14c7653c3020a1c6e1a7413e6791ef36a0ac177efa605fc2c737/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:246de67b99b6851627d945db38147d1b209a899311b1305dd84916f2b88526c6"}, 523 | {url = "https://files.pythonhosted.org/packages/bf/a0/188f223c7d8b924fb9b554b9d27e0e7506fd5bf9cfb6dbacb2dfd5832b53/charset_normalizer-3.2.0-py3-none-any.whl", hash = "sha256:8e098148dd37b4ce3baca71fb394c81dc5d9c7728c95df695d2dca218edf40e6"}, 524 | {url = "https://files.pythonhosted.org/packages/c1/92/4e30c977d2dc49ca7f84a053ccefd86097a9d1a220f3e1d1f9932561a992/charset_normalizer-3.2.0-cp310-cp310-win32.whl", hash = "sha256:04e57ab9fbf9607b77f7d057974694b4f6b142da9ed4a199859d9d4d5c63fe96"}, 525 | {url = "https://files.pythonhosted.org/packages/cb/dd/dce14328e6abe0f475e606131298b4c8f628abd62a4e6f27fdfa496b9efe/charset_normalizer-3.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:7095f6fbfaa55defb6b733cfeb14efaae7a29f0b59d8cf213be4e7ca0b857b80"}, 526 | {url = "https://files.pythonhosted.org/packages/cb/e7/5e43745003bf1f90668c7be23fc5952b3a2b9c2558f16749411c18039b36/charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:89f1b185a01fe560bc8ae5f619e924407efca2191b56ce749ec84982fc59a32a"}, 527 | {url = "https://files.pythonhosted.org/packages/cb/f9/a652e1b495345000bb7f0e2a960a82ca941db55cb6de158d542918f8b52b/charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a386ebe437176aab38c041de1260cd3ea459c6ce5263594399880bbc398225b2"}, 528 | {url = "https://files.pythonhosted.org/packages/d3/d8/50a33f82bdf25e71222a55cef146310e3e9fe7d5790be5281d715c012eae/charset_normalizer-3.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e857a2232ba53ae940d3456f7533ce6ca98b81917d47adc3c7fd55dad8fab858"}, 529 | {url = "https://files.pythonhosted.org/packages/e8/74/077cb06aed5d41118a5803e842943311032ab2fb94cf523be620c5be9911/charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bf420121d4c8dce6b889f0e8e4ec0ca34b7f40186203f06a946fa0276ba54029"}, 530 | {url = "https://files.pythonhosted.org/packages/e8/ad/ac491a1cf960ec5873c1b0e4fd4b90b66bfed4a1063933612f2da8189eb8/charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:ccd16eb18a849fd8dcb23e23380e2f0a354e8daa0c984b8a732d9cfaba3a776d"}, 531 | {url = "https://files.pythonhosted.org/packages/ec/a7/96835706283d63fefbbbb4f119d52f195af00fc747e67cc54397c56312c8/charset_normalizer-3.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a103b3a7069b62f5d4890ae1b8f0597618f628b286b03d4bc9195230b154bfa9"}, 532 | {url = "https://files.pythonhosted.org/packages/ed/21/03b4a3533b7a845ee31ed4542ca06debdcf7f12c099ae3dd6773c275b0df/charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f7560358a6811e52e9c4d142d497f1a6e10103d3a6881f18d04dbce3729c0e2c"}, 533 | {url = "https://files.pythonhosted.org/packages/ee/ff/997d61ca61efe90662181f494c8e9fdac14e32de26cc6cb7c7a3fe96c862/charset_normalizer-3.2.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:ee4006268ed33370957f55bf2e6f4d263eaf4dc3cfc473d1d90baff6ed36ce4a"}, 534 | {url = "https://files.pythonhosted.org/packages/f0/24/7e6c604d80a8eb4378cb075647e65b7905f06645243b43c79fe4b7487ed7/charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94aea8eff76ee6d1cdacb07dd2123a68283cb5569e0250feab1240058f53b623"}, 535 | {url = "https://files.pythonhosted.org/packages/f1/f2/ef1479e741a7ed166b8253987071b2cf2d2b727fc8fa081520e3f7c97e44/charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:db901e2ac34c931d73054d9797383d0f8009991e723dab15109740a63e7f902a"}, 536 | {url = "https://files.pythonhosted.org/packages/f2/e8/d9651a0afd4ee792207b24bd1d438ed750f1c0f29df62bd73d24ded428f9/charset_normalizer-3.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:1249cbbf3d3b04902ff081ffbb33ce3377fa6e4c7356f759f3cd076cc138d020"}, 537 | {url = "https://files.pythonhosted.org/packages/f4/39/b024eb6c2a2b8136f1f48fd2f2eee22ed98fbfe3cd7ddf81dad2b8dd3c1b/charset_normalizer-3.2.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2f4ac36d8e2b4cc1aa71df3dd84ff8efbe3bfb97ac41242fbcfc053c67434f46"}, 538 | {url = "https://files.pythonhosted.org/packages/f5/50/410da81fd67eb1becef9d633f6aae9f6e296f60126cfc3d19631f7919f76/charset_normalizer-3.2.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:aaf63899c94de41fe3cf934601b0f7ccb6b428c6e4eeb80da72c58eab077b19a"}, 539 | {url = "https://files.pythonhosted.org/packages/f9/0d/514be8597d7a96243e5467a37d337b9399cec117a513fcf9328405d911c0/charset_normalizer-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8700f06d0ce6f128de3ccdbc1acaea1ee264d2caa9ca05daaf492fde7c2a7200"}, 540 | {url = "https://files.pythonhosted.org/packages/fd/17/0a1dba835ec37a3cc025f5c49653effb23f8cd391dea5e60a5696d639a92/charset_normalizer-3.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:8c2f5e83493748286002f9369f3e6607c565a6a90425a3a1fef5ae32a36d749d"}, 541 | ] 542 | "click 8.1.7" = [ 543 | {url = "https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"}, 544 | {url = "https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"}, 545 | ] 546 | "colorama 0.4.6" = [ 547 | {url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, 548 | {url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, 549 | ] 550 | "docutils 0.17.1" = [ 551 | {url = "https://files.pythonhosted.org/packages/4c/17/559b4d020f4b46e0287a2eddf2d8ebf76318fd3bd495f1625414b052fdc9/docutils-0.17.1.tar.gz", hash = "sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125"}, 552 | {url = "https://files.pythonhosted.org/packages/4c/5e/6003a0d1f37725ec2ebd4046b657abb9372202655f96e76795dca8c0063c/docutils-0.17.1-py2.py3-none-any.whl", hash = "sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61"}, 553 | ] 554 | "exceptiongroup 1.1.3" = [ 555 | {url = "https://files.pythonhosted.org/packages/ad/83/b71e58666f156a39fb29417e4c8ca4bc7400c0dd4ed9e8842ab54dc8c344/exceptiongroup-1.1.3-py3-none-any.whl", hash = "sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3"}, 556 | {url = "https://files.pythonhosted.org/packages/c2/e1/5561ad26f99b7779c28356f73f69a8b468ef491d0f6adf20d7ed0ac98ec1/exceptiongroup-1.1.3.tar.gz", hash = "sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9"}, 557 | ] 558 | "execnet 2.0.2" = [ 559 | {url = "https://files.pythonhosted.org/packages/e4/c8/d382dc7a1e68a165f4a4ab612a08b20d8534a7d20cc590630b734ca0c54b/execnet-2.0.2.tar.gz", hash = "sha256:cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af"}, 560 | {url = "https://files.pythonhosted.org/packages/e8/9c/a079946da30fac4924d92dbc617e5367d454954494cf1e71567bcc4e00ee/execnet-2.0.2-py3-none-any.whl", hash = "sha256:88256416ae766bc9e8895c76a87928c0012183da3cc4fc18016e6f050e025f41"}, 561 | ] 562 | "gitdb 4.0.10" = [ 563 | {url = "https://files.pythonhosted.org/packages/21/a6/35f83efec687615c711fe0a09b67e58f6d1254db27b1013119de46f450bd/gitdb-4.0.10-py3-none-any.whl", hash = "sha256:c286cf298426064079ed96a9e4a9d39e7f3e9bf15ba60701e95f5492f28415c7"}, 564 | {url = "https://files.pythonhosted.org/packages/4b/47/dc98f3d5d48aa815770e31490893b92c5f1cd6c6cf28dd3a8ae0efffac14/gitdb-4.0.10.tar.gz", hash = "sha256:6eb990b69df4e15bad899ea868dc46572c3f75339735663b81de79b06f17eb9a"}, 565 | ] 566 | "gitpython 3.1.32" = [ 567 | {url = "https://files.pythonhosted.org/packages/67/50/742c2fb60989b76ccf7302c7b1d9e26505d7054c24f08cc7ec187faaaea7/GitPython-3.1.32-py3-none-any.whl", hash = "sha256:e3d59b1c2c6ebb9dfa7a184daf3b6dd4914237e7488a1730a6d8f6f5d0b4187f"}, 568 | {url = "https://files.pythonhosted.org/packages/87/56/6dcdfde2f3a747988d1693100224fb88fc1d3bbcb3f18377b2a3ef53a70a/GitPython-3.1.32.tar.gz", hash = "sha256:8d9b8cb1e80b9735e8717c9362079d3ce4c6e5ddeebedd0361b228c3a67a62f6"}, 569 | ] 570 | "idna 3.4" = [ 571 | {url = "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, 572 | {url = "https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, 573 | ] 574 | "imagesize 1.4.1" = [ 575 | {url = "https://files.pythonhosted.org/packages/a7/84/62473fb57d61e31fef6e36d64a179c8781605429fd927b5dd608c997be31/imagesize-1.4.1.tar.gz", hash = "sha256:69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a"}, 576 | {url = "https://files.pythonhosted.org/packages/ff/62/85c4c919272577931d407be5ba5d71c20f0b616d31a0befe0ae45bb79abd/imagesize-1.4.1-py2.py3-none-any.whl", hash = "sha256:0d8d18d08f840c19d0ee7ca1fd82490fdc3729b7ac93f49870406ddde8ef8d8b"}, 577 | ] 578 | "importlib-metadata 6.8.0" = [ 579 | {url = "https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz", hash = "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"}, 580 | {url = "https://files.pythonhosted.org/packages/cc/37/db7ba97e676af155f5fcb1a35466f446eadc9104e25b83366e8088c9c926/importlib_metadata-6.8.0-py3-none-any.whl", hash = "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb"}, 581 | ] 582 | "iniconfig 2.0.0" = [ 583 | {url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, 584 | {url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, 585 | ] 586 | "isort 5.12.0" = [ 587 | {url = "https://files.pythonhosted.org/packages/0a/63/4036ae70eea279c63e2304b91ee0ac182f467f24f86394ecfe726092340b/isort-5.12.0-py3-none-any.whl", hash = "sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6"}, 588 | {url = "https://files.pythonhosted.org/packages/a9/c4/dc00e42c158fc4dda2afebe57d2e948805c06d5169007f1724f0683010a9/isort-5.12.0.tar.gz", hash = "sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504"}, 589 | ] 590 | "jinja2 3.1.2" = [ 591 | {url = "https://files.pythonhosted.org/packages/7a/ff/75c28576a1d900e87eb6335b063fab47a8ef3c8b4d88524c4bf78f670cce/Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"}, 592 | {url = "https://files.pythonhosted.org/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"}, 593 | ] 594 | "markdown-it-py 2.2.0" = [ 595 | {url = "https://files.pythonhosted.org/packages/bf/25/2d88e8feee8e055d015343f9b86e370a1ccbec546f2865c98397aaef24af/markdown_it_py-2.2.0-py3-none-any.whl", hash = "sha256:5a35f8d1870171d9acc47b99612dc146129b631baf04970128b568f190d0cc30"}, 596 | {url = "https://files.pythonhosted.org/packages/e4/c0/59bd6d0571986f72899288a95d9d6178d0eebd70b6650f1bb3f0da90f8f7/markdown-it-py-2.2.0.tar.gz", hash = "sha256:7c9a5e412688bc771c67432cbfebcdd686c93ce6484913dccf06cb5a0bea35a1"}, 597 | ] 598 | "markupsafe 2.1.3" = [ 599 | {url = "https://files.pythonhosted.org/packages/03/06/e72e88f81f8c91d4f488d21712d2d403fd644e3172eaadc302094377bc22/MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:2ef12179d3a291be237280175b542c07a36e7f60718296278d8593d21ca937d4"}, 600 | {url = "https://files.pythonhosted.org/packages/03/65/3473d2cb84bb2cda08be95b97fc4f53e6bcd701a2d50ba7b7c905e1e9273/MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ab4a0df41e7c16a1392727727e7998a467472d0ad65f3ad5e6e765015df08636"}, 601 | {url = "https://files.pythonhosted.org/packages/10/b3/c2b0a61cc0e1d50dd8a1b663ba4866c667cb58fb35f12475001705001680/MarkupSafe-2.1.3-cp38-cp38-win32.whl", hash = "sha256:ceb01949af7121f9fc39f7d27f91be8546f3fb112c608bc4029aef0bab86a2a5"}, 602 | {url = "https://files.pythonhosted.org/packages/12/b3/d9ed2c0971e1435b8a62354b18d3060b66c8cb1d368399ec0b9baa7c0ee5/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52"}, 603 | {url = "https://files.pythonhosted.org/packages/20/1d/713d443799d935f4d26a4f1510c9e61b1d288592fb869845e5cc92a1e055/MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cd0f502fe016460680cd20aaa5a76d241d6f35a1c3350c474bac1273803893fa"}, 604 | {url = "https://files.pythonhosted.org/packages/22/81/b5659e2b6ae1516495a22f87370419c1d79c8d853315e6cbe5172fc01a06/MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7ef3cb2ebbf91e330e3bb937efada0edd9003683db6b57bb108c4001f37a02ea"}, 605 | {url = "https://files.pythonhosted.org/packages/32/d4/ce98c4ca713d91c4a17c1a184785cc00b9e9c25699d618956c2b9999500a/MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:df0be2b576a7abbf737b1575f048c23fb1d769f267ec4358296f31c2479db8f9"}, 606 | {url = "https://files.pythonhosted.org/packages/3c/c8/74d13c999cbb49e3460bf769025659a37ef4a8e884de629720ab4e42dcdb/MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c9c804664ebe8f83a211cace637506669e7890fec1b4195b505c214e50dd4eb7"}, 607 | {url = "https://files.pythonhosted.org/packages/43/70/f24470f33b2035b035ef0c0ffebf57006beb2272cf3df068fc5154e04ead/MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e4dd52d80b8c83fdce44e12478ad2e85c64ea965e75d66dbeafb0a3e77308fcc"}, 608 | {url = "https://files.pythonhosted.org/packages/43/ad/7246ae594aac948b17408c0ff0f9ff0bc470bdbe9c672a754310db64b237/MarkupSafe-2.1.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:282c2cb35b5b673bbcadb33a585408104df04f14b2d9b01d4c345a3b92861c2c"}, 609 | {url = "https://files.pythonhosted.org/packages/44/53/93405d37bb04a10c43b1bdd6f548097478d494d7eadb4b364e3e1337f0cc/MarkupSafe-2.1.3-cp311-cp311-win32.whl", hash = "sha256:dd15ff04ffd7e05ffcb7fe79f1b98041b8ea30ae9234aed2a9168b5797c3effb"}, 610 | {url = "https://files.pythonhosted.org/packages/47/26/932140621773bfd4df3223fbdd9e78de3477f424f0d2987c313b1cb655ff/MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:aa7bd130efab1c280bed0f45501b7c8795f9fdbeb02e965371bbef3523627779"}, 611 | {url = "https://files.pythonhosted.org/packages/4d/e4/77bb622d6a37aeb51ee55857100986528b7f47d6dbddc35f9b404622ed50/MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b7ff0f54cb4ff66dd38bebd335a38e2c22c41a8ee45aa608efc890ac3e3931bc"}, 612 | {url = "https://files.pythonhosted.org/packages/4f/13/cf36eff21600fb21d5bd8c4c1b6ff0b7cc0ff37b955017210cfc6f367972/MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb0932dc158471523c9637e807d9bfb93e06a95cbf010f1a38b98623b929ef2b"}, 613 | {url = "https://files.pythonhosted.org/packages/62/9b/4908a57acf39d8811836bc6776b309c2e07d63791485589acf0b6d7bc0c6/MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6b2b56950d93e41f33b4223ead100ea0fe11f8e6ee5f641eb753ce4b77a7042b"}, 614 | {url = "https://files.pythonhosted.org/packages/68/8d/c33c43c499c19f4b51181e196c9a497010908fc22c5de33551e298aa6a21/MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9dcdfd0eaf283af041973bff14a2e143b8bd64e069f4c383416ecd79a81aab58"}, 615 | {url = "https://files.pythonhosted.org/packages/6a/86/654dc431513cd4417dfcead8102f22bece2d6abf2f584f0e1cc1524f7b94/MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:8023faf4e01efadfa183e863fefde0046de576c6f14659e8782065bcece22198"}, 616 | {url = "https://files.pythonhosted.org/packages/6d/7c/59a3248f411813f8ccba92a55feaac4bf360d29e2ff05ee7d8e1ef2d7dbf/MarkupSafe-2.1.3.tar.gz", hash = "sha256:af598ed32d6ae86f1b747b82783958b1a4ab8f617b06fe68795c7f026abbdcad"}, 617 | {url = "https://files.pythonhosted.org/packages/71/61/f5673d7aac2cf7f203859008bb3fc2b25187aa330067c5e9955e5c5ebbab/MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:962f82a3086483f5e5f64dbad880d31038b698494799b097bc59c2edf392fce6"}, 618 | {url = "https://files.pythonhosted.org/packages/74/a3/54fc60ee2da3ab6d68b1b2daf4897297c597840212ee126e68a4eb89fcd7/MarkupSafe-2.1.3-cp38-cp38-win_amd64.whl", hash = "sha256:1b40069d487e7edb2676d3fbdb2b0829ffa2cd63a2ec26c4938b2d34391b4ecc"}, 619 | {url = "https://files.pythonhosted.org/packages/7d/48/6ba4db436924698ca22109325969e00be459d417830dafec3c1001878b57/MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca379055a47383d02a5400cb0d110cef0a776fc644cda797db0c5696cfd7e18e"}, 620 | {url = "https://files.pythonhosted.org/packages/84/a8/c4aebb8a14a1d39d5135eb8233a0b95831cdc42c4088358449c3ed657044/MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl", hash = "sha256:1577735524cdad32f9f694208aa75e422adba74f1baee7551620e43a3141f559"}, 621 | {url = "https://files.pythonhosted.org/packages/8b/bb/72ca339b012054a84753accabe3258e0baf6e34bd0ab6e3670b9a65f679d/MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:69c0f17e9f5a7afdf2cc9fb2d1ce6aabdb3bafb7f38017c0b77862bcec2bbad8"}, 622 | {url = "https://files.pythonhosted.org/packages/8d/66/4a46c7f1402e0377a8b220fd4b53cc4f1b2337ab0d97f06e23acd1f579d1/MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8afafd99945ead6e075b973fefa56379c5b5c53fd8937dad92c662da5d8fd5ee"}, 623 | {url = "https://files.pythonhosted.org/packages/96/e4/4db3b1abc5a1fe7295aa0683eafd13832084509c3b8236f3faf8dd4eff75/MarkupSafe-2.1.3-cp310-cp310-win32.whl", hash = "sha256:10bbfe99883db80bdbaff2dcf681dfc6533a614f700da1287707e8a5d78a8431"}, 624 | {url = "https://files.pythonhosted.org/packages/9b/c1/9f44da5ca74f95116c644892152ca6514ecdc34c8297a3f40d886147863d/MarkupSafe-2.1.3-cp37-cp37m-win_amd64.whl", hash = "sha256:787003c0ddb00500e49a10f2844fac87aa6ce977b90b0feaaf9de23c22508b24"}, 625 | {url = "https://files.pythonhosted.org/packages/a2/b2/624042cb58cc6b3529a6c3a7b7d230766e3ecb768cba118ba7befd18ed6f/MarkupSafe-2.1.3-cp39-cp39-win_amd64.whl", hash = "sha256:3fd4abcb888d15a94f32b75d8fd18ee162ca0c064f35b11134be77050296d6ba"}, 626 | {url = "https://files.pythonhosted.org/packages/a2/f7/9175ad1b8152092f7c3b78c513c1bdfe9287e0564447d1c2d3d1a2471540/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b076b6226fb84157e3f7c971a47ff3a679d837cf338547532ab866c57930dbee"}, 627 | {url = "https://files.pythonhosted.org/packages/a6/56/f1d4ee39e898a9e63470cbb7fae1c58cce6874f25f54220b89213a47f273/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:68e78619a61ecf91e76aa3e6e8e33fc4894a2bebe93410754bd28fce0a8a4f9f"}, 628 | {url = "https://files.pythonhosted.org/packages/a8/12/fd9ef3e09a7312d60467c71037283553ff2acfcd950159cd4c3ca9558af4/MarkupSafe-2.1.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:8e254ae696c88d98da6555f5ace2279cf7cd5b3f52be2b5cf97feafe883b58d2"}, 629 | {url = "https://files.pythonhosted.org/packages/ab/20/f59423543a8422cb8c69a579ebd0ef2c9dafa70cc8142b7372b5b4073caa/MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e"}, 630 | {url = "https://files.pythonhosted.org/packages/b2/0d/cbaade3ee8efbd5ce2fb72b48cc51479ebf3d4ce2c54dcb6557d3ea6a950/MarkupSafe-2.1.3-cp37-cp37m-win32.whl", hash = "sha256:8758846a7e80910096950b67071243da3e5a20ed2546e6392603c096778d48e0"}, 631 | {url = "https://files.pythonhosted.org/packages/b2/27/07e5aa9f93314dc65ad2ad9b899656dee79b70a9425ee199dd5a4c4cf2cd/MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:504b320cd4b7eff6f968eddf81127112db685e81f7e36e75f9f84f0df46041c3"}, 632 | {url = "https://files.pythonhosted.org/packages/bb/82/f88ccb3ca6204a4536cf7af5abdad7c3657adac06ab33699aa67279e0744/MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5bbe06f8eeafd38e5d0a4894ffec89378b6c6a625ff57e3028921f8ff59318ac"}, 633 | {url = "https://files.pythonhosted.org/packages/be/bb/08b85bc194034efbf572e70c3951549c8eca0ada25363afc154386b5390a/MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:134da1eca9ec0ae528110ccc9e48041e0828d79f24121a1a146161103c76e686"}, 634 | {url = "https://files.pythonhosted.org/packages/bf/b7/c5ba9b7ad9ad21fc4a60df226615cf43ead185d328b77b0327d603d00cc5/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:525808b8019e36eb524b8c68acdd63a37e75714eac50e988180b169d64480a00"}, 635 | {url = "https://files.pythonhosted.org/packages/c0/c7/171f5ac6b065e1425e8fabf4a4dfbeca76fd8070072c6a41bd5c07d90d8b/MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3c0fae6c3be832a0a0473ac912810b2877c8cb9d76ca48de1ed31e1c68386575"}, 636 | {url = "https://files.pythonhosted.org/packages/c9/80/f08e782943ee7ae6e9438851396d00a869f5b50ea8c6e1f40385f3e95771/MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:42de32b22b6b804f42c5d98be4f7e5e977ecdd9ee9b660fda1a3edf03b11792d"}, 637 | {url = "https://files.pythonhosted.org/packages/d2/a1/4ae49dd1520c7b891ea4963258aab08fb2554c564781ecb2a9c4afdf9cb1/MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c011a4149cfbcf9f03994ec2edffcb8b1dc2d2aede7ca243746df97a5d41ce48"}, 638 | {url = "https://files.pythonhosted.org/packages/d5/c1/1177f712d4ab91eb67f79d763a7b5f9c5851ee3077d6b4eee15e23b6b93e/MarkupSafe-2.1.3-cp39-cp39-win32.whl", hash = "sha256:fec21693218efe39aa7f8599346e90c705afa52c5b31ae019b2e57e8f6542bb2"}, 639 | {url = "https://files.pythonhosted.org/packages/de/63/cb7e71984e9159ec5f45b5e81e896c8bdd0e45fe3fc6ce02ab497f0d790e/MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e"}, 640 | {url = "https://files.pythonhosted.org/packages/de/e2/32c14301bb023986dff527a49325b6259cab4ebb4633f69de54af312fc45/MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c41976a29d078bb235fea9b2ecd3da465df42a562910f9022f1a03107bd02be"}, 641 | {url = "https://files.pythonhosted.org/packages/e5/dd/49576e803c0d974671e44fa78049217fcc68af3662a24f831525ed30e6c7/MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9402b03f1a1b4dc4c19845e5c749e3ab82d5078d16a2a4c2cd2df62d57bb0707"}, 642 | {url = "https://files.pythonhosted.org/packages/e6/5c/8ab8f67bbbbf90fe88f887f4fa68123435c5415531442e8aefef1e118d5c/MarkupSafe-2.1.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d080e0a5eb2529460b30190fcfcc4199bd7f827663f858a226a81bc27beaa97e"}, 643 | {url = "https://files.pythonhosted.org/packages/f4/a0/103f94793c3bf829a18d2415117334ece115aeca56f2df1c47fa02c6dbd6/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:338ae27d6b8745585f87218a3f23f1512dbf52c26c28e322dbe54bcede54ccb9"}, 644 | {url = "https://files.pythonhosted.org/packages/f7/9c/86cbd8e0e1d81f0ba420f20539dd459c50537c7751e28102dbfee2b6f28c/MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e09031c87a1e51556fdcb46e5bd4f59dfb743061cf93c4d6831bf894f125eb57"}, 645 | {url = "https://files.pythonhosted.org/packages/f8/33/e9e83b214b5f8d9a60b26e60051734e7657a416e5bce7d7f1c34e26badad/MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2c1b19b3aaacc6e57b7e25710ff571c24d6c3613a45e905b1fde04d691b98ee0"}, 646 | {url = "https://files.pythonhosted.org/packages/fa/bb/12fb5964c4a766eb98155dd31ec070adc8a69a395564ffc1e7b34d91335a/MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:56d9f2ecac662ca1611d183feb03a3fa4406469dafe241673d521dd5ae92a155"}, 647 | {url = "https://files.pythonhosted.org/packages/fe/09/c31503cb8150cf688c1534a7135cc39bb9092f8e0e6369ec73494d16ee0e/MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ad9e82fb8f09ade1c3e1b996a6337afac2b8b9e365f926f5a61aacc71adc5b3c"}, 648 | {url = "https://files.pythonhosted.org/packages/fe/21/2eff1de472ca6c99ec3993eab11308787b9879af9ca8bbceb4868cf4f2ca/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bfce63a9e7834b12b87c64d6b155fdd9b3b96191b6bd334bf37db7ff1fe457f2"}, 649 | ] 650 | "mdit-py-plugins 0.3.5" = [ 651 | {url = "https://files.pythonhosted.org/packages/49/e7/cc2720da8a32724b36d04c6dba5644154cdf883a1482b3bbb81959a642ed/mdit-py-plugins-0.3.5.tar.gz", hash = "sha256:eee0adc7195e5827e17e02d2a258a2ba159944a0748f59c5099a4a27f78fcf6a"}, 652 | {url = "https://files.pythonhosted.org/packages/fe/4c/a9b222f045f98775034d243198212cbea36d3524c3ee1e8ab8c0346d6953/mdit_py_plugins-0.3.5-py3-none-any.whl", hash = "sha256:ca9a0714ea59a24b2b044a1831f48d817dd0c817e84339f20e7889f392d77c4e"}, 653 | ] 654 | "mdurl 0.1.2" = [ 655 | {url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8"}, 656 | {url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"}, 657 | ] 658 | "mypy-extensions 1.0.0" = [ 659 | {url = "https://files.pythonhosted.org/packages/2a/e2/5d3f6ada4297caebe1a2add3b126fe800c96f56dbe5d1988a2cbe0b267aa/mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"}, 660 | {url = "https://files.pythonhosted.org/packages/98/a4/1ab47638b92648243faf97a5aeb6ea83059cc3624972ab6b8d2316078d3f/mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, 661 | ] 662 | "myst-parser 0.18.1" = [ 663 | {url = "https://files.pythonhosted.org/packages/68/13/91438d3b835a022fcacd858a7106d4813cfccf98b1fd9a6196cfa2c859df/myst-parser-0.18.1.tar.gz", hash = "sha256:79317f4bb2c13053dd6e64f9da1ba1da6cd9c40c8a430c447a7b146a594c246d"}, 664 | {url = "https://files.pythonhosted.org/packages/72/fd/594c936c65e707deda5670e8fff5ca2c948a12e922813eab5d316694e9ca/myst_parser-0.18.1-py3-none-any.whl", hash = "sha256:61b275b85d9f58aa327f370913ae1bec26ebad372cc99f3ab85c8ec3ee8d9fb8"}, 665 | ] 666 | "packaging 23.1" = [ 667 | {url = "https://files.pythonhosted.org/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"}, 668 | {url = "https://files.pythonhosted.org/packages/b9/6c/7c6658d258d7971c5eb0d9b69fa9265879ec9a9158031206d47800ae2213/packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"}, 669 | ] 670 | "pathspec 0.11.2" = [ 671 | {url = "https://files.pythonhosted.org/packages/a0/2a/bd167cdf116d4f3539caaa4c332752aac0b3a0cc0174cdb302ee68933e81/pathspec-0.11.2.tar.gz", hash = "sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3"}, 672 | {url = "https://files.pythonhosted.org/packages/b4/2a/9b1be29146139ef459188f5e420a66e835dda921208db600b7037093891f/pathspec-0.11.2-py3-none-any.whl", hash = "sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20"}, 673 | ] 674 | "pbr 5.11.1" = [ 675 | {url = "https://files.pythonhosted.org/packages/01/06/4ab11bf70db5a60689fc521b636849c8593eb67a2c6bdf73a16c72d16a12/pbr-5.11.1-py2.py3-none-any.whl", hash = "sha256:567f09558bae2b3ab53cb3c1e2e33e726ff3338e7bae3db5dc954b3a44eef12b"}, 676 | {url = "https://files.pythonhosted.org/packages/02/d8/acee75603f31e27c51134a858e0dea28d321770c5eedb9d1d673eb7d3817/pbr-5.11.1.tar.gz", hash = "sha256:aefc51675b0b533d56bb5fd1c8c6c0522fe31896679882e1c4c63d5e4a0fccb3"}, 677 | ] 678 | "platformdirs 3.10.0" = [ 679 | {url = "https://files.pythonhosted.org/packages/14/51/fe5a0d6ea589f0d4a1b97824fb518962ad48b27cd346dcdfa2405187997a/platformdirs-3.10.0-py3-none-any.whl", hash = "sha256:d7c24979f292f916dc9cbf8648319032f551ea8c49a4c9bf2fb556a02070ec1d"}, 680 | {url = "https://files.pythonhosted.org/packages/dc/99/c922839819f5d00d78b3a1057b5ceee3123c69b2216e776ddcb5a4c265ff/platformdirs-3.10.0.tar.gz", hash = "sha256:b45696dab2d7cc691a3226759c0d3b00c47c8b6e293d96f6436f733303f77f6d"}, 681 | ] 682 | "pluggy 1.3.0" = [ 683 | {url = "https://files.pythonhosted.org/packages/05/b8/42ed91898d4784546c5f06c60506400548db3f7a4b3fb441cba4e5c17952/pluggy-1.3.0-py3-none-any.whl", hash = "sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7"}, 684 | {url = "https://files.pythonhosted.org/packages/36/51/04defc761583568cae5fd533abda3d40164cbdcf22dee5b7126ffef68a40/pluggy-1.3.0.tar.gz", hash = "sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12"}, 685 | ] 686 | "pygments 2.16.1" = [ 687 | {url = "https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl", hash = "sha256:13fc09fa63bc8d8671a6d247e1eb303c4b343eaee81d861f3404db2935653692"}, 688 | {url = "https://files.pythonhosted.org/packages/d6/f7/4d461ddf9c2bcd6a4d7b2b139267ca32a69439387cc1f02a924ff8883825/Pygments-2.16.1.tar.gz", hash = "sha256:1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29"}, 689 | ] 690 | "pytest 7.4.0" = [ 691 | {url = "https://files.pythonhosted.org/packages/33/b2/741130cbcf2bbfa852ed95a60dc311c9e232c7ed25bac3d9b8880a8df4ae/pytest-7.4.0-py3-none-any.whl", hash = "sha256:78bf16451a2eb8c7a2ea98e32dc119fd2aa758f1d5d66dbf0a59d69a3969df32"}, 692 | {url = "https://files.pythonhosted.org/packages/a7/f3/dadfbdbf6b6c8b5bd02adb1e08bc9fbb45ba51c68b0893fa536378cdf485/pytest-7.4.0.tar.gz", hash = "sha256:b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a"}, 693 | ] 694 | "pytest-xdist 3.3.1" = [ 695 | {url = "https://files.pythonhosted.org/packages/db/d1/70a67f79b31cb5cba09c96bc4590c6ac22608558664901df03fdee24f6a6/pytest_xdist-3.3.1-py3-none-any.whl", hash = "sha256:ff9daa7793569e6a68544850fd3927cd257cc03a7ef76c95e86915355e82b5f2"}, 696 | {url = "https://files.pythonhosted.org/packages/e2/5c/eae1b20cbea054d4e11ca5cb4f9b163000e885a2ae62e433375e8cdf1097/pytest-xdist-3.3.1.tar.gz", hash = "sha256:d5ee0520eb1b7bcca50a60a518ab7a7707992812c578198f8b44fdfac78e8c93"}, 697 | ] 698 | "pytz 2023.3" = [ 699 | {url = "https://files.pythonhosted.org/packages/5e/32/12032aa8c673ee16707a9b6cdda2b09c0089131f35af55d443b6a9c69c1d/pytz-2023.3.tar.gz", hash = "sha256:1d8ce29db189191fb55338ee6d0387d82ab59f3d00eac103412d64e0ebd0c588"}, 700 | {url = "https://files.pythonhosted.org/packages/7f/99/ad6bd37e748257dd70d6f85d916cafe79c0b0f5e2e95b11f7fbc82bf3110/pytz-2023.3-py2.py3-none-any.whl", hash = "sha256:a151b3abb88eda1d4e34a9814df37de2a80e301e68ba0fd856fb9b46bfbbbffb"}, 701 | ] 702 | "pyyaml 6.0.1" = [ 703 | {url = "https://files.pythonhosted.org/packages/02/74/b2320ebe006b6a521cf929c78f12a220b9db319b38165023623ed195654b/PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, 704 | {url = "https://files.pythonhosted.org/packages/03/f7/4f8b71f3ce8cfb2c06e814aeda5b26ecc62ecb5cf85f5c8898be34e6eb6a/PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, 705 | {url = "https://files.pythonhosted.org/packages/06/92/e0224aa6ebf9dc54a06a4609da37da40bb08d126f5535d81bff6b417b2ae/PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, 706 | {url = "https://files.pythonhosted.org/packages/0e/88/21b2f16cb2123c1e9375f2c93486e35fdc86e63f02e274f0e99c589ef153/PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, 707 | {url = "https://files.pythonhosted.org/packages/1e/ae/964ccb88a938f20ece5754878f182cfbd846924930d02d29d06af8d4c69e/PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, 708 | {url = "https://files.pythonhosted.org/packages/24/62/7fcc372442ec8ea331da18c24b13710e010c5073ab851ef36bf9dacb283f/PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, 709 | {url = "https://files.pythonhosted.org/packages/24/97/9b59b43431f98d01806b288532da38099cc6f2fea0f3d712e21e269c0279/PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, 710 | {url = "https://files.pythonhosted.org/packages/27/d5/fb4f7a3c96af89c214387af42c76117d2c2a0a40576e217632548a6e1aff/PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, 711 | {url = "https://files.pythonhosted.org/packages/28/09/55f715ddbf95a054b764b547f617e22f1d5e45d83905660e9a088078fe67/PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, 712 | {url = "https://files.pythonhosted.org/packages/29/0f/9782fa5b10152abf033aec56a601177ead85ee03b57781f2d9fced09eefc/PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, 713 | {url = "https://files.pythonhosted.org/packages/29/61/bf33c6c85c55bc45a29eee3195848ff2d518d84735eb0e2d8cb42e0d285e/PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, 714 | {url = "https://files.pythonhosted.org/packages/41/9a/1c4c51f1a0d2b6fd805973701ab0ec84d5e622c5aaa573b0e1157f132809/PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, 715 | {url = "https://files.pythonhosted.org/packages/4a/4b/c71ef18ef83c82f99e6da8332910692af78ea32bd1d1d76c9787dfa36aea/PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, 716 | {url = "https://files.pythonhosted.org/packages/4d/f1/08f06159739254c8947899c9fc901241614195db15ba8802ff142237664c/PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, 717 | {url = "https://files.pythonhosted.org/packages/57/c5/5d09b66b41d549914802f482a2118d925d876dc2a35b2d127694c1345c34/PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, 718 | {url = "https://files.pythonhosted.org/packages/5b/07/10033a403b23405a8fc48975444463d3d10a5c2736b7eb2550b07b367429/PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, 719 | {url = "https://files.pythonhosted.org/packages/5e/94/7d5ee059dfb92ca9e62f4057dcdec9ac08a9e42679644854dc01177f8145/PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, 720 | {url = "https://files.pythonhosted.org/packages/62/2a/df7727c52e151f9e7b852d7d1580c37bd9e39b2f29568f0f81b29ed0abc2/PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, 721 | {url = "https://files.pythonhosted.org/packages/73/9c/766e78d1efc0d1fca637a6b62cea1b4510a7fb93617eb805223294fef681/PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, 722 | {url = "https://files.pythonhosted.org/packages/7b/5e/efd033ab7199a0b2044dab3b9f7a4f6670e6a52c089de572e928d2873b06/PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, 723 | {url = "https://files.pythonhosted.org/packages/7d/39/472f2554a0f1e825bd7c5afc11c817cd7a2f3657460f7159f691fbb37c51/PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, 724 | {url = "https://files.pythonhosted.org/packages/7f/5d/2779ea035ba1e533c32ed4a249b4e0448f583ba10830b21a3cddafe11a4e/PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, 725 | {url = "https://files.pythonhosted.org/packages/84/4d/82704d1ab9290b03da94e6425f5e87396b999fd7eb8e08f3a92c158402bf/PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, 726 | {url = "https://files.pythonhosted.org/packages/96/06/4beb652c0fe16834032e54f0956443d4cc797fe645527acee59e7deaa0a2/PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, 727 | {url = "https://files.pythonhosted.org/packages/ac/6c/967d91a8edf98d2b2b01d149bd9e51b8f9fb527c98d80ebb60c6b21d60c4/PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, 728 | {url = "https://files.pythonhosted.org/packages/b3/34/65bb4b2d7908044963ebf614fe0fdb080773fc7030d7e39c8d3eddcd4257/PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, 729 | {url = "https://files.pythonhosted.org/packages/b6/a0/b6700da5d49e9fed49dc3243d3771b598dad07abb37cc32e524607f96adc/PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, 730 | {url = "https://files.pythonhosted.org/packages/ba/91/090818dfa62e85181f3ae23dd1e8b7ea7f09684864a900cab72d29c57346/PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, 731 | {url = "https://files.pythonhosted.org/packages/c1/39/47ed4d65beec9ce07267b014be85ed9c204fa373515355d3efa62d19d892/PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, 732 | {url = "https://files.pythonhosted.org/packages/c7/d1/02baa09d39b1bb1ebaf0d850d106d1bdcb47c91958557f471153c49dc03b/PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, 733 | {url = "https://files.pythonhosted.org/packages/c8/6b/6600ac24725c7388255b2f5add93f91e58a5d7efaf4af244fdbcc11a541b/PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, 734 | {url = "https://files.pythonhosted.org/packages/cc/5c/fcabd17918348c7db2eeeb0575705aaf3f7ab1657f6ce29b2e31737dd5d1/PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, 735 | {url = "https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, 736 | {url = "https://files.pythonhosted.org/packages/d6/6a/439d1a6f834b9a9db16332ce16c4a96dd0e3970b65fe08cbecd1711eeb77/PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, 737 | {url = "https://files.pythonhosted.org/packages/d7/8f/db62b0df635b9008fe90aa68424e99cee05e68b398740c8a666a98455589/PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, 738 | {url = "https://files.pythonhosted.org/packages/e1/a1/27bfac14b90adaaccf8c8289f441e9f76d94795ec1e7a8f134d9f2cb3d0b/PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, 739 | {url = "https://files.pythonhosted.org/packages/e5/31/ba812efa640a264dbefd258986a5e4e786230cb1ee4a9f54eb28ca01e14a/PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, 740 | {url = "https://files.pythonhosted.org/packages/ec/0d/26fb23e8863e0aeaac0c64e03fd27367ad2ae3f3cccf3798ee98ce160368/PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, 741 | {url = "https://files.pythonhosted.org/packages/f1/26/55e4f21db1f72eaef092015d9017c11510e7e6301c62a6cfee91295d13c6/PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, 742 | {url = "https://files.pythonhosted.org/packages/fe/88/def2e57fe740544f2eefb1645f1d6e0094f56c00f4eade708140b6137ead/PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, 743 | ] 744 | "requests 2.31.0" = [ 745 | {url = "https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, 746 | {url = "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, 747 | ] 748 | "rich 13.5.2" = [ 749 | {url = "https://files.pythonhosted.org/packages/8d/5f/21a93b2ec205f4b79853ff6e838e3c99064d5dbe85ec6b05967506f14af0/rich-13.5.2-py3-none-any.whl", hash = "sha256:146a90b3b6b47cac4a73c12866a499e9817426423f57c5a66949c086191a8808"}, 750 | {url = "https://files.pythonhosted.org/packages/ad/1a/94fe086875350afbd61795c3805e38ef085af466a695db605bcdd34b4c9c/rich-13.5.2.tar.gz", hash = "sha256:fb9d6c0a0f643c99eed3875b5377a184132ba9be4d61516a55273d3554d75a39"}, 751 | ] 752 | "smmap 5.0.0" = [ 753 | {url = "https://files.pythonhosted.org/packages/21/2d/39c6c57032f786f1965022563eec60623bb3e1409ade6ad834ff703724f3/smmap-5.0.0.tar.gz", hash = "sha256:c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936"}, 754 | {url = "https://files.pythonhosted.org/packages/6d/01/7caa71608bc29952ae09b0be63a539e50d2484bc37747797a66a60679856/smmap-5.0.0-py3-none-any.whl", hash = "sha256:2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94"}, 755 | ] 756 | "snowballstemmer 2.2.0" = [ 757 | {url = "https://files.pythonhosted.org/packages/44/7b/af302bebf22c749c56c9c3e8ae13190b5b5db37a33d9068652e8f73b7089/snowballstemmer-2.2.0.tar.gz", hash = "sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"}, 758 | {url = "https://files.pythonhosted.org/packages/ed/dc/c02e01294f7265e63a7315fe086dd1df7dacb9f840a804da846b96d01b96/snowballstemmer-2.2.0-py2.py3-none-any.whl", hash = "sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a"}, 759 | ] 760 | "sphinx 4.5.0" = [ 761 | {url = "https://files.pythonhosted.org/packages/91/96/9cbbc7103fb482d5809fe4976ecb9b627058210d02817fcbfeebeaa8f762/Sphinx-4.5.0-py3-none-any.whl", hash = "sha256:ebf612653238bcc8f4359627a9b7ce44ede6fdd75d9d30f68255c7383d3a6226"}, 762 | {url = "https://files.pythonhosted.org/packages/d5/b9/b831ea20dde3c3b726e41403eaee92cc448083cef310790c31c6ccfb22e3/Sphinx-4.5.0.tar.gz", hash = "sha256:7bf8ca9637a4ee15af412d1a1d9689fec70523a68ca9bb9127c2f3eeb344e2e6"}, 763 | ] 764 | "sphinx-autodoc-typehints 1.19.1" = [ 765 | {url = "https://files.pythonhosted.org/packages/2c/04/53d13c123a2d2ac6c5fd073a0d0a258323815650de147062a514f382f0ac/sphinx_autodoc_typehints-1.19.1.tar.gz", hash = "sha256:6c841db55e0e9be0483ff3962a2152b60e79306f4288d8c4e7e86ac84486a5ea"}, 766 | {url = "https://files.pythonhosted.org/packages/57/fc/bfadc16f4046de2f0069217d7202942bf47fe004853cb59fbd3138367a60/sphinx_autodoc_typehints-1.19.1-py3-none-any.whl", hash = "sha256:9be46aeeb1b315eb5df1f3a7cb262149895d16c7d7dcd77b92513c3c3a1e85e6"}, 767 | ] 768 | "sphinx-rtd-theme 1.0.0" = [ 769 | {url = "https://files.pythonhosted.org/packages/1c/32/580309c9fd5b1892c6616ce814710c6b14423e98bf1c101bf2c710433cee/sphinx_rtd_theme-1.0.0.tar.gz", hash = "sha256:eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c"}, 770 | {url = "https://files.pythonhosted.org/packages/e0/d2/3818e4730e314719e27f639c44164419e40eed826d63753dc480262036e8/sphinx_rtd_theme-1.0.0-py2.py3-none-any.whl", hash = "sha256:4d35a56f4508cfee4c4fb604373ede6feae2a306731d533f409ef5c3496fdbd8"}, 771 | ] 772 | "sphinxcontrib-apidoc 0.3.0" = [ 773 | {url = "https://files.pythonhosted.org/packages/57/55/23f6919551a5e0a824f0effc3a85dd1cbc8df225196c0f6b82c7cea38299/sphinxcontrib-apidoc-0.3.0.tar.gz", hash = "sha256:729bf592cf7b7dd57c4c05794f732dc026127275d785c2a5494521fdde773fb9"}, 774 | {url = "https://files.pythonhosted.org/packages/60/8d/a426a9f7f9ffc8e02d377ca82e3f005817ccf0141b85dbb8653aad13901b/sphinxcontrib_apidoc-0.3.0-py2.py3-none-any.whl", hash = "sha256:6671a46b2c6c5b0dca3d8a147849d159065e50443df79614f921b42fbd15cb09"}, 775 | ] 776 | "sphinxcontrib-applehelp 1.0.4" = [ 777 | {url = "https://files.pythonhosted.org/packages/06/c1/5e2cafbd03105ce50d8500f9b4e8a6e8d02e22d0475b574c3b3e9451a15f/sphinxcontrib_applehelp-1.0.4-py3-none-any.whl", hash = "sha256:29d341f67fb0f6f586b23ad80e072c8e6ad0b48417db2bde114a4c9746feb228"}, 778 | {url = "https://files.pythonhosted.org/packages/32/df/45e827f4d7e7fcc84e853bcef1d836effd762d63ccb86f43ede4e98b478c/sphinxcontrib-applehelp-1.0.4.tar.gz", hash = "sha256:828f867945bbe39817c210a1abfd1bc4895c8b73fcaade56d45357a348a07d7e"}, 779 | ] 780 | "sphinxcontrib-devhelp 1.0.2" = [ 781 | {url = "https://files.pythonhosted.org/packages/98/33/dc28393f16385f722c893cb55539c641c9aaec8d1bc1c15b69ce0ac2dbb3/sphinxcontrib-devhelp-1.0.2.tar.gz", hash = "sha256:ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4"}, 782 | {url = "https://files.pythonhosted.org/packages/c5/09/5de5ed43a521387f18bdf5f5af31d099605c992fd25372b2b9b825ce48ee/sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e"}, 783 | ] 784 | "sphinxcontrib-htmlhelp 2.0.1" = [ 785 | {url = "https://files.pythonhosted.org/packages/6e/ee/a1f5e39046cbb5f8bc8fba87d1ddf1c6643fbc9194e58d26e606de4b9074/sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl", hash = "sha256:c38cb46dccf316c79de6e5515e1770414b797162b23cd3d06e67020e1d2a6903"}, 786 | {url = "https://files.pythonhosted.org/packages/b3/47/64cff68ea3aa450c373301e5bebfbb9fce0a3e70aca245fcadd4af06cd75/sphinxcontrib-htmlhelp-2.0.1.tar.gz", hash = "sha256:0cbdd302815330058422b98a113195c9249825d681e18f11e8b1f78a2f11efff"}, 787 | ] 788 | "sphinxcontrib-jsmath 1.0.1" = [ 789 | {url = "https://files.pythonhosted.org/packages/b2/e8/9ed3830aeed71f17c026a07a5097edcf44b692850ef215b161b8ad875729/sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"}, 790 | {url = "https://files.pythonhosted.org/packages/c2/42/4c8646762ee83602e3fb3fbe774c2fac12f317deb0b5dbeeedd2d3ba4b77/sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl", hash = "sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178"}, 791 | ] 792 | "sphinxcontrib-qthelp 1.0.3" = [ 793 | {url = "https://files.pythonhosted.org/packages/2b/14/05f9206cf4e9cfca1afb5fd224c7cd434dcc3a433d6d9e4e0264d29c6cdb/sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl", hash = "sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6"}, 794 | {url = "https://files.pythonhosted.org/packages/b1/8e/c4846e59f38a5f2b4a0e3b27af38f2fcf904d4bfd82095bf92de0b114ebd/sphinxcontrib-qthelp-1.0.3.tar.gz", hash = "sha256:4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72"}, 795 | ] 796 | "sphinxcontrib-serializinghtml 1.1.5" = [ 797 | {url = "https://files.pythonhosted.org/packages/b5/72/835d6fadb9e5d02304cf39b18f93d227cd93abd3c41ebf58e6853eeb1455/sphinxcontrib-serializinghtml-1.1.5.tar.gz", hash = "sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952"}, 798 | {url = "https://files.pythonhosted.org/packages/c6/77/5464ec50dd0f1c1037e3c93249b040c8fc8078fdda97530eeb02424b6eea/sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl", hash = "sha256:352a9a00ae864471d3a7ead8d7d79f5fc0b57e8b3f95e9867eb9eb28999b92fd"}, 799 | ] 800 | "stevedore 5.1.0" = [ 801 | {url = "https://files.pythonhosted.org/packages/4b/68/e739fd061b0aba464bef8e8be48428b2aabbfb3f2f8f2f8ca257363ee6b2/stevedore-5.1.0-py3-none-any.whl", hash = "sha256:8cc040628f3cea5d7128f2e76cf486b2251a4e543c7b938f58d9a377f6694a2d"}, 802 | {url = "https://files.pythonhosted.org/packages/ac/d6/77387d3fc81f07bc8877e6f29507bd7943569093583b0a07b28cfa286780/stevedore-5.1.0.tar.gz", hash = "sha256:a54534acf9b89bc7ed264807013b505bf07f74dbe4bcfa37d32bd063870b087c"}, 803 | ] 804 | "tomli 2.0.1" = [ 805 | {url = "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, 806 | {url = "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, 807 | ] 808 | "typing-extensions 4.7.1" = [ 809 | {url = "https://files.pythonhosted.org/packages/3c/8b/0111dd7d6c1478bf83baa1cab85c686426c7a6274119aceb2bd9d35395ad/typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2"}, 810 | {url = "https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl", hash = "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36"}, 811 | ] 812 | "urllib3 2.0.4" = [ 813 | {url = "https://files.pythonhosted.org/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946/urllib3-2.0.4.tar.gz", hash = "sha256:8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11"}, 814 | {url = "https://files.pythonhosted.org/packages/9b/81/62fd61001fa4b9d0df6e31d47ff49cfa9de4af03adecf339c7bc30656b37/urllib3-2.0.4-py3-none-any.whl", hash = "sha256:de7df1803967d2c2a98e4b11bb7d6bd9210474c46e8a0401514e3a42a75ebde4"}, 815 | ] 816 | "zipp 3.16.2" = [ 817 | {url = "https://files.pythonhosted.org/packages/8c/08/d3006317aefe25ea79d3b76c9650afabaf6d63d1c8443b236e7405447503/zipp-3.16.2-py3-none-any.whl", hash = "sha256:679e51dd4403591b2d6838a48de3d283f3d188412a9782faadf845f298736ba0"}, 818 | {url = "https://files.pythonhosted.org/packages/e2/45/f3b987ad5bf9e08095c1ebe6352238be36f25dd106fde424a160061dce6d/zipp-3.16.2.tar.gz", hash = "sha256:ebc15946aa78bd63458992fc81ec3b6f7b1e92d51c35e6de1c3804e73b799147"}, 819 | ] 820 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | name = "pdm-plugin-torch" 3 | version = "23.4.0" 4 | description = "A plugin to help installing torch versions" 5 | authors = [ 6 | {name = "Embark Studios", email = "python@embark-studios.com"}, 7 | ] 8 | requires-python = ">=3.8" 9 | readme = "README.md" 10 | license = {text = "MIT"} 11 | dependencies = [ ] 12 | 13 | [tool.pdm.dev-dependencies] 14 | tools = [ 15 | "pytest~=6.0", 16 | "black~=22.1", 17 | "bandit~=1.7", 18 | "isort~=5.10", 19 | "pytest", 20 | "pytest-xdist", 21 | ] 22 | 23 | docs = [ 24 | "Sphinx~=4.4", 25 | "sphinxcontrib-apidoc~=0.3", 26 | "sphinx-autodoc-typehints~=1.17", 27 | "sphinx-rtd-theme~=1.0.0", 28 | "myst-parser~=0.18.0" 29 | ] 30 | 31 | [project.urls] 32 | repository = "https://github.com/EmbarkStudios/pdm-plugin-torch" 33 | 34 | [build-system] 35 | requires = ["pdm-backend>=2.0.0"] 36 | build-backend = "pdm.backend" 37 | 38 | [project.entry-points.pdm] 39 | pdm_plugin_torch = "pdm_plugin_torch.main:torch_plugin" 40 | 41 | [tool.pdm.build] 42 | package-dir = "pdm-plugin-torch" 43 | includes = ["pdm-plugin-torch"] 44 | source-includes = ["tests", "CHANGELOG.md", "LICENSE", "README.md"] 45 | # editables backend doesn't work well with namespace packages 46 | editable-backend = "path" 47 | 48 | [tool.isort] 49 | py_version = 38 50 | profile = "black" 51 | combine_as_imports = true 52 | lines_between_types = 1 53 | lines_after_imports = 2 54 | src_paths = ["pdm-plugin-torch"] 55 | 56 | [tool.black] 57 | target-version = ['py38'] 58 | 59 | [tool.mypy] 60 | check_untyped_defs = true 61 | ignore_missing_imports = true 62 | show_error_codes = true 63 | warn_redundant_casts = true 64 | warn_unused_configs = true 65 | warn_unused_ignores = true 66 | files = "src" 67 | 68 | [tool.pytest.ini_options] 69 | minversion = "6.0" 70 | log_cli = true 71 | #log_cli_level = "INFO" # Useful when debugging locally 72 | log_format = "%(asctime)s:\t%(message)s" 73 | log_date_format = "%H:%M:%S" 74 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | 3 | 4 | FIXTURES = Path(__file__).parent / "fixtures" 5 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | from typing import Dict, Tuple 4 | 5 | import pytest 6 | 7 | 8 | os.environ.update(CI="1", PDM_CHECK_UPDATE="0") 9 | 10 | 11 | # store history of failures per test class name and per index in parametrize (if parametrize used) 12 | _test_failed_incremental: Dict[str, Dict[Tuple[int, ...], str]] = {} 13 | 14 | 15 | def pytest_runtest_makereport(item, call): 16 | if "incremental" in item.keywords: 17 | # incremental marker is used 18 | if call.excinfo is not None: 19 | # the test has failed 20 | # retrieve the class name of the test 21 | cls_name = str(item.cls) 22 | # retrieve the index of the test if parametrize is used in combination with incremental 23 | parametrize_index = ( 24 | tuple(item.callspec.indices.values()) 25 | if hasattr(item, "callspec") 26 | else () 27 | ) 28 | # retrieve the name of the test function 29 | test_name = item.originalname or item.name 30 | # store in _test_failed_incremental the original name of the failed test 31 | _test_failed_incremental.setdefault(cls_name, {}).setdefault( 32 | parametrize_index, test_name 33 | ) 34 | 35 | 36 | def pytest_runtest_setup(item): 37 | if "incremental" in item.keywords: 38 | # retrieve the class name of the test 39 | cls_name = str(item.cls) 40 | # check if a previous test has failed for this class 41 | if cls_name in _test_failed_incremental: 42 | # retrieve the index of the test if parametrize is used in combination with incremental 43 | parametrize_index = ( 44 | tuple(item.callspec.indices.values()) 45 | if hasattr(item, "callspec") 46 | else () 47 | ) 48 | # retrieve the name of the first test function to fail for this class name and index 49 | test_name = _test_failed_incremental[cls_name].get(parametrize_index, None) 50 | # if name found, test has failed for the combination of class name & test name 51 | if test_name is not None: 52 | pytest.xfail("previous test failed ({})".format(test_name)) 53 | 54 | 55 | def pytest_configure(config): 56 | config.addinivalue_line( 57 | "markers", "incremental: mark tests in class to run in series with early out" 58 | ) 59 | 60 | 61 | def pytest_addoption(parser): 62 | parser.addoption( 63 | "--pdm-bin", action="store", default="pdm", help="the pdm binary to run" 64 | ) 65 | -------------------------------------------------------------------------------- /tests/fixtures/cpu-only/pyproject.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | name = "test-cpu-only" 3 | authors = [ 4 | {name = "Tom Solberg", email = "me@sbg.dev"}, 5 | ] 6 | requires-python = ">=3.8" 7 | license = {text = "MIT"} 8 | dependencies = [] 9 | description = "" 10 | version = "0.0.01" 11 | 12 | [build-system] 13 | requires = ["pdm-backend"] 14 | build-backend = "pdm.backend" 15 | 16 | [tool.pdm] 17 | plugins = [ 18 | "../../" 19 | ] 20 | 21 | [tool.pdm.plugin.torch] 22 | dependencies = [ 23 | "torch==1.11.0" 24 | ] 25 | lockfile = "torch.lock" 26 | enable-cpu = true 27 | 28 | enable-rocm = false 29 | rocm-versions = ["4.5.2"] 30 | 31 | enable-cuda = false 32 | cuda-versions = ["cu115", "cu117"] 33 | 34 | [tool.pdm.scripts] 35 | post_lock = "pdm torch lock" 36 | -------------------------------------------------------------------------------- /tests/test_lock.py: -------------------------------------------------------------------------------- 1 | import os 2 | import shutil 3 | import subprocess 4 | 5 | from pathlib import Path 6 | from unittest import mock 7 | 8 | import pytest 9 | 10 | from tests import FIXTURES 11 | 12 | 13 | PLUGIN_DIR = os.path.abspath(f"{__file__}/../..") 14 | 15 | 16 | def copytree(src: Path, dst: Path) -> None: 17 | if not dst.exists(): 18 | dst.mkdir(parents=True) 19 | for subpath in src.iterdir(): 20 | if subpath.is_dir(): 21 | copytree(subpath, dst / subpath.name) 22 | else: 23 | shutil.copy2(subpath, dst) 24 | 25 | 26 | def make_entry_point(plugin): 27 | ret = mock.Mock() 28 | ret.load.return_value = plugin 29 | return ret 30 | 31 | 32 | def tmpdir_project(project_name, dest, pdm): 33 | source = FIXTURES / project_name 34 | copytree(source, dest) 35 | pdm(["config", "cache_dir", str("/tmp/.pdm_cache")], dest) 36 | 37 | 38 | @pytest.fixture 39 | def pdm(request): 40 | pdm_name = request.config.getoption("--pdm-bin") 41 | 42 | def _invoker(args, dir): 43 | output = subprocess.check_output([pdm_name, *args], cwd=dir) 44 | return output 45 | 46 | return _invoker 47 | 48 | 49 | class TestPdmVariants: 50 | @staticmethod 51 | def test_install_plugin(tmpdir, pdm): 52 | output = pdm(["self", "add", PLUGIN_DIR], tmpdir) 53 | assert output == b"Installation succeeds.\n" 54 | 55 | @staticmethod 56 | def test_lock_check_fails(tmpdir, pdm): 57 | import subprocess 58 | 59 | tmpdir_project("cpu-only", tmpdir, pdm) 60 | with pytest.raises(subprocess.CalledProcessError): 61 | pdm(["torch", "-v", "lock", "--check"], tmpdir) 62 | 63 | @staticmethod 64 | def test_lock_plugin_check_succeeds(tmpdir, pdm): 65 | tmpdir_project("cpu-only", tmpdir, pdm) 66 | pdm(["torch", "-v", "lock"], tmpdir) 67 | pdm(["torch", "-v", "lock", "--check"], tmpdir) 68 | 69 | @staticmethod 70 | def test_install_fails(tmpdir, pdm): 71 | import subprocess 72 | 73 | tmpdir_project("cpu-only", tmpdir, pdm) 74 | with pytest.raises(subprocess.CalledProcessError): 75 | pdm(["torch", "-v", "install", "cpu"], tmpdir) 76 | 77 | @staticmethod 78 | def test_install_succeeds(tmpdir, pdm): 79 | tmpdir_project("cpu-only", tmpdir, pdm) 80 | pdm(["torch", "-vv", "lock"], tmpdir) 81 | pdm(["torch", "-vv", "install", "cpu"], tmpdir) 82 | 83 | @staticmethod 84 | def test_import(tmpdir, pdm): 85 | tmpdir_project("cpu-only", tmpdir, pdm) 86 | pdm(["torch", "-v", "lock"], tmpdir) 87 | pdm(["torch", "-v", "install", "cpu"], tmpdir) 88 | pdm(["run", "python", "-c", "'import torch'"], tmpdir) 89 | --------------------------------------------------------------------------------