diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..a6ced1a3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,54 @@ +name: CI + +on: + pull_request: + push: + branches: [master] + workflow_call: + +permissions: + contents: read + +concurrency: + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: IndicoDataSolutions/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 + with: + version: "0.13.9" + require-checksums: true + - run: uvx ruff@0.17.6 format --check indico tests + + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - python-version: "3.9" + tox-env: py39 + - python-version: "3.10" + tox-env: py310 + - python-version: "3.11" + tox-env: py311 + - python-version: "3.12" + tox-env: py312 + - python-version: "3.13" + tox-env: py313 + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: IndicoDataSolutions/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 + with: + version: "0.13.9" + require-checksums: true + python-version: ${{ matrix.python-version }} + - run: uvx --with tox-uv tox -e ${{ matrix.tox-env }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..b2615465 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,71 @@ +name: Release + +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+*' + +permissions: + contents: read + +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: false + +jobs: + ci: + uses: ./.github/workflows/ci.yml + + build: + needs: ci + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + fetch-depth: 0 + persist-credentials: false + - uses: IndicoDataSolutions/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 + with: + version: "0.13.9" + require-checksums: true + - run: uv build + - name: Check built version matches tag + env: + TAG: ${{ github.ref_name }} + run: | + uv run --no-project --with packaging==26.3 python - <<'PY' + import os + import pathlib + import sys + + from packaging.version import Version + + wheels = list(pathlib.Path("dist").glob("*.whl")) + if len(wheels) != 1: + sys.exit(f"expected one wheel, found {wheels}") + built = Version(wheels[0].name.split("-")[1]) + tag = Version(os.environ["TAG"]) + if built != tag: + sys.exit(f"built version {built} does not match tag {tag}") + print(f"version {built} matches tag") + PY + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: dist + path: dist/ + if-no-files-found: error + + publish: + needs: build + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/project/indico-client/ + permissions: + id-token: write + steps: + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + name: dist + path: dist/ + - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 diff --git a/.harness/commitinputset.yaml b/.harness/commitinputset.yaml deleted file mode 100644 index 6dc4d9f9..00000000 --- a/.harness/commitinputset.yaml +++ /dev/null @@ -1,86 +0,0 @@ -inputSet: - name: commit-input-set - identifier: commitinputset - orgIdentifier: default - projectIdentifier: IPA_Release - pipeline: - identifier: publish_python_sdk - properties: - ci: - codebase: - build: - type: branch - spec: - branch: <+trigger.targetBranch> - stages: - - parallel: - - stage: - identifier: code_checks - template: - templateInputs: - type: CI - variables: - - name: RUN_LINTER - type: String - value: "TRUE" - - name: isort - type: String - value: <+input> - - name: black - type: String - value: <+input> - - name: ruff - type: String - value: <+input> - - name: mypy - type: String - value: <+input> - - name: pylint - type: String - value: <+input> - - stage: - identifier: build_containers - type: CI - variables: - - name: test_poetry_args - type: String - value: <+input> - - name: deploy_poetry_args - type: String - value: <+input> - - name: test_ram - type: String - value: 2G - - name: deploy_ram - type: String - value: 2G - - parallel: - - stage: - identifier: snyk_tests - type: CI - variables: - - name: RUN_SNYK - type: String - value: "TRUE" - - name: container_ram - type: String - value: 2G - variables: - - name: repo - type: String - value: indico-client-python - - name: service - type: String - value: indico-client-python - - name: RUN_UNITTESTS - type: String - value: "TRUE" - - name: RUN_PRERELEASE - type: String - value: "FALSE" - - name: RUN_RELEASE - type: String - value: "FALSE" - - name: RUN_PUBLISH - type: String - value: "FALSE" diff --git a/.harness/prinputset.yaml b/.harness/prinputset.yaml deleted file mode 100644 index f04d0df5..00000000 --- a/.harness/prinputset.yaml +++ /dev/null @@ -1,87 +0,0 @@ -inputSet: - name: pr-input-set - tags: {} - identifier: prinputset - orgIdentifier: default - projectIdentifier: IPA_Release - pipeline: - identifier: publish_python_sdk - properties: - ci: - codebase: - build: - type: branch - spec: - branch: <+trigger.branch> - stages: - - parallel: - - stage: - identifier: code_checks - template: - templateInputs: - type: CI - variables: - - name: RUN_LINTER - type: String - value: "TRUE" - - name: isort - type: String - value: <+input> - - name: black - type: String - value: <+input> - - name: ruff - type: String - value: ruff format --check indico tests - - name: mypy - type: String - value: <+input> - - name: pylint - type: String - value: <+input> - - stage: - identifier: build_containers - type: CI - variables: - - name: test_poetry_args - type: String - value: <+input> - - name: deploy_poetry_args - type: String - value: <+input> - - name: test_ram - type: String - value: 2G - - name: deploy_ram - type: String - value: 2G - - parallel: - - stage: - identifier: snyk_tests - type: CI - variables: - - name: RUN_SNYK - type: String - value: "FALSE" - - name: container_ram - type: String - value: 2G - variables: - - name: repo - type: String - value: indico-client-python - - name: service - type: String - value: indico-client-python - - name: RUN_UNITTESTS - type: String - value: "TRUE" - - name: RUN_PRERELEASE - type: String - value: "FALSE" - - name: RUN_RELEASE - type: String - value: "FALSE" - - name: RUN_PUBLISH - type: String - value: "FALSE" diff --git a/.harness/publish_python_sdk.yaml b/.harness/publish_python_sdk.yaml deleted file mode 100644 index 664c09fa..00000000 --- a/.harness/publish_python_sdk.yaml +++ /dev/null @@ -1,359 +0,0 @@ -pipeline: - name: Python SDK - identifier: publish_python_sdk - projectIdentifier: IPA_Release - orgIdentifier: default - properties: - ci: - codebase: - connectorRef: account.Indico - repoName: indico-client-python - build: <+input> - resources: - limits: - memory: 2G - stages: - - stage: - name: build info - identifier: build_info - description: "" - type: CI - spec: - cloneCodebase: true - infrastructure: - type: KubernetesDirect - spec: - connectorRef: account.cicdharness - namespace: harness - automountServiceAccountToken: true - nodeSelector: - node_group: cpu - harnessImageConnectorRef: account.dockerhubproxy - os: Linux - execution: - steps: - - step: - name: build info - identifier: build_info - template: - templateRef: account.build_info - versionLabel: 1.0.0 - - parallel: - - stage: - name: code checks - identifier: code_checks - template: - templateRef: account.python_checks - versionLabel: 1.0.0 - templateInputs: - type: CI - variables: - - name: RUN_LINTER - type: String - value: <+input>.default(TRUE).allowedValues(TRUE,FALSE) - - name: isort - type: String - value: <+input> - - name: black - type: String - value: <+input> - - name: ruff - type: String - value: <+input> - - name: mypy - type: String - value: <+input> - - name: pylint - type: String - value: <+input> - - stage: - name: build containers - identifier: build_containers - description: "" - type: CI - spec: - cloneCodebase: true - infrastructure: - useFromStage: build_info - execution: - steps: - - parallel: - - step: - type: BuildAndPushDockerRegistry - name: build test container - identifier: build_test_container - spec: - connectorRef: account.harbor - repo: harbor.devops.indico.io/indico/<+pipeline.variables.service> - tags: - - <+pipeline.stages.build_info.spec.execution.steps.build_info.output.outputVariables.TEST_IMAGE_TAG> - dockerfile: tox.Dockerfile - buildArgs: - REGISTRY_PATH: harbor.devops.indico.io/indico - GEMFURY_TOKEN: <+secrets.getValue("account.gemFuryToken")> - POETRY_INSTALL_ARGS: <+stage.variables.test_poetry_args> - resources: - limits: - memory: <+stage.variables.test_ram> - when: - stageStatus: Success - condition: <+pipeline.variables.RUN_UNITTESTS> == "TRUE" - - step: - type: BuildAndPushDockerRegistry - name: build container - identifier: build_container - spec: - connectorRef: account.harbor - repo: harbor.devops.indico.io/indico/<+pipeline.variables.service> - tags: - - <+pipeline.stages.build_info.spec.execution.steps.build_info.output.outputVariables.IMAGE_TAG> - variables: - - name: test_poetry_args - type: String - description: poetry args for test container. use space if none - required: false - value: <+input> - - name: deploy_poetry_args - type: String - description: poetry args for service container. use space if none - required: false - value: <+input> - - name: test_ram - type: String - description: "" - required: false - value: <+input>.default(2G).allowedValues(2G,3G,4G,5G,6G,7G,8G) - - name: deploy_ram - type: String - description: "" - required: false - value: <+input>.default(2G).allowedValues(2G,3G,4G,5G,6G,7G,8G) - - parallel: - - stage: - name: snyk tests - identifier: snyk_tests - description: "" - type: CI - spec: - cloneCodebase: true - infrastructure: - useFromStage: build_info - execution: - steps: - - parallel: - - step: - type: Run - name: snyk code - identifier: snyk_code - spec: - connectorRef: account.harbor - image: harbor.devops.indico.io/dockerhub-proxy/snyk/snyk:python-3.10 - shell: Sh - command: |- - snyk code test \ - --org=${SNYK_ORG} \ - --json-file-output=snyk_code.json || true - envVariables: - SNYK_TOKEN: <+secrets.getValue("account.hashicorpvault://vaulttoolsargo/devops-snyk-importer#SNYK_TOKEN")> - SNYK_ORG: <+secrets.getValue("account.hashicorpvault://vaulttoolsargo/devops-snyk-importer#SNYK_ORG_ID")> - when: - stageStatus: Success - condition: "false" - - step: - type: Run - name: snyk oss - identifier: snyk_oss - spec: - connectorRef: account.harbor - image: harbor.devops.indico.io/dockerhub-proxy/snyk/snyk:python-3.10 - shell: Sh - command: |- - snyk test \ - --org=${SNYK_ORG} \ - --json-file-output=snyk_oss.json || true - envVariables: - SNYK_TOKEN: <+secrets.getValue("account.hashicorpvault://vaulttoolsargo/devops-snyk-importer#SNYK_TOKEN")> - SNYK_ORG: <+secrets.getValue("account.hashicorpvault://vaulttoolsargo/devops-snyk-importer#SNYK_ORG_ID")> - - step: - type: Run - name: parse snyk - identifier: parse_snyk - spec: - connectorRef: account.harbor - image: harbor.devops.indico.io/indico/snyk_filter:development.26bfff3b52c863aebc5545c57eac4bdf872dfdd9 - shell: Bash - command: snyk-filter - when: - pipelineStatus: Success - condition: <+stage.variables.RUN_SNYK> == "TRUE" - variables: - - name: RUN_SNYK - type: String - description: "" - required: false - value: <+input>.default(TRUE).allowedValues(TRUE,FALSE) - - name: container_ram - type: String - description: "" - required: false - value: <+input>.default(2G).allowedValues(2G,3G,4G,5G,6G,7G,8G,9G,10G) - - stage: - name: unit tests - identifier: unit_tests - description: "" - type: CI - spec: - cloneCodebase: true - infrastructure: - useFromStage: build_info - execution: - steps: - - step: - type: Run - name: run_unit_tests - identifier: run_unit_tests - spec: - connectorRef: account.harbor - image: harbor.devops.indico.io/indico/<+pipeline.variables.service>:<+pipeline.stages.build_info.spec.execution.steps.build_info.output.outputVariables.TEST_IMAGE_TAG> - shell: Sh - command: |- - cd scripts - ./test.sh - - stage: - name: publish - identifier: publish - description: "" - type: CI - spec: - cloneCodebase: true - infrastructure: - type: KubernetesDirect - spec: - connectorRef: account.cicdharness - namespace: harness - automountServiceAccountToken: true - nodeSelector: {} - os: Linux - execution: - steps: - - step: - type: Run - name: info - identifier: info - spec: - connectorRef: account.harbor - image: harbor.devops.indico.io/dockerhub-proxy/alpine/git - shell: Sh - command: |- - TARGET_BRANCH="<+codebase.branch>" - COMMIT_MESSAGE=$(cat <<'EOF' - <+codebase.commitMessage> - EOF - ) - MODIFIED_COMMIT_MESSAGE=$(echo "${COMMIT_MESSAGE}" | head -n 1) - COMMITTER="<+codebase.gitUser>" - - echo "Committer: ${COMMITTER}" - echo "Target Branch: ${TARGET_BRANCH}" - echo "Commit Message: ${MODIFIED_COMMIT_MESSAGE}" - envVariables: - RELEASE_BRANCH: <+stage.variables.RELEASE_BRANCH> - outputVariables: - - name: RUN_PRELEASE - - name: RUN_RELEASE - - parallel: - - step: - type: Run - name: publish prelease - identifier: publish_prelease - spec: - connectorRef: account.harbor - image: harbor.devops.indico.io/indico/<+pipeline.variables.service>:<+pipeline.stages.build_info.spec.execution.steps.build_info.output.outputVariables.IMAGE_TAG> - shell: Sh - command: |- - #!/bin/bash - TAG="<+codebase.tag>" - apt-get update && apt-get install -y git - git fetch origin tag "$TAG" - rm -rf /indico-client/dist - uv pip install --system -U "twine==6.2.0" - - uv build --sdist - - echo "checking dist files at 'dist/*'" - python -m twine check dist/* - - echo "uploading pre-release ${TAG}" - python -m twine upload -u __token__ -p "<+stage.variables.pypi_token>" dist/* - when: - stageStatus: Success - condition: <+pipeline.variables.RUN_PRERELEASE> == "TRUE" - - step: - type: Run - name: publish release - identifier: publish_release - spec: - connectorRef: account.harbor - image: harbor.devops.indico.io/indico/<+pipeline.variables.service>:<+pipeline.stages.build_info.spec.execution.steps.build_info.output.outputVariables.IMAGE_TAG> - shell: Sh - command: |- - #!/bin/bash - TAG="<+codebase.tag>" - apt-get update && apt-get install -y git - git fetch origin tag "$TAG" - rm -rf /indico-client/dist - uv pip install --system -U "twine==6.2.0" - - uv build --sdist - - echo "checking dist files at 'dist/*'" - python -m twine check dist/* - - echo "uploading release ${TAG}" - python -m twine upload -u __token__ -p "<+stage.variables.pypi_token>" dist/* - when: - stageStatus: Success - condition: <+pipeline.variables.RUN_RELEASE> == "TRUE" - caching: - enabled: false - paths: [] - when: - pipelineStatus: Success - condition: <+pipeline.variables.RUN_PUBLISH> == "TRUE" - variables: - - name: pypi_token - type: Secret - description: "" - required: false - value: pypi_publish_token - variables: - - name: repo - type: String - description: Repo name - required: false - value: <+input> - - name: service - type: String - description: "" - required: true - value: <+input> - - name: RUN_UNITTESTS - type: String - description: "" - required: true - value: <+input>.default(TRUE).allowedValues(TRUE,FALSE) - - name: RUN_PRERELEASE - type: String - description: Publish alpha/prerelease to pypi - value: <+input>.default(FALSE).allowedValues(TRUE,FALSE) - - name: RUN_RELEASE - type: String - description: "" - required: false - value: <+input>.default(FALSE).allowedValues(TRUE,FALSE) - - name: RUN_PUBLISH - type: String - description: Run the publish step for release or pre-release - required: false - value: <+input>.default(FALSE).allowedValues(TRUE,FALSE) - tags: {} diff --git a/.harness/pythonsdkpublish.yaml b/.harness/pythonsdkpublish.yaml deleted file mode 100644 index cbeb9d01..00000000 --- a/.harness/pythonsdkpublish.yaml +++ /dev/null @@ -1,87 +0,0 @@ -inputSet: - name: python-sdk-prerelease - tags: {} - identifier: pythonsdkpublish - orgIdentifier: default - projectIdentifier: IPA_Release - pipeline: - identifier: publish_python_sdk - properties: - ci: - codebase: - build: - type: tag - spec: - tag: <+trigger.tag> - stages: - - parallel: - - stage: - identifier: code_checks - template: - templateInputs: - type: CI - variables: - - name: RUN_LINTER - type: String - value: "TRUE" - - name: isort - type: String - value: <+input> - - name: black - type: String - value: <+input> - - name: ruff - type: String - value: <+input> - - name: mypy - type: String - value: <+input> - - name: pylint - type: String - value: <+input> - - stage: - identifier: build_containers - type: CI - variables: - - name: test_poetry_args - type: String - value: <+input> - - name: deploy_poetry_args - type: String - value: <+input> - - name: test_ram - type: String - value: 2G - - name: deploy_ram - type: String - value: 2G - - parallel: - - stage: - identifier: snyk_tests - type: CI - variables: - - name: RUN_SNYK - type: String - value: "FALSE" - - name: container_ram - type: String - value: 2G - variables: - - name: repo - type: String - value: indico-client-python - - name: service - type: String - value: indico-client-python - - name: RUN_UNITTESTS - type: String - value: "TRUE" - - name: RUN_PRERELEASE - type: String - value: "TRUE" - - name: RUN_RELEASE - type: String - value: "FALSE" - - name: RUN_PUBLISH - type: String - value: "TRUE" diff --git a/.harness/pythonsdkrelease.yaml b/.harness/pythonsdkrelease.yaml deleted file mode 100644 index ad9bfb0d..00000000 --- a/.harness/pythonsdkrelease.yaml +++ /dev/null @@ -1,87 +0,0 @@ -inputSet: - name: python-sdk-release - tags: {} - identifier: pythonsdkrelease - orgIdentifier: default - projectIdentifier: IPA_Release - pipeline: - identifier: publish_python_sdk - properties: - ci: - codebase: - build: - type: tag - spec: - tag: <+trigger.tag> - stages: - - parallel: - - stage: - identifier: code_checks - template: - templateInputs: - type: CI - variables: - - name: RUN_LINTER - type: String - value: "TRUE" - - name: isort - type: String - value: <+input> - - name: black - type: String - value: <+input> - - name: ruff - type: String - value: <+input> - - name: mypy - type: String - value: <+input> - - name: pylint - type: String - value: <+input> - - stage: - identifier: build_containers - type: CI - variables: - - name: test_poetry_args - type: String - value: <+input> - - name: deploy_poetry_args - type: String - value: <+input> - - name: test_ram - type: String - value: 2G - - name: deploy_ram - type: String - value: 2G - - parallel: - - stage: - identifier: snyk_tests - type: CI - variables: - - name: RUN_SNYK - type: String - value: "FALSE" - - name: container_ram - type: String - value: 2G - variables: - - name: repo - type: String - value: indico-client-python - - name: service - type: String - value: indico-client-python - - name: RUN_UNITTESTS - type: String - value: "TRUE" - - name: RUN_PRERELEASE - type: String - value: "FALSE" - - name: RUN_RELEASE - type: String - value: "TRUE" - - name: RUN_PUBLISH - type: String - value: "TRUE" diff --git a/.harness/snyk_filter.yaml b/.harness/snyk_filter.yaml deleted file mode 100644 index 55bf6839..00000000 --- a/.harness/snyk_filter.yaml +++ /dev/null @@ -1,6 +0,0 @@ -container: - enabled: false - exemptions: [] -oss: - enabled: true - exemptions: [] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a16eeb8..7995014c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,8 @@ repos: hooks: - id: isort name: isort (python) -- repo: https://github.com/psf/black - rev: 23.11.0 +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.17.6 hooks: - - id: black + - id: ruff-format + types_or: [python, pyi] diff --git a/README.md b/README.md index 94ef4751..550ee0c5 100644 --- a/README.md +++ b/README.md @@ -152,10 +152,75 @@ Or using pip: Alternatively, run all the unit tests via `docker compose run --rm tester` +# Releasing + +Pushing a version tag runs `.github/workflows/release.yml`. It runs the tests, builds, checks the built version equals the tag, waits for approval, and publishes to PyPI through trusted publishing. + +### Release with the script + +```sh +# Check everything without tagging or pushing +scripts/release.sh 7.11.0 --dry-run +# Tag HEAD and push the tag, after a confirmation prompt +scripts/release.sh 7.11.0 +# Skip the confirmation prompt (required when not run from a terminal) +scripts/release.sh 7.11.0 --yes +# Allow a version below the highest X.Y.Z tagged on origin +scripts/release.sh 7.10.1 --allow-older +``` + +Manual equivalent: + +```sh +git tag 7.11.0 +git push origin refs/tags/7.11.0 +``` + +### Tag rules + +- No `v` prefix, lowercase, no leading zeros. Accepted shapes: + - `7.11.0` release + - `7.11.0-alpha1` publishes as `7.11.0a1` + - `7.11.0-beta1` publishes as `7.11.0b1` + - `7.11.0-rc1` publishes as `7.11.0rc1` + - `7.11.0-a1` publishes as `7.11.0a1` + - `7.11.0-b1` publishes as `7.11.0b1` + - `7.11.0.post1` post release + - `7.11.0.dev1` dev release +- The script refuses a version whose `X.Y.Z` is below the highest `X.Y.Z` already tagged on origin. `--allow-older` overrides this. +- A `.postN` release needs its base version tag (`7.11.0` for `7.11.0.post1`) to exist on origin. +- A version already published under another spelling is refused (`7.11.0-a1` when `7.11.0-alpha1` exists). +- Tag the exact commit to release. It must already be on origin; it need not be the tip of master. +- One tag per commit. +- Push one tag at a time, never `git push --tags`. +- A PyPI version cannot be reused. + +### Approval + +- Two teams own releases. Their members push version tags and approve publishing: + - QA: `qa@indicodata.ai`, GitHub team `qa-indicodata-ai` + - Intake: `intake@indicodata.ai`, GitHub team `intake-indicodata-ai` +- This is a deployment approval on the `pypi` environment, not a pull request review. +- After the tests and build pass, the publish job pauses. A member of either team opens the workflow run in the Actions tab and chooses "Review deployments". +- The approver confirms the tag is on the intended commit and the version is right. +- If the environment has "Prevent self-review" on, the approver must be someone other than the person who pushed the tag. + +### If it fails + +- Before upload nothing is published. Cancel the workflow run first if it is still running or waiting for approval, because deleting the tag does not cancel it. Then delete the tag and tag again: + +```sh +git tag -d 7.11.0 +git push origin :refs/tags/7.11.0 +``` + +- At upload, re-run the failed job. +- If the re-run fails with "File already exists", part of the release is already on PyPI. Publish a `.postN` release instead. + # Contributing This repository adheres (as best as possible) to the following standards: -- Python Black Formatter +- Python formatting with `ruff format` - Line Width=88 - [Google Docstrings](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) diff --git a/pyproject.toml b/pyproject.toml index 004c26dc..5e89e346 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,6 @@ datasets = ["pandas>=1.0.3"] deserialization = ["msgpack>=0.5.6", "msgpack-numpy==0.4.4.3", "numpy>=1.16.0"] exports = ["pandas>=1.0.3"] test = ["tox==4.11.3"] -deploy = ["twine==3.3.0", "jaraco.functools"] [project.urls] Homepage = "https://github.com/IndicoDataSolutions/indico-client-python" diff --git a/scripts/deploy.sh b/scripts/deploy.sh deleted file mode 100755 index 7427f6ee..00000000 --- a/scripts/deploy.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -rm -rf /indico-client/dist -uv pip install --system ".[deploy]" -uv build --sdist -echo $TWINE_USERNAME -echo $TWINE_REPOSITORY -twine upload /indico-client/dist/* diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 00000000..60122a44 --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1,239 @@ +#!/usr/bin/env bash +# Tags HEAD with a release version and pushes the tag, which starts .github/workflows/release.yml. +set -euo pipefail + +REMOTE=origin +WORKFLOW=release.yml +REMOTE_TAGS='' +NUM='(0|[1-9][0-9]*)' +VERSION_RE="^${NUM}\\.${NUM}\\.${NUM}(-(alpha|beta|rc|a|b)${NUM}|\\.(post|dev)${NUM})?\$" + +if [[ -t 1 && -t 2 && -z "${NO_COLOR:-}" ]]; then + GREEN=$'\033[32m' YELLOW=$'\033[33m' RED=$'\033[31m' BLUE=$'\033[34m' BOLD=$'\033[1m' RESET=$'\033[0m' +else + GREEN='' YELLOW='' RED='' BLUE='' BOLD='' RESET='' +fi + +say() { printf '%s%s%s %s\n' "$1" "$2" "$RESET" "$3"; } +ok() { say "$GREEN" "✓" "$1"; } +warn() { say "$YELLOW" "!" "$1"; } +act() { say "$BLUE" "→" "$1"; } +fail() { + say "$RED" "✗" "$1" >&2 + exit 1 +} + +shapes() { + cat < [--dry-run] [--yes] [--allow-older] + +Tags HEAD with and pushes the tag to ${REMOTE}. + +Options: + --dry-run run every check, create and push nothing + --yes skip the confirmation prompt + --allow-older allow a version whose X.Y.Z is below the highest X.Y.Z tagged on ${REMOTE} + -h, --help show this help + +Accepted versions (lowercase, no "v" prefix, no leading zeros): +$(shapes) + +A .postN version needs its X.Y.Z tag on ${REMOTE}. A version already published +under another spelling (7.11.0-a1 vs 7.11.0-alpha1) is refused. +EOF +} + +# Prints the version PyPI shows for an accepted tag. +published_version() { + sed -E 's/-(alpha|a)([0-9]+)$/a\2/; s/-(beta|b)([0-9]+)$/b\2/; s/-rc([0-9]+)$/rc\1/' <<<"$1" +} + +# Prints the GitHub Actions URL for the release workflow, from a git or https remote URL. +actions_url() { + local path + path=$(sed -E 's#^(git@|ssh://git@|https?://)github\.com[:/]##; s#\.git$##; s#/$##' <<<"$1") + [[ "$path" =~ ^[^/]+/[^/]+$ ]] || return 1 + printf 'https://github.com/%s/actions/workflows/%s\n' "$path" "$WORKFLOW" +} + +check_version() { + [[ "$1" =~ $VERSION_RE ]] && return 0 + printf 'Accepted shapes (lowercase, no "v" prefix, no leading zeros):\n%s\n' "$(shapes)" >&2 + fail "invalid version '$1'" +} + +# Prints the tag names found on origin, one per line. +remote_tag_names() { + cut -f2 <<<"$REMOTE_TAGS" | cut -d/ -f3- +} + +check_not_older() { + local base=${1%%[-.][a-z]*} allow_older=$2 high_base high_tag + read -r high_base high_tag < <(remote_tag_names | grep -E '^[0-9]+\.[0-9]+\.[0-9]+([-.]|$)' | + awk '{match($0, /^[0-9]+\.[0-9]+\.[0-9]+/); print substr($0, 1, RLENGTH), $0}' | + sort -V -s -k1,1 | tail -n1) || true + if [[ -n "${high_base:-}" && "$base" != "$high_base" && "$(printf '%s\n%s\n' "$base" "$high_base" | sort -V | head -n1)" == "$base" ]]; then + ((allow_older)) || fail "version $1 is older than the highest tag $high_tag; pass --allow-older to release on an older line" + warn "releasing $1, older than the highest tag $high_tag" + return 0 + fi + ok "version is not older than the highest tag" +} + +check_clean_tree() { + if ! git diff --quiet || ! git diff --cached --quiet; then + fail "working tree has staged or unstaged changes" + fi + ok "working tree is clean" +} + +check_tag_free() { + local tag=$1 + ! remote_tag_names | grep -qxF -- "$tag" || fail "tag $tag already exists on $REMOTE" + ! git rev-parse -q --verify "refs/tags/$tag" >/dev/null || + fail "tag $tag exists locally but not on $REMOTE (an interrupted run?); remove it with: git tag -d $tag" + ok "tag $tag is unused" +} + +check_published_free() { + local tag=$1 published name + published=$(published_version "$tag") + while read -r name; do + [[ "$name" != "$tag" && "$name" =~ $VERSION_RE && "$(published_version "$name")" == "$published" ]] && + fail "tag $name on $REMOTE already publishes as $published" + done < <(remote_tag_names) + ok "version $published is not published under another tag" +} + +check_post_base() { + [[ "$1" =~ ^(.+)\.post[0-9]+$ ]] || return 0 + remote_tag_names | grep -qxF -- "${BASH_REMATCH[1]}" || + fail "$1 needs its base release, but tag ${BASH_REMATCH[1]} is not on $REMOTE" + ok "base release ${BASH_REMATCH[1]} exists" +} + +check_head_untagged() { + local existing + existing=$(git tag --points-at HEAD | paste -sd' ' -) + [[ -z "$existing" ]] || fail "HEAD already carries tag $existing; one tag per commit" + ok "HEAD carries no tag" +} + +check_head_pushed() { + local branches + branches=$(git for-each-ref --contains HEAD --format='%(refname)' "refs/remotes/$REMOTE/" | grep -vx "refs/remotes/$REMOTE/HEAD" | sed 's#^refs/remotes/##' || true) + [[ -n "$branches" ]] || fail "HEAD is not on any $REMOTE branch; push it first" + ok "HEAD is on $REMOTE ($(paste -sd' ' - <<<"$branches"))" +} + +check_default_tip() { + local default + default=$(git symbolic-ref --short "refs/remotes/$REMOTE/HEAD" 2>/dev/null) || + fail "cannot resolve the default branch; run: git remote set-head $REMOTE --auto" + if [[ "$(git rev-parse HEAD)" == "$(git rev-parse "$default")" ]]; then + ok "HEAD is the tip of $default" + elif git merge-base --is-ancestor HEAD "$default"; then + warn "HEAD is an older commit of $default" + else + warn "HEAD is not merged into $default" + fi +} + +confirm() { + local reply + [[ -t 0 ]] || fail "stdin is not a terminal; pass --yes to confirm" + read -r -p "Create and push this tag? [y/N] " reply + [[ "$reply" =~ ^[Yy]$ ]] || fail "aborted" +} + +summary() { + local branch published + branch=$(git symbolic-ref --short -q HEAD || echo detached) + published=$(published_version "$1") + printf '\n %sversion%s %s\n' "$BOLD" "$RESET" "$1" + [[ "$published" == "$1" ]] || printf ' %spypi%s %s\n' "$BOLD" "$RESET" "$published" + printf ' %scommit%s %s %s\n %sbranch%s %s\n\n' \ + "$BOLD" "$RESET" "$(git rev-parse --short HEAD)" "$(git log -1 --format=%s)" \ + "$BOLD" "$RESET" "$branch" +} + +push_tag() { + local tag=$1 remote_sha + git tag "$tag" + if git push "$REMOTE" "refs/tags/$tag"; then + ok "pushed tag $tag" + return 0 + fi + remote_sha=$(git ls-remote --refs "$REMOTE" "refs/tags/$tag" | cut -f1) || + fail "push failed and $REMOTE could not be checked; state unknown, local tag kept; check: git ls-remote --tags $REMOTE $tag" + if [[ -n "$remote_sha" ]]; then + [[ "$remote_sha" == "$(git rev-parse HEAD)" ]] || + fail "tag $tag on $REMOTE points at a different commit (${remote_sha:0:7}, HEAD is $(git rev-parse --short HEAD)); local tag kept, remove it with: git tag -d $tag" + warn "push reported an error but tag $tag is on $REMOTE and the release run has started; local tag kept" + return 0 + fi + git tag -d "$tag" >/dev/null + fail "push failed; local tag $tag removed" +} + +main() { + local version='' dry_run=0 assume_yes=0 allow_older=0 arg url + for arg in "$@"; do + case "$arg" in + -h | --help) usage; return 0 ;; + --dry-run) dry_run=1 ;; + --yes) assume_yes=1 ;; + --allow-older) allow_older=1 ;; + -*) usage >&2; fail "unknown option $arg" ;; + *) [[ -z "$version" ]] || fail "only one version may be given"; version=$arg ;; + esac + done + [[ -n "$version" ]] || { usage >&2; fail "missing version"; } + + check_version "$version" + ok "version $version is valid" + check_clean_tree + act "fetching tags from $REMOTE" + git fetch --tags --prune --no-prune-tags "$REMOTE" || + fail "fetch from $REMOTE failed; a local tag that differs from $REMOTE is a common cause" + REMOTE_TAGS=$(git ls-remote --tags --refs "$REMOTE") || fail "cannot list tags on $REMOTE" + check_not_older "$version" "$allow_older" + check_tag_free "$version" + check_published_free "$version" + check_post_base "$version" + check_head_untagged + check_head_pushed + check_default_tip + summary "$version" + + if ((dry_run)); then + act "dry run: would run git tag $version" + act "dry run: would run git push $REMOTE refs/tags/$version" + return 0 + fi + ((assume_yes)) || confirm + push_tag "$version" + + if url=$(actions_url "$(git remote get-url "$REMOTE")"); then + act "watch and approve the run: $url" + else + warn "cannot derive a GitHub URL from $REMOTE; open the Actions tab and find the $WORKFLOW run" + fi +} + +if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then + main "$@" +fi diff --git a/scripts/test.sh b/scripts/test.sh deleted file mode 100755 index 1980860d..00000000 --- a/scripts/test.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -#put token in user's home dir -printenv INDICO_API_TOKEN > ~/indico_api_token.txt -#install additional test reqs and run smoke tests -tox -p diff --git a/tests/integration/queries/test_gallery.py b/tests/integration/queries/test_gallery.py index 483d07b8..50f28a73 100644 --- a/tests/integration/queries/test_gallery.py +++ b/tests/integration/queries/test_gallery.py @@ -77,9 +77,9 @@ def test_list_gallery_pagination(indico): if len(blueprints) >= 2: # Check that we have unique blueprints blueprint_ids = [bp.id for bp in blueprints] - assert len(blueprint_ids) == len( - set(blueprint_ids) - ), "Duplicate blueprints found in pagination" + assert len(blueprint_ids) == len(set(blueprint_ids)), ( + "Duplicate blueprints found in pagination" + ) def test_get_gallery_tags(indico): diff --git a/tox.ini b/tox.ini index 6dc70e58..f34d0edf 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,8 @@ envlist = py39,py310,py311,py312,py313 [testenv] extras = all parallel_show_output = true +setenv = + INDICO_API_TOKEN = unit-test-token # install pytest in the virtualenv where commands will be executed deps = pytest < 8 diff --git a/uv.lock b/uv.lock index f96717fb..2ca347a5 100644 --- a/uv.lock +++ b/uv.lock @@ -216,15 +216,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a0/59/76ab57e3fe74484f48a53f8e337171b4a2349e506eabe136d7e01d059086/backports_asyncio_runner-1.2.0-py3-none-any.whl", hash = "sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5", size = 12313, upload-time = "2025-07-02T02:27:14.263Z" }, ] -[[package]] -name = "backports-tarfile" -version = "1.2.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/86/72/cd9b395f25e290e633655a100af28cb253e4393396264a98bd5f5951d50f/backports_tarfile-1.2.0.tar.gz", hash = "sha256:d75e02c268746e1b8144c278978b6e98e85de6ad16f8e4b0844a154557eca991", size = 86406, upload-time = "2024-05-28T17:01:54.731Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b9/fa/123043af240e49752f1c4bd24da5053b6bd00cad78c2be53c0d1e8b975bc/backports.tarfile-1.2.0-py3-none-any.whl", hash = "sha256:77e284d754527b01fb1e6fa8a1afe577858ebe4e9dad8919e34c862cb399bc34", size = 30181, upload-time = "2024-05-28T17:01:53.112Z" }, -] - [[package]] name = "backports-zstd" version = "1.2.0" @@ -675,55 +666,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, ] -[[package]] -name = "cryptography" -version = "46.0.3" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "cffi", marker = "platform_python_implementation != 'PyPy'" }, - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/9f/33/c00162f49c0e2fe8064a62cb92b93e50c74a72bc370ab92f86112b33ff62/cryptography-46.0.3.tar.gz", hash = "sha256:a8b17438104fed022ce745b362294d9ce35b4c2e45c1d958ad4a4b019285f4a1", size = 749258, upload-time = "2025-10-15T23:18:31.74Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1c/67/38769ca6b65f07461eb200e85fc1639b438bdc667be02cf7f2cd6a64601c/cryptography-46.0.3-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:09859af8466b69bc3c27bdf4f5d84a665e0f7ab5088412e9e2ec49758eca5cbc", size = 4296667, upload-time = "2025-10-15T23:16:54.369Z" }, - { url = "https://files.pythonhosted.org/packages/5c/49/498c86566a1d80e978b42f0d702795f69887005548c041636df6ae1ca64c/cryptography-46.0.3-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:01ca9ff2885f3acc98c29f1860552e37f6d7c7d013d7334ff2a9de43a449315d", size = 4450807, upload-time = "2025-10-15T23:16:56.414Z" }, - { url = "https://files.pythonhosted.org/packages/4b/0a/863a3604112174c8624a2ac3c038662d9e59970c7f926acdcfaed8d61142/cryptography-46.0.3-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:6eae65d4c3d33da080cff9c4ab1f711b15c1d9760809dad6ea763f3812d254cb", size = 4299615, upload-time = "2025-10-15T23:16:58.442Z" }, - { url = "https://files.pythonhosted.org/packages/64/02/b73a533f6b64a69f3cd3872acb6ebc12aef924d8d103133bb3ea750dc703/cryptography-46.0.3-cp311-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e5bf0ed4490068a2e72ac03d786693adeb909981cc596425d09032d372bcc849", size = 4016800, upload-time = "2025-10-15T23:17:00.378Z" }, - { url = "https://files.pythonhosted.org/packages/25/d5/16e41afbfa450cde85a3b7ec599bebefaef16b5c6ba4ec49a3532336ed72/cryptography-46.0.3-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:5ecfccd2329e37e9b7112a888e76d9feca2347f12f37918facbb893d7bb88ee8", size = 4984707, upload-time = "2025-10-15T23:17:01.98Z" }, - { url = "https://files.pythonhosted.org/packages/c9/56/e7e69b427c3878352c2fb9b450bd0e19ed552753491d39d7d0a2f5226d41/cryptography-46.0.3-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:a2c0cd47381a3229c403062f764160d57d4d175e022c1df84e168c6251a22eec", size = 4482541, upload-time = "2025-10-15T23:17:04.078Z" }, - { url = "https://files.pythonhosted.org/packages/78/f6/50736d40d97e8483172f1bb6e698895b92a223dba513b0ca6f06b2365339/cryptography-46.0.3-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:549e234ff32571b1f4076ac269fcce7a808d3bf98b76c8dd560e42dbc66d7d91", size = 4299464, upload-time = "2025-10-15T23:17:05.483Z" }, - { url = "https://files.pythonhosted.org/packages/00/de/d8e26b1a855f19d9994a19c702fa2e93b0456beccbcfe437eda00e0701f2/cryptography-46.0.3-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:c0a7bb1a68a5d3471880e264621346c48665b3bf1c3759d682fc0864c540bd9e", size = 4950838, upload-time = "2025-10-15T23:17:07.425Z" }, - { url = "https://files.pythonhosted.org/packages/8f/29/798fc4ec461a1c9e9f735f2fc58741b0daae30688f41b2497dcbc9ed1355/cryptography-46.0.3-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:10b01676fc208c3e6feeb25a8b83d81767e8059e1fe86e1dc62d10a3018fa926", size = 4481596, upload-time = "2025-10-15T23:17:09.343Z" }, - { url = "https://files.pythonhosted.org/packages/15/8d/03cd48b20a573adfff7652b76271078e3045b9f49387920e7f1f631d125e/cryptography-46.0.3-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:0abf1ffd6e57c67e92af68330d05760b7b7efb243aab8377e583284dbab72c71", size = 4426782, upload-time = "2025-10-15T23:17:11.22Z" }, - { url = "https://files.pythonhosted.org/packages/fa/b1/ebacbfe53317d55cf33165bda24c86523497a6881f339f9aae5c2e13e57b/cryptography-46.0.3-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a04bee9ab6a4da801eb9b51f1b708a1b5b5c9eb48c03f74198464c66f0d344ac", size = 4698381, upload-time = "2025-10-15T23:17:12.829Z" }, - { url = "https://files.pythonhosted.org/packages/73/dc/9aa866fbdbb95b02e7f9d086f1fccfeebf8953509b87e3f28fff927ff8a0/cryptography-46.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c8daeb2d2174beb4575b77482320303f3d39b8e81153da4f0fb08eb5fe86a6c5", size = 4288728, upload-time = "2025-10-15T23:17:21.527Z" }, - { url = "https://files.pythonhosted.org/packages/c5/fd/bc1daf8230eaa075184cbbf5f8cd00ba9db4fd32d63fb83da4671b72ed8a/cryptography-46.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:39b6755623145ad5eff1dab323f4eae2a32a77a7abef2c5089a04a3d04366715", size = 4435078, upload-time = "2025-10-15T23:17:23.042Z" }, - { url = "https://files.pythonhosted.org/packages/82/98/d3bd5407ce4c60017f8ff9e63ffee4200ab3e23fe05b765cab805a7db008/cryptography-46.0.3-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:db391fa7c66df6762ee3f00c95a89e6d428f4d60e7abc8328f4fe155b5ac6e54", size = 4293460, upload-time = "2025-10-15T23:17:24.885Z" }, - { url = "https://files.pythonhosted.org/packages/26/e9/e23e7900983c2b8af7a08098db406cf989d7f09caea7897e347598d4cd5b/cryptography-46.0.3-cp314-cp314t-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:78a97cf6a8839a48c49271cdcbd5cf37ca2c1d6b7fdd86cc864f302b5e9bf459", size = 3995237, upload-time = "2025-10-15T23:17:26.449Z" }, - { url = "https://files.pythonhosted.org/packages/91/15/af68c509d4a138cfe299d0d7ddb14afba15233223ebd933b4bbdbc7155d3/cryptography-46.0.3-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:dfb781ff7eaa91a6f7fd41776ec37c5853c795d3b358d4896fdbb5df168af422", size = 4967344, upload-time = "2025-10-15T23:17:28.06Z" }, - { url = "https://files.pythonhosted.org/packages/ca/e3/8643d077c53868b681af077edf6b3cb58288b5423610f21c62aadcbe99f4/cryptography-46.0.3-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:6f61efb26e76c45c4a227835ddeae96d83624fb0d29eb5df5b96e14ed1a0afb7", size = 4466564, upload-time = "2025-10-15T23:17:29.665Z" }, - { url = "https://files.pythonhosted.org/packages/0e/43/c1e8726fa59c236ff477ff2b5dc071e54b21e5a1e51aa2cee1676f1c986f/cryptography-46.0.3-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:23b1a8f26e43f47ceb6d6a43115f33a5a37d57df4ea0ca295b780ae8546e8044", size = 4292415, upload-time = "2025-10-15T23:17:31.686Z" }, - { url = "https://files.pythonhosted.org/packages/42/f9/2f8fefdb1aee8a8e3256a0568cffc4e6d517b256a2fe97a029b3f1b9fe7e/cryptography-46.0.3-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:b419ae593c86b87014b9be7396b385491ad7f320bde96826d0dd174459e54665", size = 4931457, upload-time = "2025-10-15T23:17:33.478Z" }, - { url = "https://files.pythonhosted.org/packages/79/30/9b54127a9a778ccd6d27c3da7563e9f2d341826075ceab89ae3b41bf5be2/cryptography-46.0.3-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:50fc3343ac490c6b08c0cf0d704e881d0d660be923fd3076db3e932007e726e3", size = 4466074, upload-time = "2025-10-15T23:17:35.158Z" }, - { url = "https://files.pythonhosted.org/packages/ac/68/b4f4a10928e26c941b1b6a179143af9f4d27d88fe84a6a3c53592d2e76bf/cryptography-46.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:22d7e97932f511d6b0b04f2bfd818d73dcd5928db509460aaf48384778eb6d20", size = 4420569, upload-time = "2025-10-15T23:17:37.188Z" }, - { url = "https://files.pythonhosted.org/packages/a3/49/3746dab4c0d1979888f125226357d3262a6dd40e114ac29e3d2abdf1ec55/cryptography-46.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:d55f3dffadd674514ad19451161118fd010988540cee43d8bc20675e775925de", size = 4681941, upload-time = "2025-10-15T23:17:39.236Z" }, - { url = "https://files.pythonhosted.org/packages/27/32/b68d27471372737054cbd34c84981f9edbc24fe67ca225d389799614e27f/cryptography-46.0.3-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:4b7387121ac7d15e550f5cb4a43aef2559ed759c35df7336c402bb8275ac9683", size = 4294089, upload-time = "2025-10-15T23:17:48.269Z" }, - { url = "https://files.pythonhosted.org/packages/26/42/fa8389d4478368743e24e61eea78846a0006caffaf72ea24a15159215a14/cryptography-46.0.3-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:15ab9b093e8f09daab0f2159bb7e47532596075139dd74365da52ecc9cb46c5d", size = 4440029, upload-time = "2025-10-15T23:17:49.837Z" }, - { url = "https://files.pythonhosted.org/packages/5f/eb/f483db0ec5ac040824f269e93dd2bd8a21ecd1027e77ad7bdf6914f2fd80/cryptography-46.0.3-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:46acf53b40ea38f9c6c229599a4a13f0d46a6c3fa9ef19fc1a124d62e338dfa0", size = 4297222, upload-time = "2025-10-15T23:17:51.357Z" }, - { url = "https://files.pythonhosted.org/packages/fd/cf/da9502c4e1912cb1da3807ea3618a6829bee8207456fbbeebc361ec38ba3/cryptography-46.0.3-cp38-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:10ca84c4668d066a9878890047f03546f3ae0a6b8b39b697457b7757aaf18dbc", size = 4012280, upload-time = "2025-10-15T23:17:52.964Z" }, - { url = "https://files.pythonhosted.org/packages/6b/8f/9adb86b93330e0df8b3dcf03eae67c33ba89958fc2e03862ef1ac2b42465/cryptography-46.0.3-cp38-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:36e627112085bb3b81b19fed209c05ce2a52ee8b15d161b7c643a7d5a88491f3", size = 4978958, upload-time = "2025-10-15T23:17:54.965Z" }, - { url = "https://files.pythonhosted.org/packages/d1/a0/5fa77988289c34bdb9f913f5606ecc9ada1adb5ae870bd0d1054a7021cc4/cryptography-46.0.3-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1000713389b75c449a6e979ffc7dcc8ac90b437048766cef052d4d30b8220971", size = 4473714, upload-time = "2025-10-15T23:17:56.754Z" }, - { url = "https://files.pythonhosted.org/packages/14/e5/fc82d72a58d41c393697aa18c9abe5ae1214ff6f2a5c18ac470f92777895/cryptography-46.0.3-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:b02cf04496f6576afffef5ddd04a0cb7d49cf6be16a9059d793a30b035f6b6ac", size = 4296970, upload-time = "2025-10-15T23:17:58.588Z" }, - { url = "https://files.pythonhosted.org/packages/78/06/5663ed35438d0b09056973994f1aec467492b33bd31da36e468b01ec1097/cryptography-46.0.3-cp38-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:71e842ec9bc7abf543b47cf86b9a743baa95f4677d22baa4c7d5c69e49e9bc04", size = 4940236, upload-time = "2025-10-15T23:18:00.897Z" }, - { url = "https://files.pythonhosted.org/packages/fc/59/873633f3f2dcd8a053b8dd1d38f783043b5fce589c0f6988bf55ef57e43e/cryptography-46.0.3-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:402b58fc32614f00980b66d6e56a5b4118e6cb362ae8f3fda141ba4689bd4506", size = 4472642, upload-time = "2025-10-15T23:18:02.749Z" }, - { url = "https://files.pythonhosted.org/packages/3d/39/8e71f3930e40f6877737d6f69248cf74d4e34b886a3967d32f919cc50d3b/cryptography-46.0.3-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ef639cb3372f69ec44915fafcd6698b6cc78fbe0c2ea41be867f6ed612811963", size = 4423126, upload-time = "2025-10-15T23:18:04.85Z" }, - { url = "https://files.pythonhosted.org/packages/cd/c7/f65027c2810e14c3e7268353b1681932b87e5a48e65505d8cc17c99e36ae/cryptography-46.0.3-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:3b51b8ca4f1c6453d8829e1eb7299499ca7f313900dd4d89a24b8b87c0a780d4", size = 4686573, upload-time = "2025-10-15T23:18:06.908Z" }, - { url = "https://files.pythonhosted.org/packages/da/38/f59940ec4ee91e93d3311f7532671a5cef5570eb04a144bf203b58552d11/cryptography-46.0.3-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:191bb60a7be5e6f54e30ba16fdfae78ad3a342a0599eb4193ba88e3f3d6e185b", size = 4243992, upload-time = "2025-10-15T23:18:18.695Z" }, - { url = "https://files.pythonhosted.org/packages/b0/0c/35b3d92ddebfdfda76bb485738306545817253d0a3ded0bfe80ef8e67aa5/cryptography-46.0.3-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:c70cc23f12726be8f8bc72e41d5065d77e4515efae3690326764ea1b07845cfb", size = 4409944, upload-time = "2025-10-15T23:18:20.597Z" }, - { url = "https://files.pythonhosted.org/packages/99/55/181022996c4063fc0e7666a47049a1ca705abb9c8a13830f074edb347495/cryptography-46.0.3-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:9394673a9f4de09e28b5356e7fff97d778f8abad85c9d5ac4a4b7e25a0de7717", size = 4242957, upload-time = "2025-10-15T23:18:22.18Z" }, - { url = "https://files.pythonhosted.org/packages/ba/af/72cd6ef29f9c5f731251acadaeb821559fe25f10852f44a63374c9ca08c1/cryptography-46.0.3-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:94cd0549accc38d1494e1f8de71eca837d0509d0d44bf11d158524b0e12cebf9", size = 4409447, upload-time = "2025-10-15T23:18:24.209Z" }, -] - [[package]] name = "deprecation" version = "2.1.0" @@ -745,15 +687,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/33/6b/e0547afaf41bf2c42e52430072fa5658766e3d65bd4b03a563d1b6336f57/distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16", size = 469047, upload-time = "2025-07-17T16:51:58.613Z" }, ] -[[package]] -name = "docutils" -version = "0.22.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d9/02/111134bfeb6e6c7ac4c74594e39a59f6c0195dc4846afbeac3cba60f1927/docutils-0.22.3.tar.gz", hash = "sha256:21486ae730e4ca9f622677b1412b879af1791efcfba517e4c6f60be543fc8cdd", size = 2290153, upload-time = "2025-11-06T02:35:55.655Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/11/a8/c6a4b901d17399c77cd81fb001ce8961e9f5e04d3daf27e8925cb012e163/docutils-0.22.3-py3-none-any.whl", hash = "sha256:bd772e4aca73aff037958d44f2be5229ded4c09927fcf8690c577b66234d6ceb", size = 633032, upload-time = "2025-11-06T02:35:52.391Z" }, -] - [[package]] name = "exceptiongroup" version = "1.3.1" @@ -940,18 +873,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" }, ] -[[package]] -name = "importlib-metadata" -version = "8.7.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "zipp" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/76/66/650a33bd90f786193e4de4b3ad86ea60b53c89b669a5c7be931fac31cdb0/importlib_metadata-8.7.0.tar.gz", hash = "sha256:d13b81ad223b890aa16c5471f2ac3056cf76c5f10f82d6f9292f0b415f389000", size = 56641, upload-time = "2025-04-27T15:29:01.736Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/20/b0/36bd937216ec521246249be3bf9855081de4c5e06a0c9b4219dbeda50373/importlib_metadata-8.7.0-py3-none-any.whl", hash = "sha256:e5dd1551894c77868a30651cef00984d50e1002d06942a7101d34870c5f02afd", size = 27656, upload-time = "2025-04-27T15:29:00.214Z" }, -] - [[package]] name = "indico-client" source = { editable = "." } @@ -974,10 +895,6 @@ all = [ datasets = [ { name = "pandas" }, ] -deploy = [ - { name = "jaraco-functools" }, - { name = "twine" }, -] deserialization = [ { name = "msgpack" }, { name = "msgpack-numpy" }, @@ -1006,7 +923,6 @@ dev = [ requires-dist = [ { name = "aiohttp", extras = ["speedups"] }, { name = "deprecation", specifier = ">=2.1.0" }, - { name = "jaraco-functools", marker = "extra == 'deploy'" }, { name = "jsons" }, { name = "msgpack", marker = "extra == 'all'", specifier = ">=0.5.6" }, { name = "msgpack", marker = "extra == 'deserialization'", specifier = ">=0.5.6" }, @@ -1019,9 +935,8 @@ requires-dist = [ { name = "pandas", marker = "extra == 'exports'", specifier = ">=1.0.3" }, { name = "requests", specifier = ">=2.22.0" }, { name = "tox", marker = "extra == 'test'", specifier = "==4.11.3" }, - { name = "twine", marker = "extra == 'deploy'", specifier = "==3.3.0" }, ] -provides-extras = ["all", "datasets", "deploy", "deserialization", "exports", "test"] +provides-extras = ["all", "datasets", "deserialization", "exports", "test"] [package.metadata.requires-dev] dev = [ @@ -1059,51 +974,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, ] -[[package]] -name = "jaraco-classes" -version = "3.4.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "more-itertools" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/06/c0/ed4a27bc5571b99e3cff68f8a9fa5b56ff7df1c2251cc715a652ddd26402/jaraco.classes-3.4.0.tar.gz", hash = "sha256:47a024b51d0239c0dd8c8540c6c7f484be3b8fcf0b2d85c13825780d3b3f3acd", size = 11780, upload-time = "2024-03-31T07:27:36.643Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7f/66/b15ce62552d84bbfcec9a4873ab79d993a1dd4edb922cbfccae192bd5b5f/jaraco.classes-3.4.0-py3-none-any.whl", hash = "sha256:f662826b6bed8cace05e7ff873ce0f9283b5c924470fe664fff1c2f00f581790", size = 6777, upload-time = "2024-03-31T07:27:34.792Z" }, -] - -[[package]] -name = "jaraco-context" -version = "6.0.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "backports-tarfile", marker = "python_full_version < '3.12'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/df/ad/f3777b81bf0b6e7bc7514a1656d3e637b2e8e15fab2ce3235730b3e7a4e6/jaraco_context-6.0.1.tar.gz", hash = "sha256:9bae4ea555cf0b14938dc0aee7c9f32ed303aa20a3b73e7dc80111628792d1b3", size = 13912, upload-time = "2024-08-20T03:39:27.358Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ff/db/0c52c4cf5e4bd9f5d7135ec7669a3a767af21b3a308e1ed3674881e52b62/jaraco.context-6.0.1-py3-none-any.whl", hash = "sha256:f797fc481b490edb305122c9181830a3a5b76d84ef6d1aef2fb9b47ab956f9e4", size = 6825, upload-time = "2024-08-20T03:39:25.966Z" }, -] - -[[package]] -name = "jaraco-functools" -version = "4.3.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "more-itertools" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/f7/ed/1aa2d585304ec07262e1a83a9889880701079dde796ac7b1d1826f40c63d/jaraco_functools-4.3.0.tar.gz", hash = "sha256:cfd13ad0dd2c47a3600b439ef72d8615d482cedcff1632930d6f28924d92f294", size = 19755, upload-time = "2025-08-18T20:05:09.91Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b4/09/726f168acad366b11e420df31bf1c702a54d373a83f968d94141a8c3fde0/jaraco_functools-4.3.0-py3-none-any.whl", hash = "sha256:227ff8ed6f7b8f62c56deff101545fa7543cf2c8e7b82a7c2116e672f29c26e8", size = 10408, upload-time = "2025-08-18T20:05:08.69Z" }, -] - -[[package]] -name = "jeepney" -version = "0.9.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7b/6f/357efd7602486741aa73ffc0617fb310a29b588ed0fd69c2399acbb85b0c/jeepney-0.9.0.tar.gz", hash = "sha256:cf0e9e845622b81e4a28df94c40345400256ec608d0e55bb8a3feaa9163f5732", size = 106758, upload-time = "2025-02-27T18:51:01.684Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b2/a3/e137168c9c44d18eff0376253da9f1e9234d0239e0ee230d2fee6cea8e55/jeepney-0.9.0-py3-none-any.whl", hash = "sha256:97e5714520c16fc0a45695e5365a2e11b81ea79bba796e26f9f1d178cb182683", size = 49010, upload-time = "2025-02-27T18:51:00.104Z" }, -] - [[package]] name = "jsons" version = "1.6.3" @@ -1116,34 +986,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/9a/22/e18585ccbf9f8c42f8c26435df0e551a924aae33488227eb686876d0bffd/jsons-1.6.3-py3-none-any.whl", hash = "sha256:f07f8919316f72a3843c7ca6cc6c900513089f10092626934d1bfe4b5cf15401", size = 60701, upload-time = "2022-06-09T19:51:59.266Z" }, ] -[[package]] -name = "keyring" -version = "25.7.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "importlib-metadata", marker = "python_full_version < '3.12'" }, - { name = "jaraco-classes" }, - { name = "jaraco-context" }, - { name = "jaraco-functools" }, - { name = "jeepney", marker = "sys_platform == 'linux'" }, - { name = "pywin32-ctypes", marker = "sys_platform == 'win32'" }, - { name = "secretstorage", version = "3.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10' and sys_platform == 'linux'" }, - { name = "secretstorage", version = "3.5.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10' and sys_platform == 'linux'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/43/4b/674af6ef2f97d56f0ab5153bf0bfa28ccb6c3ed4d1babf4305449668807b/keyring-25.7.0.tar.gz", hash = "sha256:fe01bd85eb3f8fb3dd0405defdeac9a5b4f6f0439edbb3149577f244a2e8245b", size = 63516, upload-time = "2025-11-16T16:26:09.482Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/81/db/e655086b7f3a705df045bf0933bdd9c2f79bb3c97bfef1384598bb79a217/keyring-25.7.0-py3-none-any.whl", hash = "sha256:be4a0b195f149690c166e850609a477c532ddbfbaed96a404d4e43f8d5e2689f", size = 39160, upload-time = "2025-11-16T16:26:08.402Z" }, -] - -[[package]] -name = "more-itertools" -version = "10.8.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ea/5d/38b681d3fce7a266dd9ab73c66959406d565b3e85f21d5e66e1181d93721/more_itertools-10.8.0.tar.gz", hash = "sha256:f638ddf8a1a0d134181275fb5d58b086ead7c6a72429ad725c67503f13ba30bd", size = 137431, upload-time = "2025-09-02T15:23:11.018Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a4/8e/469e5a4a2f5855992e425f3cb33804cc07bf18d48f2db061aec61ce50270/more_itertools-10.8.0-py3-none-any.whl", hash = "sha256:52d4362373dcf7c52546bc4af9a86ee7c4579df9a8dc268be0a2f949d376cc9b", size = 69667, upload-time = "2025-09-02T15:23:09.635Z" }, -] - [[package]] name = "msgpack" version = "1.1.2" @@ -1384,39 +1226,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/b7/da/7d22601b625e241d4f23ef1ebff8acfc60da633c9e7e7922e24d10f592b3/multidict-6.7.0-py3-none-any.whl", hash = "sha256:394fc5c42a333c9ffc3e421a4c85e08580d990e08b99f6bf35b4132114c5dcb3", size = 12317, upload-time = "2025-10-06T14:52:29.272Z" }, ] -[[package]] -name = "nh3" -version = "0.3.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ca/a5/34c26015d3a434409f4d2a1cd8821a06c05238703f49283ffeb937bef093/nh3-0.3.2.tar.gz", hash = "sha256:f394759a06df8b685a4ebfb1874fb67a9cbfd58c64fc5ed587a663c0e63ec376", size = 19288, upload-time = "2025-10-30T11:17:45.948Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/5b/01/a1eda067c0ba823e5e2bb033864ae4854549e49fb6f3407d2da949106bfb/nh3-0.3.2-cp314-cp314t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:d18957a90806d943d141cc5e4a0fefa1d77cf0d7a156878bf9a66eed52c9cc7d", size = 1419839, upload-time = "2025-10-30T11:17:09.956Z" }, - { url = "https://files.pythonhosted.org/packages/30/57/07826ff65d59e7e9cc789ef1dc405f660cabd7458a1864ab58aefa17411b/nh3-0.3.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45c953e57028c31d473d6b648552d9cab1efe20a42ad139d78e11d8f42a36130", size = 791183, upload-time = "2025-10-30T11:17:11.99Z" }, - { url = "https://files.pythonhosted.org/packages/af/2f/e8a86f861ad83f3bb5455f596d5c802e34fcdb8c53a489083a70fd301333/nh3-0.3.2-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2c9850041b77a9147d6bbd6dbbf13eeec7009eb60b44e83f07fcb2910075bf9b", size = 829127, upload-time = "2025-10-30T11:17:13.192Z" }, - { url = "https://files.pythonhosted.org/packages/d8/97/77aef4daf0479754e8e90c7f8f48f3b7b8725a3b8c0df45f2258017a6895/nh3-0.3.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:403c11563e50b915d0efdb622866d1d9e4506bce590ef7da57789bf71dd148b5", size = 997131, upload-time = "2025-10-30T11:17:14.677Z" }, - { url = "https://files.pythonhosted.org/packages/41/ee/fd8140e4df9d52143e89951dd0d797f5546004c6043285289fbbe3112293/nh3-0.3.2-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:0dca4365db62b2d71ff1620ee4f800c4729849906c5dd504ee1a7b2389558e31", size = 1068783, upload-time = "2025-10-30T11:17:15.861Z" }, - { url = "https://files.pythonhosted.org/packages/87/64/bdd9631779e2d588b08391f7555828f352e7f6427889daf2fa424bfc90c9/nh3-0.3.2-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:0fe7ee035dd7b2290715baf29cb27167dddd2ff70ea7d052c958dbd80d323c99", size = 994732, upload-time = "2025-10-30T11:17:17.155Z" }, - { url = "https://files.pythonhosted.org/packages/79/66/90190033654f1f28ca98e3d76b8be1194505583f9426b0dcde782a3970a2/nh3-0.3.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a40202fd58e49129764f025bbaae77028e420f1d5b3c8e6f6fd3a6490d513868", size = 975997, upload-time = "2025-10-30T11:17:18.77Z" }, - { url = "https://files.pythonhosted.org/packages/34/30/ebf8e2e8d71fdb5a5d5d8836207177aed1682df819cbde7f42f16898946c/nh3-0.3.2-cp314-cp314t-win32.whl", hash = "sha256:1f9ba555a797dbdcd844b89523f29cdc90973d8bd2e836ea6b962cf567cadd93", size = 583364, upload-time = "2025-10-30T11:17:20.286Z" }, - { url = "https://files.pythonhosted.org/packages/94/ae/95c52b5a75da429f11ca8902c2128f64daafdc77758d370e4cc310ecda55/nh3-0.3.2-cp314-cp314t-win_amd64.whl", hash = "sha256:dce4248edc427c9b79261f3e6e2b3ecbdd9b88c267012168b4a7b3fc6fd41d13", size = 589982, upload-time = "2025-10-30T11:17:21.384Z" }, - { url = "https://files.pythonhosted.org/packages/b4/bd/c7d862a4381b95f2469704de32c0ad419def0f4a84b7a138a79532238114/nh3-0.3.2-cp314-cp314t-win_arm64.whl", hash = "sha256:019ecbd007536b67fdf76fab411b648fb64e2257ca3262ec80c3425c24028c80", size = 577126, upload-time = "2025-10-30T11:17:22.755Z" }, - { url = "https://files.pythonhosted.org/packages/b6/3e/f5a5cc2885c24be13e9b937441bd16a012ac34a657fe05e58927e8af8b7a/nh3-0.3.2-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:7064ccf5ace75825bd7bf57859daaaf16ed28660c1c6b306b649a9eda4b54b1e", size = 1431980, upload-time = "2025-10-30T11:17:25.457Z" }, - { url = "https://files.pythonhosted.org/packages/7f/f7/529a99324d7ef055de88b690858f4189379708abae92ace799365a797b7f/nh3-0.3.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c8745454cdd28bbbc90861b80a0111a195b0e3961b9fa2e672be89eb199fa5d8", size = 820805, upload-time = "2025-10-30T11:17:26.98Z" }, - { url = "https://files.pythonhosted.org/packages/3d/62/19b7c50ccd1fa7d0764822d2cea8f2a320f2fd77474c7a1805cb22cf69b0/nh3-0.3.2-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72d67c25a84579f4a432c065e8b4274e53b7cf1df8f792cf846abfe2c3090866", size = 803527, upload-time = "2025-10-30T11:17:28.284Z" }, - { url = "https://files.pythonhosted.org/packages/4a/ca/f022273bab5440abff6302731a49410c5ef66b1a9502ba3fbb2df998d9ff/nh3-0.3.2-cp38-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:13398e676a14d6233f372c75f52d5ae74f98210172991f7a3142a736bd92b131", size = 1051674, upload-time = "2025-10-30T11:17:29.909Z" }, - { url = "https://files.pythonhosted.org/packages/fa/f7/5728e3b32a11daf5bd21cf71d91c463f74305938bc3eb9e0ac1ce141646e/nh3-0.3.2-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:03d617e5c8aa7331bd2659c654e021caf9bba704b109e7b2b28b039a00949fe5", size = 1004737, upload-time = "2025-10-30T11:17:31.205Z" }, - { url = "https://files.pythonhosted.org/packages/53/7f/f17e0dba0a99cee29e6cee6d4d52340ef9cb1f8a06946d3a01eb7ec2fb01/nh3-0.3.2-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f2f55c4d2d5a207e74eefe4d828067bbb01300e06e2a7436142f915c5928de07", size = 911745, upload-time = "2025-10-30T11:17:32.945Z" }, - { url = "https://files.pythonhosted.org/packages/42/0f/c76bf3dba22c73c38e9b1113b017cf163f7696f50e003404ec5ecdb1e8a6/nh3-0.3.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bb18403f02b655a1bbe4e3a4696c2ae1d6ae8f5991f7cacb684b1ae27e6c9f7", size = 797184, upload-time = "2025-10-30T11:17:34.226Z" }, - { url = "https://files.pythonhosted.org/packages/08/a1/73d8250f888fb0ddf1b119b139c382f8903d8bb0c5bd1f64afc7e38dad1d/nh3-0.3.2-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6d66f41672eb4060cf87c037f760bdbc6847852ca9ef8e9c5a5da18f090abf87", size = 838556, upload-time = "2025-10-30T11:17:35.875Z" }, - { url = "https://files.pythonhosted.org/packages/d1/09/deb57f1fb656a7a5192497f4a287b0ade5a2ff6b5d5de4736d13ef6d2c1f/nh3-0.3.2-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:f97f8b25cb2681d25e2338148159447e4d689aafdccfcf19e61ff7db3905768a", size = 1006695, upload-time = "2025-10-30T11:17:37.071Z" }, - { url = "https://files.pythonhosted.org/packages/b6/61/8f4d41c4ccdac30e4b1a4fa7be4b0f9914d8314a5058472f84c8e101a418/nh3-0.3.2-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:2ab70e8c6c7d2ce953d2a58102eefa90c2d0a5ed7aa40c7e29a487bc5e613131", size = 1075471, upload-time = "2025-10-30T11:17:38.225Z" }, - { url = "https://files.pythonhosted.org/packages/b0/c6/966aec0cb4705e69f6c3580422c239205d5d4d0e50fac380b21e87b6cf1b/nh3-0.3.2-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:1710f3901cd6440ca92494ba2eb6dc260f829fa8d9196b659fa10de825610ce0", size = 1002439, upload-time = "2025-10-30T11:17:39.553Z" }, - { url = "https://files.pythonhosted.org/packages/e2/c8/97a2d5f7a314cce2c5c49f30c6f161b7f3617960ade4bfc2fd1ee092cb20/nh3-0.3.2-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:91e9b001101fb4500a2aafe3e7c92928d85242d38bf5ac0aba0b7480da0a4cd6", size = 987439, upload-time = "2025-10-30T11:17:40.81Z" }, - { url = "https://files.pythonhosted.org/packages/0d/95/2d6fc6461687d7a171f087995247dec33e8749a562bfadd85fb5dbf37a11/nh3-0.3.2-cp38-abi3-win32.whl", hash = "sha256:169db03df90da63286e0560ea0efa9b6f3b59844a9735514a1d47e6bb2c8c61b", size = 589826, upload-time = "2025-10-30T11:17:42.239Z" }, - { url = "https://files.pythonhosted.org/packages/64/9a/1a1c154f10a575d20dd634e5697805e589bbdb7673a0ad00e8da90044ba7/nh3-0.3.2-cp38-abi3-win_amd64.whl", hash = "sha256:562da3dca7a17f9077593214a9781a94b8d76de4f158f8c895e62f09573945fe", size = 596406, upload-time = "2025-10-30T11:17:43.773Z" }, - { url = "https://files.pythonhosted.org/packages/9e/7e/a96255f63b7aef032cbee8fc4d6e37def72e3aaedc1f72759235e8f13cb1/nh3-0.3.2-cp38-abi3-win_arm64.whl", hash = "sha256:cf5964d54edd405e68583114a7cba929468bcd7db5e676ae38ee954de1cfc104", size = 584162, upload-time = "2025-10-30T11:17:44.96Z" }, -] - [[package]] name = "numpy" version = "2.0.2" @@ -1703,15 +1512,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/98/af/7be05277859a7bc399da8ba68b88c96b27b48740b6cf49688899c6eb4176/pandas-2.3.3-cp39-cp39-win_amd64.whl", hash = "sha256:d3e28b3e83862ccf4d85ff19cf8c20b2ae7e503881711ff2d534dc8f761131aa", size = 11359119, upload-time = "2025-09-29T23:34:46.339Z" }, ] -[[package]] -name = "pkginfo" -version = "1.12.1.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/24/03/e26bf3d6453b7fda5bd2b84029a426553bb373d6277ef6b5ac8863421f87/pkginfo-1.12.1.2.tar.gz", hash = "sha256:5cd957824ac36f140260964eba3c6be6442a8359b8c48f4adf90210f33a04b7b", size = 451828, upload-time = "2025-02-19T15:27:37.188Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/fa/3d/f4f2ba829efb54b6cd2d91349c7463316a9cc55a43fc980447416c88540f/pkginfo-1.12.1.2-py3-none-any.whl", hash = "sha256:c783ac885519cab2c34927ccfa6bf64b5a704d7c69afaea583dd9b7afe969343", size = 32717, upload-time = "2025-02-19T15:27:33.071Z" }, -] - [[package]] name = "platformdirs" version = "4.4.0" @@ -2152,29 +1952,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/81/c4/34e93fe5f5429d7570ec1fa436f1986fb1f00c3e0f43a589fe2bbcd22c3f/pytz-2025.2-py2.py3-none-any.whl", hash = "sha256:5ddf76296dd8c44c26eb8f4b6f35488f3ccbf6fbbd7adee0b7262d43f0ec2f00", size = 509225, upload-time = "2025-03-25T02:24:58.468Z" }, ] -[[package]] -name = "pywin32-ctypes" -version = "0.2.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/85/9f/01a1a99704853cb63f253eea009390c88e7131c67e66a0a02099a8c917cb/pywin32-ctypes-0.2.3.tar.gz", hash = "sha256:d162dc04946d704503b2edc4d55f3dba5c1d539ead017afa00142c38b9885755", size = 29471, upload-time = "2024-08-14T10:15:34.626Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/de/3d/8161f7711c017e01ac9f008dfddd9410dff3674334c233bde66e7ba65bbf/pywin32_ctypes-0.2.3-py3-none-any.whl", hash = "sha256:8a1513379d709975552d202d942d9837758905c8d01eb82b8bcc30918929e7b8", size = 30756, upload-time = "2024-08-14T10:15:33.187Z" }, -] - -[[package]] -name = "readme-renderer" -version = "44.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "docutils" }, - { name = "nh3" }, - { name = "pygments" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/5a/a9/104ec9234c8448c4379768221ea6df01260cd6c2ce13182d4eac531c8342/readme_renderer-44.0.tar.gz", hash = "sha256:8712034eabbfa6805cacf1402b4eeb2a73028f72d1166d6f5cb7f9c047c5d1e1", size = 32056, upload-time = "2024-07-08T15:00:57.805Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e1/67/921ec3024056483db83953ae8e48079ad62b92db7880013ca77632921dd0/readme_renderer-44.0-py3-none-any.whl", hash = "sha256:2fbca89b81a08526aadf1357a8c2ae889ec05fb03f5da67f9769c9a592166151", size = 13310, upload-time = "2024-07-08T15:00:56.577Z" }, -] - [[package]] name = "requests" version = "2.32.5" @@ -2202,72 +1979,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/97/ec/889fbc557727da0c34a33850950310240f2040f3b1955175fdb2b36a8910/requests_mock-1.12.1-py2.py3-none-any.whl", hash = "sha256:b1e37054004cdd5e56c84454cc7df12b25f90f382159087f4b6915aaeef39563", size = 27695, upload-time = "2024-03-29T03:54:27.64Z" }, ] -[[package]] -name = "requests-toolbelt" -version = "1.0.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "requests" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/f3/61/d7545dafb7ac2230c70d38d31cbfe4cc64f7144dc41f6e4e4b78ecd9f5bb/requests-toolbelt-1.0.0.tar.gz", hash = "sha256:7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6", size = 206888, upload-time = "2023-05-01T04:11:33.229Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481, upload-time = "2023-05-01T04:11:28.427Z" }, -] - -[[package]] -name = "rfc3986" -version = "2.0.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/85/40/1520d68bfa07ab5a6f065a186815fb6610c86fe957bc065754e47f7b0840/rfc3986-2.0.0.tar.gz", hash = "sha256:97aacf9dbd4bfd829baad6e6309fa6573aaf1be3f6fa735c8ab05e46cecb261c", size = 49026, upload-time = "2022-01-10T00:52:30.832Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ff/9a/9afaade874b2fa6c752c36f1548f718b5b83af81ed9b76628329dab81c1b/rfc3986-2.0.0-py2.py3-none-any.whl", hash = "sha256:50b1502b60e289cb37883f3dfd34532b8873c7de9f49bb546641ce9cbd256ebd", size = 31326, upload-time = "2022-01-10T00:52:29.594Z" }, -] - -[[package]] -name = "secretstorage" -version = "3.3.3" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version < '3.10'", -] -dependencies = [ - { name = "cryptography" }, - { name = "jeepney" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/53/a4/f48c9d79cb507ed1373477dbceaba7401fd8a23af63b837fa61f1dcd3691/SecretStorage-3.3.3.tar.gz", hash = "sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77", size = 19739, upload-time = "2022-08-13T16:22:46.976Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/54/24/b4293291fa1dd830f353d2cb163295742fa87f179fcc8a20a306a81978b7/SecretStorage-3.3.3-py3-none-any.whl", hash = "sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99", size = 15221, upload-time = "2022-08-13T16:22:44.457Z" }, -] - -[[package]] -name = "secretstorage" -version = "3.5.0" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version >= '3.14'", - "python_full_version == '3.13.*'", - "python_full_version == '3.12.*'", - "python_full_version == '3.11.*'", - "python_full_version == '3.10.*'", -] -dependencies = [ - { name = "cryptography" }, - { name = "jeepney" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/1c/03/e834bcd866f2f8a49a85eaff47340affa3bfa391ee9912a952a1faa68c7b/secretstorage-3.5.0.tar.gz", hash = "sha256:f04b8e4689cbce351744d5537bf6b1329c6fc68f91fa666f60a380edddcd11be", size = 19884, upload-time = "2025-11-23T19:02:53.191Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b7/46/f5af3402b579fd5e11573ce652019a67074317e18c1935cc0b4ba9b35552/secretstorage-3.5.0-py3-none-any.whl", hash = "sha256:0ce65888c0725fcb2c5bc0fdb8e5438eece02c523557ea40ce0703c266248137", size = 15554, upload-time = "2025-11-23T19:02:51.545Z" }, -] - -[[package]] -name = "setuptools" -version = "80.9.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/18/5d/3bf57dcd21979b887f014ea83c24ae194cfcd12b9e0fda66b957c69d1fca/setuptools-80.9.0.tar.gz", hash = "sha256:f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c", size = 1319958, upload-time = "2025-05-27T00:56:51.443Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a3/dc/17031897dae0efacfea57dfd3a82fdd2a2aeb58e0ff71b77b87e44edc772/setuptools-80.9.0-py3-none-any.whl", hash = "sha256:062d34222ad13e0cc312a4c02d73f059e86a4acbfbdea8f8f76b28c99f306922", size = 1201486, upload-time = "2025-05-27T00:56:49.664Z" }, -] - [[package]] name = "six" version = "1.17.0" @@ -2350,38 +2061,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/f5/f9/963052e8b825645c54262dce7b7c88691505e3b9ee10a3e3667711eaaf21/tox-4.11.3-py3-none-any.whl", hash = "sha256:599af5e5bb0cad0148ac1558a0b66f8fff219ef88363483b8d92a81e4246f28f", size = 153836, upload-time = "2023-09-08T22:45:32.878Z" }, ] -[[package]] -name = "tqdm" -version = "4.67.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/a8/4b/29b4ef32e036bb34e4ab51796dd745cdba7ed47ad142a9f4a1eb8e0c744d/tqdm-4.67.1.tar.gz", hash = "sha256:f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2", size = 169737, upload-time = "2024-11-24T20:12:22.481Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d0/30/dc54f88dd4a2b5dc8a0279bdd7270e735851848b762aeb1c1184ed1f6b14/tqdm-4.67.1-py3-none-any.whl", hash = "sha256:26445eca388f82e72884e0d580d5464cd801a3ea01e63e5601bdff9ba6a48de2", size = 78540, upload-time = "2024-11-24T20:12:19.698Z" }, -] - -[[package]] -name = "twine" -version = "3.3.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama" }, - { name = "keyring" }, - { name = "pkginfo" }, - { name = "readme-renderer" }, - { name = "requests" }, - { name = "requests-toolbelt" }, - { name = "rfc3986" }, - { name = "setuptools" }, - { name = "tqdm" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/f9/43/51c3139667e90399a4d7886013631ad020ad102db5c2907cb240ce56f3c1/twine-3.3.0.tar.gz", hash = "sha256:fcffa8fc37e8083a5be0728371f299598870ee1eccc94e9a25cef7b1dcfa8297", size = 153306, upload-time = "2020-12-24T11:05:12.222Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/eb/d7/a46b7eb07b491a9295c3581f86ad68f97df83e000dc9a4c6e3c710c432dd/twine-3.3.0-py3-none-any.whl", hash = "sha256:2f6942ec2a17417e19d2dd372fc4faa424c87ee9ce49b4e20c427eb00a0f3f41", size = 34954, upload-time = "2020-12-24T11:05:10.877Z" }, -] - [[package]] name = "typing-extensions" version = "4.15.0" @@ -2575,12 +2254,3 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c2/a3/70904f365080780d38b919edd42d224b8c4ce224a86950d2eaa2a24366ad/yarl-1.22.0-cp39-cp39-win_arm64.whl", hash = "sha256:dd7afd3f8b0bfb4e0d9fc3c31bfe8a4ec7debe124cfd90619305def3c8ca8cd2", size = 82173, upload-time = "2025-10-06T14:12:51.869Z" }, { url = "https://files.pythonhosted.org/packages/73/ae/b48f95715333080afb75a4504487cbe142cae1268afc482d06692d605ae6/yarl-1.22.0-py3-none-any.whl", hash = "sha256:1380560bdba02b6b6c90de54133c81c9f2a453dee9912fe58c1dcced1edb7cff", size = 46814, upload-time = "2025-10-06T14:12:53.872Z" }, ] - -[[package]] -name = "zipp" -version = "3.23.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e3/02/0f2892c661036d50ede074e376733dca2ae7c6eb617489437771209d4180/zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166", size = 25547, upload-time = "2025-06-08T17:06:39.4Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2e/54/647ade08bf0db230bfea292f893923872fd20be6ac6f53b2b936ba839d75/zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e", size = 10276, upload-time = "2025-06-08T17:06:38.034Z" }, -]