AdithyaSK HF Staff commited on
Commit
d40299b
·
verified ·
1 Parent(s): b677dd1

Publish 100 swe_next Harbor tasks

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. LICENSES.md +6 -0
  2. README.md +78 -0
  3. bundle-files.json +0 -0
  4. data/tasks.jsonl +0 -0
  5. manifest.json +0 -0
  6. release-files.json +0 -0
  7. tasks.tar.gz +3 -0
  8. tasks/swe-next-001cfe3eecfafbd157e8/environment/Dockerfile +8 -0
  9. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/dependabot.yml +22 -0
  10. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/release.yml +4 -0
  11. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/codeql.yml +63 -0
  12. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/docs.yml +34 -0
  13. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/lint.yml +73 -0
  14. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/perf.yml +47 -0
  15. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/publish.yml +100 -0
  16. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/test.yml +181 -0
  17. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.gitignore +21 -0
  18. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.pre-commit-config.yaml +65 -0
  19. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.readthedocs.yml +21 -0
  20. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/CHANGELOG.rst +852 -0
  21. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/CONTRIBUTING.rst +22 -0
  22. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/LICENSE +3 -0
  23. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/LICENSE.APACHE +177 -0
  24. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/LICENSE.BSD +23 -0
  25. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/README.rst +81 -0
  26. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/SECURITY.md +4 -0
  27. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/asv.conf.json +19 -0
  28. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/__init__.py +17 -0
  29. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/dist_sample.txt +500 -0
  30. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/markers.py +35 -0
  31. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/requirement.py +22 -0
  32. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/resolver.py +48 -0
  33. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/specifiers.py +118 -0
  34. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/specs_sample.txt +500 -0
  35. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/utils.py +33 -0
  36. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/version.py +66 -0
  37. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/version_sample.txt +1305 -0
  38. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/Makefile +153 -0
  39. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/changelog.rst +1 -0
  40. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/conf.py +131 -0
  41. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/dependency_groups.rst +79 -0
  42. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/getting-started.rst +104 -0
  43. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/index.rst +19 -0
  44. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/release-process.rst +44 -0
  45. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/reviewing-patches.rst +37 -0
  46. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/submitting-patches.rst +74 -0
  47. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/direct_url.rst +88 -0
  48. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/errors.rst +55 -0
  49. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/index.rst +47 -0
  50. tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/licenses.rst +18 -0
LICENSES.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # Source licenses and attribution
2
+
3
+ This is a mixed-source research collection. Repository files and attributed source material retain their original licenses; this release does not relicense them. Inspect each task for bundled LICENSE/COPYING notices and source provenance in task.toml and manifest.json. Stack Exchange excerpts retain their recorded CC BY-SA version and author attribution. A source with no explicit license is not represented as freely relicensed.
4
+
5
+ - https://github.com/TIGER-AI-Lab/SWE-Next
6
+ - https://github.com/huggingface/Repo2RLEnv/blob/a9e6f88bb2ec1e7a929ab224c3b9318c53579d78/docs/rfcs/0023-swe-next-recipe.md
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: mixed-source-licenses
4
+ license_link: https://huggingface.co/datasets/HuggingEnvs/repo2rlenv-swe-next/blob/main/LICENSES.md
5
+ language:
6
+ - en
7
+ tags:
8
+ - reinforcement-learning
9
+ - coding
10
+ - harbor
11
+ - repo2rlenv
12
+ - swe_next
13
+ size_categories:
14
+ - n<1K
15
+ configs:
16
+ - config_name: default
17
+ data_files:
18
+ - split: train
19
+ path: data/tasks.jsonl
20
+ ---
21
+
22
+ # Repo2RLEnv SWE-Next
23
+
24
+ Mine real repository history for supported code changes and associated tests, preserve regression behavior, and export the historical implementation change as the reference.
25
+
26
+ Contains **100 Harbor tasks** generated with the owned
27
+ `swe_next` recipe in [Repo2RLEnv](https://github.com/huggingface/Repo2RLEnv).
28
+ The task bundle is under `tasks/<task_id>/`; `data/tasks.jsonl` is a browsing index.
29
+ `manifest.json` records source identity, evidence, diagnostics and measured costs.
30
+
31
+ ## Generation
32
+
33
+ Mine real repository history for supported code changes and associated tests, preserve regression behavior, and export the historical implementation change as the reference. This is the owned implementation, with full method and deviations documented in the linked recipe RFC. Tasks retain their original source identity and quality labels.
34
+
35
+ Implementation revision: `a9e6f88bb2ec1e7a929ab224c3b9318c53579d78`. The exact recipe, source revision,
36
+ reward kinds and quality status remain in each original `task.toml`.
37
+
38
+ ## Validation and limitations
39
+
40
+ Quality label counts: `{"exported": 100}`.
41
+ An `exported` task is a generation artifact. Baseline/reference controls establish
42
+ only the behavior recorded in that task's evidence. They do not establish blind
43
+ solver success, difficulty, verifier completeness or resistance to reward hacking.
44
+ An LLM consistency review is separate from the deterministic task reward.
45
+
46
+ - Collection-level semantic quality and blind solver success have not been measured for all 100 tasks.
47
+ - Per-task controls and missing standalone evidence are recorded explicitly; an export is not an accepted-quality claim.
48
+ - Repository and seed license notices remain attached to their original materials.
49
+
50
+ ## Download and run
51
+
52
+ `tasks.tar.gz` preserves executable file modes and the original bundle identities:
53
+
54
+ ```bash
55
+ hf download HuggingEnvs/repo2rlenv-swe-next tasks.tar.gz --repo-type dataset --local-dir ./dataset
56
+ tar -xzf ./dataset/tasks.tar.gz -C ./dataset
57
+ harbor run --path ./dataset/tasks --agent oracle --env daytona
58
+ ```
59
+
60
+ Configure Daytona credentials and Harbor's provider dependencies before execution.
61
+ The archive includes references and private tests for the harness; the solver
62
+ should receive only the instruction and learner environment. `registry.json`
63
+ pins the unpacked task paths to the immutable upload commit.
64
+
65
+ ## Economics
66
+
67
+ `manifest.json` includes generation costs, failed-attempt costs and outstanding
68
+ reservations when available. Cloud lifetime estimates are labeled separately from
69
+ provider invoices. Retained task costs and new-generation costs use separate scopes.
70
+
71
+ ## Credits and licensing
72
+
73
+ - https://github.com/TIGER-AI-Lab/SWE-Next
74
+ - https://github.com/huggingface/Repo2RLEnv/blob/a9e6f88bb2ec1e7a929ab224c3b9318c53579d78/docs/rfcs/0023-swe-next-recipe.md
75
+
76
+ See [LICENSES.md](LICENSES.md), bundled notices and per-task provenance. These are
77
+ owned adaptations inspired by the credited methods, not an upstream benchmark
78
+ release or a claim of exact reproduction of its published results.
bundle-files.json ADDED
The diff for this file is too large to render. See raw diff
 
data/tasks.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
release-files.json ADDED
The diff for this file is too large to render. See raw diff
 
tasks.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3481719ea2c88be8e43aa51f1e27aefa2b46ccd284f8ee30b848cbd3e7101823
3
+ size 40617710
tasks/swe-next-001cfe3eecfafbd157e8/environment/Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ WORKDIR /workspace
3
+ RUN python -m pip install --no-cache-dir pytest==8.4.2 coverage==7.16.0 hypothesis==6.151.9 pretend==1.0.9 tomli_w==1.2.0
4
+ COPY source /workspace
5
+ RUN python -m pip install --no-cache-dir -e .
6
+ ENV PYTHONDONTWRITEBYTECODE=1 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
7
+ RUN apt-get update && apt-get install -y --no-install-recommends tmux && rm -rf /var/lib/apt/lists/*
8
+ RUN useradd -m -u 1000 learner && chown -R learner:learner /workspace
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/dependabot.yml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "monthly"
7
+ groups:
8
+ github-actions:
9
+ patterns:
10
+ - "*"
11
+ cooldown:
12
+ default-days: 7
13
+ - package-ecosystem: "pre-commit"
14
+ directory: "/"
15
+ schedule:
16
+ interval: "monthly"
17
+ groups:
18
+ pre-commit:
19
+ patterns:
20
+ - "*"
21
+ cooldown:
22
+ default-days: 7
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/release.yml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ changelog:
2
+ exclude:
3
+ authors:
4
+ - dependabot[bot]
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/codeql.yml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: "CodeQL"
2
+
3
+ concurrency:
4
+ group: ${{ github.workflow }}-${{ github.ref }}
5
+ cancel-in-progress: true
6
+
7
+ on:
8
+ push:
9
+ branches: [ "main" ]
10
+ pull_request:
11
+ # The branches below must be a subset of the branches above
12
+ branches: [ "main" ]
13
+ schedule:
14
+ - cron: '16 5 * * 6'
15
+
16
+ permissions: {}
17
+
18
+ jobs:
19
+ analyze:
20
+ name: Analyze
21
+ # Runner size impacts CodeQL analysis time. To learn more, please see:
22
+ # - https://gh.io/recommended-hardware-resources-for-running-codeql
23
+ # - https://gh.io/supported-runners-and-hardware-resources
24
+ # - https://gh.io/using-larger-runners
25
+ # Consider using larger runners for possible analysis time improvements.
26
+ runs-on: 'ubuntu-latest'
27
+ timeout-minutes: 360
28
+ permissions:
29
+ actions: read # Allow CodeQL action to read metadata needed for analysis.
30
+ contents: read
31
+ security-events: write # So CodeQL can upload analysis events.
32
+
33
+ strategy:
34
+ fail-fast: false
35
+ matrix:
36
+ language: [ 'python' ]
37
+
38
+ steps:
39
+ - name: Checkout repository
40
+ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
41
+ with:
42
+ persist-credentials: false
43
+
44
+ # Initializes the CodeQL tools for scanning.
45
+ - name: Initialize CodeQL
46
+ uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3.29.5
47
+ with:
48
+ languages: ${{ matrix.language }}
49
+ # If you wish to specify custom queries, you can do so here or in a config file.
50
+ # By default, queries listed here will override any specified in a config file.
51
+ # Prefix the list here with "+" to use these queries and those in the config file.
52
+
53
+ # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
54
+ # queries: security-extended,security-and-quality
55
+
56
+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
57
+ - name: Autobuild
58
+ uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3.29.5
59
+
60
+ - name: Perform CodeQL Analysis
61
+ uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3.29.5
62
+ with:
63
+ category: "/language:${{matrix.language}}"
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/docs.yml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Documentation
2
+
3
+ on: [push, pull_request, workflow_dispatch]
4
+
5
+ concurrency:
6
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
7
+ cancel-in-progress: true
8
+
9
+ permissions: {}
10
+
11
+ env:
12
+ FORCE_COLOR: 1
13
+
14
+ jobs:
15
+ docs:
16
+ name: nox -s docs
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
21
+ with:
22
+ persist-credentials: false
23
+
24
+ - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
25
+ name: Install Python
26
+ with:
27
+ python-version: "3.9"
28
+ cache: "pip"
29
+
30
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
31
+ name: Setup uv
32
+
33
+ - name: Build documentation
34
+ run: pipx run nox -s docs
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/lint.yml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Linting
2
+
3
+ on:
4
+ pull_request:
5
+ paths:
6
+ - ".github/workflows/lint.yml"
7
+ - ".pre-commit-config.yaml"
8
+ - "**.py"
9
+ push:
10
+ paths:
11
+ - ".github/workflows/lint.yml"
12
+ - ".pre-commit-config.yaml"
13
+ - "**.py"
14
+
15
+ concurrency:
16
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
17
+ cancel-in-progress: true
18
+
19
+ permissions: {}
20
+
21
+ env:
22
+ FORCE_COLOR: 1
23
+
24
+ jobs:
25
+ lint:
26
+ name: nox -s lint
27
+ runs-on: ubuntu-latest
28
+
29
+ steps:
30
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
31
+ with:
32
+ persist-credentials: false
33
+
34
+ - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
35
+ name: Install Python
36
+ with:
37
+ python-version: "3.10"
38
+ cache: "pip"
39
+
40
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
41
+ name: Setup uv
42
+
43
+ - name: Run `nox -s lint`
44
+ run: pipx run nox -s lint -- --show-diff-on-failure
45
+
46
+ build:
47
+ name: Build sdist and wheel
48
+ runs-on: ubuntu-latest
49
+ # Linting verifies that the project is in an acceptable state to create files
50
+ # for releasing.
51
+ # And this action should be run whenever a release is ready to go public as
52
+ # the version number will be changed by editing __init__.py.
53
+ needs: lint
54
+
55
+ steps:
56
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
57
+ with:
58
+ persist-credentials: false
59
+
60
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
61
+ name: Setup uv
62
+
63
+ - name: Build
64
+ run: uv build
65
+
66
+ - name: Build
67
+ run: uvx twine check --strict ./dist/*
68
+
69
+ - name: Archive files
70
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
71
+ with:
72
+ name: dist
73
+ path: dist
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/perf.yml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Performance Benchmarks
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+
8
+ permissions: {}
9
+
10
+ concurrency:
11
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
12
+ cancel-in-progress: true
13
+
14
+ jobs:
15
+ asv-continuous:
16
+ name: ASV
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
20
+ with:
21
+ persist-credentials: false
22
+ fetch-depth: 0
23
+
24
+ - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
25
+ name: Install Pythons
26
+ with:
27
+ python-version: |
28
+ 3.9
29
+ 3.10
30
+ 3.11
31
+ 3.12
32
+ 3.13
33
+ 3.14
34
+
35
+ - name: Install uv
36
+ uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
37
+
38
+ - name: Setup ASV
39
+ run: |
40
+ uv tool install asv
41
+ asv machine --yes
42
+
43
+ - name: Run ASV continuous benchmark
44
+ run: asv continuous origin/main HEAD --interleave-rounds --sort default --no-only-changed | tee -a asv_output.txt || true
45
+
46
+ - name: Write out to GitHub Summary
47
+ run: sed -n '/All benchmarks/,$p' asv_output.txt >> "$GITHUB_STEP_SUMMARY"
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/publish.yml ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Publish
2
+
3
+ concurrency:
4
+ group: ${{ github.workflow }}-${{ github.ref }}
5
+ cancel-in-progress: true
6
+
7
+ on:
8
+ workflow_dispatch:
9
+ inputs:
10
+ ref:
11
+ # require SHA as tags and branches are mutable
12
+ description: Full git commit SHA (not branch/tag)
13
+ required: true
14
+ type: string
15
+
16
+ env:
17
+ FORCE_COLOR: 1
18
+
19
+ permissions: {}
20
+
21
+ jobs:
22
+ build:
23
+ name: Build
24
+ runs-on: ubuntu-latest
25
+ outputs:
26
+ tag: ${{ steps.get-tag.outputs.tag }}
27
+
28
+ steps:
29
+ - name: Log inputs
30
+ run: echo "${INPUTS}"
31
+ env:
32
+ INPUTS: ${{ toJSON(inputs) }}
33
+
34
+ - name: Checkout repository
35
+ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
36
+ with:
37
+ ref: ${{ inputs.ref }}
38
+ persist-credentials: false
39
+ fetch-depth: 0
40
+
41
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
42
+ name: Setup uv
43
+
44
+ - name: Check ref is the commit SHA
45
+ # require SHA as tags and branches are mutable
46
+ run: test "${INPUTS_REF}"
47
+ = "$(git log --max-count=1 --format=format:%h)"
48
+ || test "${INPUTS_REF}"
49
+ = "$(git log --max-count=1 --format=format:%H)"
50
+ env:
51
+ INPUTS_REF: ${{ inputs.ref }}
52
+
53
+ - name: Get git tag
54
+ id: get-tag
55
+ run: echo "tag=$(git tag --points-at "$INPUTS_REF")" >> "$GITHUB_OUTPUT"
56
+ env:
57
+ INPUTS_REF: ${{ inputs.ref }}
58
+
59
+ - name: Install nox with pbs
60
+ run: pipx install nox[pbs]
61
+
62
+ - name: Provision nox environment
63
+ run: nox --install-only -s release_build
64
+
65
+ - name: Build distribution via nox
66
+ run: nox --no-install -R -s release_build
67
+
68
+ - name: Upload distribution
69
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1
70
+ with:
71
+ name: packages
72
+ path: dist/
73
+ if-no-files-found: error
74
+ compression-level: 0
75
+
76
+ publish:
77
+ name: Publish
78
+ needs:
79
+ - build
80
+ environment:
81
+ name: pypi
82
+ url: https://pypi.org/project/packaging/${{ needs.build.outputs.tag }}
83
+ permissions:
84
+ id-token: write # Allow OIDC id-token for authenticated publishing to PyPI
85
+ # Only publish if there's a matching tag, and if this is not a fork
86
+ if: needs.build.outputs.tag != '' && !github.event.repository.fork
87
+
88
+ runs-on: ubuntu-latest
89
+
90
+ steps:
91
+ - name: Download distribution
92
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # 8.0.1
93
+ with:
94
+ name: packages
95
+ path: dist/
96
+
97
+ - name: Publish distribution to PyPI
98
+ uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
99
+ with:
100
+ print-hash: true
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.github/workflows/test.yml ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Test
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
+
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
11
+ cancel-in-progress: true
12
+
13
+ env:
14
+ FORCE_COLOR: 1
15
+
16
+ permissions: {}
17
+
18
+ jobs:
19
+ test:
20
+ name: ${{ matrix.os }} / ${{ matrix.python_version }}
21
+ runs-on: ${{ matrix.os }}-latest
22
+ strategy:
23
+ fail-fast: false
24
+ matrix:
25
+ os: [Ubuntu, Windows, macOS]
26
+ python_version:
27
+ ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15", "3.13t", "3.14t", "3.15t", "pypy3.9", "pypy3.10", "pypy3.11"]
28
+ include:
29
+ - os: Ubuntu
30
+ python_version: "3.11.0"
31
+ - os: Ubuntu
32
+ python_version: "3.12.0"
33
+ - os: Ubuntu
34
+ python_version: "3.13.0"
35
+ - os: Ubuntu
36
+ python_version: "3.14.0"
37
+ exclude:
38
+ # Slow, sometimes fails to build in CI (not packaging's fault)
39
+ - os: Windows
40
+ python_version: "3.13t"
41
+
42
+ steps:
43
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
44
+ with:
45
+ persist-credentials: false
46
+
47
+ - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
48
+ name: Install Python ${{ matrix.python_version }}
49
+ with:
50
+ python-version: ${{ matrix.python_version }}
51
+ allow-prereleases: true
52
+
53
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
54
+ name: Setup uv
55
+
56
+ - name: Run nox
57
+ run: pipx run nox -s tests
58
+ env:
59
+ NOXFORCEPYTHON: ${{ matrix.python_version }}
60
+
61
+ musl:
62
+ name: Alpine / musl
63
+ runs-on: ubuntu-latest
64
+ container: alpine:3.23.4@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11
65
+
66
+ steps:
67
+ # Alpine ships a genuinely musl-linked Python, so this exercises the
68
+ # musllinux tag detection code paths that glibc runners cannot.
69
+ - name: Install system dependencies
70
+ run: apk add --no-cache git python3
71
+
72
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
73
+ with:
74
+ persist-credentials: false
75
+
76
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
77
+ name: Setup uv
78
+
79
+ - name: Run tests
80
+ run: uv run --python python3 python -m pytest
81
+ env:
82
+ UV_PYTHON_PREFERENCE: only-system
83
+
84
+ property-tests:
85
+ name: Property tests
86
+ runs-on: ubuntu-latest
87
+
88
+ steps:
89
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
90
+ with:
91
+ persist-credentials: false
92
+
93
+ - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
94
+ name: Install Python 3.14
95
+ with:
96
+ python-version: "3.14"
97
+ cache: "pip"
98
+
99
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
100
+ name: Setup uv
101
+
102
+ - name: Run nox
103
+ run: pipx run nox -s property_tests
104
+
105
+ downstream:
106
+ name: Downstream ${{ matrix.project }}
107
+ runs-on: ubuntu-latest
108
+ strategy:
109
+ fail-fast: false
110
+ matrix:
111
+ project:
112
+ - packaging_legacy
113
+ - build
114
+ - pyproject_metadata
115
+ - setuptools
116
+ - pip
117
+ - dependency_groups
118
+ - dep_logic
119
+ - twine
120
+ - cibuildwheel
121
+ - hatchling
122
+ - tox
123
+ - virtualenv
124
+ - pdm
125
+ - poetry_core
126
+ - pipenv
127
+
128
+ steps:
129
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
130
+ with:
131
+ persist-credentials: false
132
+
133
+ - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
134
+ name: Install Python 3.14
135
+ with:
136
+ python-version: "3.14"
137
+ cache: "pip"
138
+
139
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
140
+ name: Setup uv
141
+
142
+ - name: Run nox
143
+ env:
144
+ MATRIX_PROJECT: ${{ matrix.project }}
145
+ run: pipx run nox -s "downstream(project='$MATRIX_PROJECT')"
146
+
147
+ pickle:
148
+ name: Pickle test
149
+ runs-on: ubuntu-latest
150
+ steps:
151
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
152
+ with:
153
+ persist-credentials: false
154
+
155
+ - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
156
+ name: Install Python 3.14
157
+ with:
158
+ python-version: "3.14"
159
+ cache: "pip"
160
+
161
+ - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
162
+ name: Setup uv
163
+
164
+ - name: Run nox
165
+ run: pipx run nox -s test_pickle
166
+
167
+ pass:
168
+ name: All pass
169
+ if: always()
170
+
171
+ needs:
172
+ - test
173
+ - musl
174
+
175
+ runs-on: ubuntu-slim
176
+
177
+ steps:
178
+ - name: Decide whether the needed jobs succeeded or failed
179
+ uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
180
+ with:
181
+ jobs: ${{ toJSON(needs) }}
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.gitignore ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.egg-info/
2
+ *.egg
3
+ *.py[co]
4
+
5
+ .[nt]ox/
6
+ .cache/
7
+ .coverage
8
+ .idea
9
+ .venv*
10
+ .vscode/
11
+ .hypothesis/
12
+
13
+ .mypy_cache/
14
+ .pytest_cache/
15
+ __pycache__/
16
+ _build/
17
+ build/
18
+ dist/
19
+ htmlcov/
20
+ html/
21
+ results/
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.pre-commit-config.yaml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
4
+ hooks:
5
+ - id: check-toml
6
+ - id: check-yaml
7
+ - id: end-of-file-fixer
8
+ - id: mixed-line-ending
9
+ - id: trailing-whitespace
10
+
11
+ - repo: https://github.com/astral-sh/ruff-pre-commit
12
+ rev: 745be0411e3c150e246d527e531e5a221b8c3462 # frozen: v0.15.19
13
+ hooks:
14
+ - id: ruff-check
15
+ args: [ --fix ]
16
+ - id: ruff-format
17
+
18
+ - repo: https://github.com/pre-commit/pygrep-hooks
19
+ rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 # frozen: v1.10.0
20
+ hooks:
21
+ - id: rst-backticks
22
+ - id: rst-directive-colons
23
+ - id: rst-inline-touching-normal
24
+
25
+ - repo: https://github.com/pre-commit/mirrors-mypy
26
+ rev: d2823d321df3af8f878f7ee3414dc94d037145b9 # frozen: v2.1.0
27
+ hooks:
28
+ - id: mypy
29
+ exclude: '^(docs)'
30
+ args: []
31
+ additional_dependencies: &type_deps
32
+ - hypothesis
33
+ - nox
34
+ - 'pytest<9'
35
+ - tomli
36
+ - tomli_w
37
+ - 'typing_extensions>=4.15.0'
38
+ - httpx
39
+
40
+ - repo: https://github.com/crate-ci/typos
41
+ rev: 37bb98842b0d8c4ffebdb75301a13db0267cef89 # frozen: v1.47.2
42
+ hooks:
43
+ - id: typos
44
+ args: []
45
+
46
+ - repo: https://github.com/zizmorcore/zizmor-pre-commit
47
+ rev: e3eebf65325ccc992422292cb7a4baee967cf815 # frozen: v1.26.1
48
+ hooks:
49
+ - id: zizmor
50
+ files: "^\\.github"
51
+ args: [--persona=auditor]
52
+
53
+ - repo: https://github.com/rhysd/actionlint
54
+ rev: 914e7df21a07ef503a81201c76d2b11c789d3fca # frozen: v1.7.12
55
+ hooks:
56
+ - id: actionlint
57
+
58
+ - repo: local
59
+ hooks:
60
+ - id: check-frozen-revs
61
+ name: Check frozen pre-commit revs match tags
62
+ entry: python tasks/check_frozen_revs.py
63
+ language: python
64
+ files: ^\.pre-commit-config\.yaml$
65
+ additional_dependencies: ['ruamel.yaml']
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/.readthedocs.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # .readthedocs.yml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version: 2
7
+
8
+ build:
9
+ os: ubuntu-24.04
10
+ tools:
11
+ python: "3.14"
12
+
13
+ sphinx:
14
+ configuration: docs/conf.py
15
+
16
+ python:
17
+ install:
18
+ - method: uv
19
+ command: sync
20
+ groups:
21
+ - docs
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/CHANGELOG.rst ADDED
@@ -0,0 +1,852 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Changelog
2
+ ---------
3
+
4
+ *unreleased*
5
+ ~~~~~~~~~~~~
6
+
7
+ Features:
8
+
9
+ * Add a public :class:`~packaging.ranges.VersionRange` API and
10
+ :meth:`SpecifierSet.to_range() <packaging.specifiers.SpecifierSet.to_range>`,
11
+ representing the versions a specifier set accepts as an interval set that
12
+ supports intersection, union, difference, complement, set relations,
13
+ membership tests, and filtering.
14
+ :meth:`~packaging.ranges.VersionRange.to_specifier_set` converts a range back
15
+ to a :class:`~packaging.specifiers.SpecifierSet` where a PEP 440 form exists.
16
+ (:pull:`1267`, :pull:`1270`, :pull:`1298`)
17
+ * PEP 808: accept ``Metadata-Version: 2.6``. (:pull:`1194`)
18
+ * Add a ``limit`` argument to ``parse_tag()`` for compressed tag sets.
19
+ (:issue:`1220`)
20
+ * Add a ``prefer_sdist_predicate`` argument to ``Pylock.select()`` to prefer
21
+ source distributions over wheels for selected packages. (:pull:`1334`)
22
+ * Add :func:`~packaging.tags.pure_python_tags` to generate the pure-Python
23
+ tags for a Python version without touching the running platform.
24
+ (:pull:`1346`)
25
+ * Add :meth:`SpecifierSet.is_subset()
26
+ <packaging.specifiers.SpecifierSet.is_subset>`, :meth:`~packaging.specifiers.SpecifierSet.is_superset`,
27
+ and :meth:`~packaging.specifiers.SpecifierSet.is_disjoint`, which compare the
28
+ versions two specifier sets accept. (:pull:`1313`)
29
+
30
+ Behavior adaptations:
31
+
32
+ * Drop support for Python 3.8; packaging now requires Python 3.9 or later.
33
+ (:pull:`1157`)
34
+ * Prefer native ``linux_*`` platform tags over ``manylinux`` and ``musllinux``
35
+ tags on Linux. (:issue:`160`)
36
+
37
+ Fixes for versions and specifiers:
38
+
39
+ * Raise ``InvalidVersion`` instead of ``TypeError`` when ``Version`` is given a
40
+ non-string. (:pull:`1319`)
41
+ * Raise ``InvalidVersion`` for non-string pre-release letters passed to
42
+ ``Version.from_parts``. (:pull:`1241`)
43
+ * Fix an ``AttributeError`` when hashing internally trimmed versions.
44
+ (:pull:`1242`)
45
+ * Fix ``SpecifierSet.is_unsatisfiable`` for post-release boundary
46
+ intersections. (:pull:`1257`)
47
+
48
+ Fixes for requirements and markers:
49
+
50
+ * Make ``Requirement.__hash__`` consistent with ``__eq__`` for
51
+ trailing-zero-equivalent specifiers (e.g. ``foo==1.0.0`` and
52
+ ``foo==1.0.0.0``), so equal requirements hash equal and deduplicate in
53
+ sets and dicts. (:pull:`1232`)
54
+ * Normalize requested extra names before comparing or hashing requirements.
55
+ (:issue:`644`)
56
+ * Preserve a ``Requirement``'s specifier ``prereleases`` override across a
57
+ pickle round trip. (:issue:`1204`)
58
+ * Raise ``InvalidRequirement`` instead of ``InvalidSpecifier`` when a
59
+ requirement contains an invalid specifier. (:pull:`1332`)
60
+ * Clarify the error for post-release prefix wildcards like ``==1.0.post1.*``.
61
+ (:pull:`1299`)
62
+ * Preserve quoting semantics when serializing marker values, so round-tripped
63
+ markers parse back to the same marker. (:pull:`1213`)
64
+ * Keep the parentheses of a nested group when serializing markers.
65
+ (:pull:`1316`)
66
+ * Normalize ``extra`` and ``dependency_groups`` values in nested markers at
67
+ parse time. (:pull:`1246`, :pull:`1310`)
68
+ * Raise ``UndefinedComparison`` when a set-valued variable like ``extras`` is
69
+ used outside the membership form. (:pull:`1265`)
70
+ * Raise ``UndefinedEnvironmentName`` (a ``KeyError`` subclass) for missing
71
+ environment keys during marker evaluation. (:pull:`1276`)
72
+ * Wrap malformed string literal errors in ``InvalidMarker`` /
73
+ ``InvalidRequirement`` instead of leaking a low-level error. (:pull:`1249`)
74
+ * Reject requirements and markers with a trailing line break. (:pull:`1345`)
75
+
76
+ Fixes for metadata and licenses:
77
+
78
+ * Collect all ``from_email`` validation errors into one ``ExceptionGroup``
79
+ instead of raising the first. (:pull:`1268`)
80
+ * Accept the UTF-8 charset case-insensitively in email payloads.
81
+ (:pull:`1330`)
82
+ * Reject malformed ``Description-Content-Type`` values. (:pull:`1329`)
83
+ * Don't rewrite user values that contain ``{field}`` placeholders in error
84
+ messages. (:pull:`1327`)
85
+ * Route multipart email payloads to ``unparsed`` instead of asserting.
86
+ (:pull:`1247`)
87
+ * Make ``InvalidMetadata`` and ``CyclicDependencyGroup`` picklable.
88
+ (:pull:`1328`)
89
+ * Raise ``InvalidLicenseExpression`` for misplaced ``WITH`` clauses and empty
90
+ ``LicenseRef-`` names. (:pull:`1266`)
91
+ * Raise ``InvalidLicenseExpression`` instead of ``KeyError`` for a
92
+ ``LicenseRef-`` with a ``+`` suffix. (:pull:`1219`)
93
+
94
+ Fixes for tags and filenames:
95
+
96
+ * Raise ``InvalidTag`` from ``parse_tag()`` for tags with the wrong number of
97
+ components. (:pull:`1238`)
98
+ * Reject empty tag components in ``parse_wheel_filename()`` and
99
+ ``parse_tag()``. (:pull:`1234`)
100
+ * Reject an empty project name in the wheel and sdist filename parsers.
101
+ (:pull:`1305`)
102
+ * Reject wheel filenames with a trailing newline. (:pull:`1341`)
103
+ * Reject wheel tags whose interpreter component is not an identifier.
104
+ (:issue:`577`)
105
+ * ``is_normalized_name`` now rejects names with collapsed double hyphens like
106
+ ``a--b``. (:pull:`1230`)
107
+ * Fix duplicate explicit ``abi3t`` tags. (:pull:`1245`)
108
+ * Forward the ``warn`` argument to ``generic_tags()`` in ``sys_tags()``.
109
+ (:pull:`1264`)
110
+ * Raise ``SystemError`` for an empty or malformed CPython ``EXT_SUFFIX``.
111
+ (:pull:`1271`, :pull:`1301`)
112
+ * Fix a typo in the macOS ``fat3`` architecture name (was ``fat32``).
113
+ (:pull:`1199`)
114
+
115
+ Fixes for pylock, direct URLs, and dependency groups:
116
+
117
+ * Percent-decode ``pylock`` artifact file names derived from a ``url`` so that
118
+ local versions (e.g. a wheel with ``2.12.1+cu130`` encoded as ``2.12.1%2Bcu130``)
119
+ yield a valid file name. (:pull:`1314`)
120
+ * Use an explicitly empty ``tags`` sequence in ``Pylock.select()`` instead of
121
+ falling back to ``sys_tags()``. (:pull:`1349`)
122
+ * Fix ``Pylock.select()`` on Python builds that report a non-PEP 440
123
+ ``python_full_version`` (e.g. ``3.15.0+``). (:pull:`1179`)
124
+ * Reject TOML booleans where integers are expected in ``pylock`` files.
125
+ (:pull:`1244`)
126
+ * Add ``PylockSelectError`` to ``packaging.pylock.__all__``. (:pull:`1202`)
127
+ * Fix ``DirectUrl`` credential stripping for passwords containing ``@``.
128
+ (:pull:`1218`)
129
+ * Parse the URL scheme case-insensitively when checking for file URLs in
130
+ ``direct_url``. (:pull:`1240`)
131
+ * Require absolute file URLs for local directories in ``direct_url``.
132
+ (:pull:`1297`)
133
+ * Collect ``InvalidRequirement`` errors while resolving dependency groups
134
+ instead of leaking them. (:pull:`1302`)
135
+ * Don't cache malformed dependency group parses. (:pull:`1248`)
136
+
137
+ Performance:
138
+
139
+ * Implement ``Specifier`` and ``SpecifierSet`` filtering with the new range
140
+ engine. (:pull:`1120`, :pull:`1259`)
141
+ * Cache the default marker environment. (:pull:`1250`)
142
+ * Cache the ``_manylinux`` module lookup process-wide. (:pull:`1254`)
143
+ * Add ``__slots__`` to ``Requirement`` and the token classes. (:pull:`1320`,
144
+ :pull:`1258`)
145
+ * Keep range caches across canonicalization, precompile the wheel project-name
146
+ pattern, simplify ``parse_tag()``, and skip ``platform.mac_ver()`` when the
147
+ version and arch are given. (:pull:`1253`, :pull:`1256`, :pull:`1236`,
148
+ :pull:`1255`)
149
+
150
+ Documentation:
151
+
152
+ * Describe the validation scope of ``packaging.pylock``. (:pull:`1339`)
153
+ * Explain which ``packaging.metadata`` fields are validated. (:pull:`1342`)
154
+ * Document ``RFC822Policy`` in the low-level ``packaging.metadata`` interface.
155
+ (:pull:`1222`)
156
+ * Enable nitpicky mode and render missing classes and fields in the API
157
+ reference. (:pull:`1196`, :pull:`1225`, :pull:`1277`)
158
+ * Add missing ``versionadded`` / ``versionchanged`` directives and many small
159
+ docstring fixes across the API reference. (:pull:`1205`, :pull:`1207`,
160
+ :pull:`1208`, :pull:`1209`, :pull:`1211`, :pull:`1216`, :pull:`1217`,
161
+ :pull:`1223`, :pull:`1272`, :pull:`1273`, :pull:`1274`, :pull:`1291`,
162
+ :pull:`1300`, :pull:`1303`, :pull:`1317`, :pull:`1344`)
163
+
164
+ Internal:
165
+
166
+ * Add Python 3.15 to the test matrix. (:pull:`1190`)
167
+ * Add a musl/Alpine test job and make the test suite pass on musl.
168
+ (:pull:`1226`, :pull:`1227`)
169
+ * Expand the downstream test matrix by ten projects. (:pull:`1261`)
170
+ * Update to mypy 2. (:pull:`1191`)
171
+ * Use nox's uv integration. (:pull:`1057`)
172
+
173
+ 26.2 - 2026-04-24
174
+ ~~~~~~~~~~~~~~~~~
175
+
176
+ Fixes:
177
+
178
+ * Fix incorrect sysconfig var name for pyemscripten in (:pull:`1160`)
179
+ * Make ``Version``, ``Specifier``, ``SpecifierSet``, ``Tag``, ``Marker``, and ``Requirement`` pickle-safe
180
+ and backward-compatible with pickles created in 25.0-26.1 (including references to the removed
181
+ ``packaging._structures`` module) (:pull:`1163`, :pull:`1168`, :pull:`1170`, :pull:`1171`)
182
+ * Re-export ``ExceptionGroup`` in metadata for now in (:pull:`1164`)
183
+
184
+ Documentation:
185
+
186
+ * Add errors section and fix missing details in (:pull:`1159`)
187
+ * Document our property-based test suite in (:pull:`1167`)
188
+ * Fix a ``DirectUrl`` typo in (:pull:`1169`)
189
+ * Add example of ``is_unsatisfiable`` in (:pull:`1166`)
190
+
191
+ Internal:
192
+
193
+ * Enable the auditor persona on zizmor in (:pull:`1158`)
194
+ * Test new pickle guarantees in (:pull:`1174`)
195
+ * Use new native ReadTheDocs uv integration in (:pull:`1175`)
196
+
197
+
198
+ 26.1 - 2026-04-14
199
+ ~~~~~~~~~~~~~~~~~
200
+
201
+ Features:
202
+
203
+ * PEP 783: add handling for Emscripten wheel tags in (:pull:`804`) (old name used in implementation, fixed in next release)
204
+ * PEP 803: add handling for the ``abi3.abi3t`` free-threading tag in (:pull:`1099`)
205
+ * PEP 735: add ``packaging.dependency_groups`` module, based on the ``dependency-groups`` package in (:pull:`1065`)
206
+ * Add the ``packaging.direct_url`` module in (:pull:`944`)
207
+ * Add the ``packaging.errors`` module in (:pull:`1071`)
208
+ * Add ``SpecifierSet.is_unsatisfiable`` using ranges (new internals that will be expanded in future versions) in (:pull:`1119`)
209
+ * Add ``create_compatible_tags_selector`` to select compatible tags in (:pull:`1110`)
210
+ * Add a ``key`` argument to ``SpecifierSet.filter()`` in (:pull:`1068`)
211
+ * Support ``&`` and ``|`` for ``Marker``'s in (:pull:`1146`)
212
+ * Normalize ``Version.__replace__`` and add ``Version.from_parts`` in (:pull:`1078`)
213
+ * Add an option to validate compressed tag set sort order in ``parse_wheel_filename`` in (:pull:`1150`)
214
+
215
+ Behavior adaptations:
216
+
217
+ * Narrow exclusion of pre-releases for ``<V.postN`` to match spec in (:pull:`1140`)
218
+ * Narrow exclusion of post-releases for ``>V`` to match spec in (:pull:`1141`)
219
+ * Rename ``format_full_version`` to ``_format_full_version`` to make it visibly private in (:pull:`1125`)
220
+ * Restrict local version to ASCII in (:pull:`1102`)
221
+
222
+ Pylock (PEP 751) updates:
223
+
224
+ * Add pylock ``select`` function in (:pull:`1092`)
225
+ * Document pylock ``select()`` method and ``PylockSelectError`` in (:pull:`1153`)
226
+ * Add ``filename`` property to ``PackageSdist`` and ``PackageWheel``, more validation in (:pull:`1095`)
227
+ * Give preference to path over url in (:pull:`1128`)
228
+ * Validate name/version consistency in file names in (:pull:`1114`)
229
+
230
+ Fixes:
231
+
232
+ * Fix ``>`` comparison for versions with dev+local segments in (:pull:`1097`)
233
+ * Fix incorrect self-comparison for ``InfinityType`` and ``NegativeInfinityType`` in (:pull:`1093`)
234
+ * Canonicalize when deduplicating specifiers in ``SpecifierSet`` in (:pull:`1109`)
235
+ * Fix charset error message formatting in (:pull:`1121`)
236
+ * Handle the ``key`` parameter in ``SpecifierSet.filter`` when specifiers are empty and prerelease is ``False`` in (:pull:`1096`)
237
+ * Standardize inner components of ``repr`` output in (:pull:`1090`)
238
+ * ``Specifier``'s ``===`` uses original string, not normalized, when available in (:pull:`1124`)
239
+ * Propagate int-max-str-digits ``ValueError`` in (:pull:`1155`)
240
+
241
+ Performance:
242
+
243
+ * Add fast path for parsing simple versions (digits and dots only) in (:pull:`1082`)
244
+ * Add fast path for ``Version`` to ``Version`` comparison by skipping ``_key`` property in (:pull:`1083`)
245
+ * Cache ``Version`` hash value in dedicated slot in (:pull:`1118`)
246
+ * Overhaul ``_cmpkey`` to remove use of custom objects in (:pull:`1116`)
247
+ * Skip ``__replace__`` in Specifier comparison if not needed in (:pull:`1081`)
248
+ * ``SpecifierSet`` use ``tuple`` instead of ``frozenset`` for ``_specs`` in (:pull:`1108`)
249
+ * Speed up complex ``SpecifierSet`` filtering by implementing cost-based ordering in (:pull:`1105`)
250
+ * Speed up wildcard comparison in (:pull:`1111`)
251
+ * Stream PEP440 filtering in ``SpecifierSet.filter`` in (:pull:`1076`)
252
+ * Add ``__slots__`` to ``Marker`` in (:pull:`1147`)
253
+ * Simply ``Specifier`` regex in (:pull:`1106`)
254
+ * Skip using the hash property internally in (:pull:`1115`)
255
+
256
+ Internal:
257
+
258
+ * Add downstream testing in (:pull:`1049`)
259
+ * Benchmarking suite in (:pull:`1059`)
260
+ * Benchmark variance reduction in (:pull:`1107`)
261
+ * Add property-based tests for PEP 440 in (:pull:`1144`)
262
+ * Clean up a few ``collections.namedtuple`` in tests in (:pull:`1070`)
263
+ * Do not reload the tags module in tests in (:pull:`1152`)
264
+ * Limit ``dir()`` / tab-completion in REPL in (:pull:`1011`)
265
+ * Add more ``__all__`/`__dir__`` in (:pull:`1069`)
266
+ * Cleanup pre-commit a bit in (:pull:`1080`)
267
+ * Pin pre-commit file, use dependabot in (:pull:`1133`)
268
+ * Remove sphinx-toolbox in (:pull:`1135`)
269
+ * Use docs group, faster readthedocs in (:pull:`1061`)
270
+ * Add free-threaded Python to CI in (:pull:`1098`)
271
+ * Simplify combining ``SpecifierSet.prereleases`` in (:pull:`1073`)
272
+ * Use direct operator methods in ``_compare_compatible`` in (:pull:`1100`)
273
+ * Remove unnecessary if statement in ``Specifier.prereleases`` in (:pull:`1074`)
274
+ * Remove unneeded nesting in ``Specifier.prereleases`` in (:pull:`1072`)
275
+
276
+ Documentation:
277
+
278
+ * Fix documentation: grammar, typos, formatting, and outdated references in (:pull:`1084`)
279
+ * Fix versionadded for ``Version.from_parts()`` in (:pull:`1134`)
280
+ * Document ``&`` and ``|`` operators for combining ``Marker`` objects in (:pull:`1151`)
281
+ * Expand and clean up ``Version`` documentation in (:pull:`1089`)
282
+ * Move license docs inline in (:pull:`1131`)
283
+ * Move markers inline in (:pull:`1104`)
284
+ * Move tags docs to inline in (:pull:`1130`)
285
+ * Move utilities inline, like other modules in (:pull:`1103`)
286
+
287
+ 26.0 - 2026-01-20
288
+ ~~~~~~~~~~~~~~~~~
289
+
290
+ Features:
291
+
292
+ * PEP 751: support pylock (:pull:`900`)
293
+ * PEP 794: import name metadata (:pull:`948`)
294
+ * Support for writing metadata to a file (:pull:`846`)
295
+ * Support ``__replace__`` on Version (:pull:`1003`)
296
+ * Support positional pattern matching for ``Version`` and ``SpecifierSet`` (:pull:`1004`)
297
+
298
+ Behavior adaptations:
299
+
300
+ * PEP 440 handling of prereleases for ``Specifier.contains``, ``SpecifierSet.contains``, and ``SpecifierSet.filter`` (:pull:`897`)
301
+ * Handle PEP 440 edge case in ``SpecifierSet.filter`` (:pull:`942`)
302
+ * Adjust arbitrary equality intersection preservation in ``SpecifierSet`` (:pull:`951`)
303
+ * Return ``False`` instead of raising for ``.contains`` with invalid version (:pull:`932`)
304
+ * Support arbitrary equality on arbitrary strings for ``Specifier`` and ``SpecifierSet``'s ``filter`` and ``contains`` method. (:pull:`954`)
305
+ * Only try to parse as ``Version`` on certain marker keys, return ``False`` on unequal ordered comparisons (:pull:`939`)
306
+
307
+ Fixes:
308
+
309
+ * Update ``_hash`` when unpickling ``Tag()`` (:pull:`860`)
310
+ * Correct comment and simplify implicit prerelease handling in ``Specifier.prereleases`` (:pull:`896`)
311
+ * Use explicit ``_GLibCVersion`` ``NamedTuple`` in ``_manylinux`` (:pull:`868`)
312
+ * Detect invalid license expressions containing ``()`` (:pull:`879`)
313
+ * Correct regex for metadata ``'name'`` format (:pull:`925`)
314
+ * Improve the message around expecting a semicolon (:pull:`833`)
315
+ * Support nested parens in license expressions (:pull:`931`)
316
+ * Add space before at symbol in ``Requirements`` string (:pull:`953`)
317
+ * A root logger use found, use a ``packaging`` logger instead (:pull:`965`)
318
+ * Better support for subclassing ``Marker`` and ``Requirement`` (:pull:`1022`)
319
+ * Normalize all extras, not just if it comes first (:pull:`1024`)
320
+ * Don't produce a broken repr if ``Marker`` fails to construct (:pull:`1033`)
321
+
322
+ Performance:
323
+
324
+ * Avoid recompiling regexes in the tokenizer for a 3x speedup (:pull:`1019`)
325
+ * Improve performance in ``_manylinux.py`` (:pull:`869`)
326
+ * Minor cleanups to ``Version`` (:pull:`913`)
327
+ * Skip redundant creation of ``Version``'s in specifier comparison (:pull:`986`)
328
+ * Cache the ``Specifier``'s ``Version`` (:pull:`985`)
329
+ * Make ``Version`` a little faster (:pull:`987`)
330
+ * Minor ``Version`` regex cleanup (:pull:`990`)
331
+ * Faster regex on Python 3.11.5+ for ``Version`` (:pull:`988`, :pull:`1055`)
332
+ * Lazily calculate ``_key`` in ``Version`` (:pull:`989`, :pull:`1048`)
333
+ * Faster ``canonicalize_version`` (:pull:`993`)
334
+ * Use ``re.fullmatch`` in a couple more places (:pull:`992`, :pull:`1029`)
335
+ * Use ``map`` instead of generator (:pull:`996`)
336
+ * Deprecate ``._version`` (``_Version``, a ``NamedTuple``) (:pull:`995`, :pull:`1062`)
337
+ * Avoid duplicate ``Version`` creation in ``canonicalize_version`` (:pull:`994`)
338
+ * Add ``__slots__`` to core classes (:pull:`1001`, :pull:`1002`, :pull:`1032`)
339
+ * Use ``Version.__replace__`` in specifier comparison (:pull:`999`)
340
+ * Use ``_get_spec_version`` in more places in ``Specifier`` (:pull:`1005`)
341
+ * Pull ``set`` construction out of function (:pull:`1012`)
342
+ * Letter normalization dict for prereleases and the like (:pull:`1014`)
343
+ * Use ``str.partition`` in ``_parse_project_urls`` (:pull:`1013`)
344
+ * Avoid normalizing extras again when comparing (:pull:`1028`)
345
+ * Speed up ``Version.__str__`` by about 10% (:pull:`997`)
346
+ * Much faster ``canonicalize_name`` by avoiding a regex (:pull:`1030`, :pull:`1047`, :pull:`1064`)
347
+ * Faster zero stripping (:pull:`1058`)
348
+
349
+ Type annotations:
350
+
351
+ * Fix a type annotation (:pull:`907`)
352
+ * Fix type hint of function used with ``contextlib.contextmanager`` (:pull:`1046`)
353
+ * Fix tags return type in ``parse_wheel_filename`` docs (:pull:`973`)
354
+ * Add type hint for ``_version`` in ``.version.Version`` (:pull:`927`)
355
+ * Changed static type annotations in prereleases setter method in ``specifier.py`` (:pull:`930`)
356
+ * Statically type our test suite (:pull:`982`)
357
+
358
+ Internal:
359
+
360
+ * Test and declare support for Python 3.14 (:pull:`901`)
361
+ * Change our license metadata to use an SPDX license expression (:pull:`881`, :pull:`924`)
362
+ * Expand the Ruff checks run on our codebase (:pull:`835`, :pull:`957`, :pull:`959`,
363
+ :pull:`963`, :pull:`956`, :pull:`961`, :pull:`964`, :pull:`958`, :pull:`960`, :pull:`968`,
364
+ :pull:`967`, :pull:`966`, :pull:`969`, :pull:`980`, :pull:`979`, :pull:`962`, :pull:`984`,
365
+ :pull:`972`)
366
+ * Add spell checking (:pull:`904`, :pull:`910`, :pull:`1015`)
367
+ * Improve links back to source in the documentation (:pull:`991`)
368
+ * Add case insensitivity tests for arbitrary equality (:pull:`975`)
369
+ * Fix incorrectly implicitly concatenated string in specifiers test (:pull:`946`)
370
+ * Simpler else instead of assert in a check (:pull:`1027`, :pull:`1031`)
371
+ * Synchronize documentation and code for markers (:pull:`1008`)
372
+ * Use the GitHub Actions slim runner for the all pass check (:pull:`1021`)
373
+ * Use ``actionlint`` to check CI workflows (:pull:`1052`)
374
+ * Use Trusted Publishing (:pull:`893`, :pull:`1043`, :pull:`1045`, :pull:`1051`)
375
+ * Use zizmor to check CI (:pull:`1035`)
376
+ * Test on first public release of CPython 3.11 and newer (:pull:`1056`)
377
+
378
+
379
+ Since the final release candidate: Faster ``canonicalize_name``, especially on
380
+ Python 3.12 and 3.13, where performance regressed previously (:pull:`1064`),
381
+ and reintroduce (deprecated) support for ``Version._.version`` (:pull:`1062`).
382
+
383
+ 26.0rc3 - 2026-01-15
384
+ ~~~~~~~~~~~~~~~~~~~~
385
+
386
+ Third release candidate for 26.0. Avoid bug in CPython 3.11.0-3.11.4 and older
387
+ PyPy 3.11 (:pull:`1055`).
388
+
389
+ 26.0rc2 - 2026-01-12
390
+ ~~~~~~~~~~~~~~~~~~~~
391
+
392
+ Second release candidate for 26.0. Fixed a regression in (private)
393
+ ``Version._key`` for ``packaging_legacy`` (:pull:`1048`), and speed up
394
+ stripping zeros a little more (:pull:`1058`).
395
+
396
+ 26.0rc1 - 2026-01-09
397
+ ~~~~~~~~~~~~~~~~~~~~
398
+
399
+ First release candidate for 26.0.
400
+
401
+ 25.0 - 2025-04-19
402
+ ~~~~~~~~~~~~~~~~~
403
+
404
+ * PEP 751: Add support for ``extras`` and ``dependency_groups`` markers. (:issue:`885`)
405
+ * PEP 738: Add support for Android platform tags. (:issue:`880`)
406
+
407
+ 24.2 - 2024-11-08
408
+ ~~~~~~~~~~~~~~~~~
409
+
410
+ * PEP 639: Implement License-Expression and License-File (:issue:`828`)
411
+ * Use ``!r`` formatter for error messages with filenames (:issue:`844`)
412
+ * Add support for PEP 730 iOS tags (:issue:`832`)
413
+ * Fix prerelease detection for ``>`` and ``<`` (:issue:`794`)
414
+ * Fix uninformative error message (:issue:`830`)
415
+ * Refactor ``canonicalize_version`` (:issue:`793`)
416
+ * Patch python_full_version unconditionally (:issue:`825`)
417
+ * Fix doc for ``canonicalize_version`` to mention ``strip_trailing_zero`` and a typo in a docstring (:issue:`801`)
418
+ * Fix typo in Version ``__str__`` (:issue:`817`)
419
+ * Support creating a ``SpecifierSet`` from an iterable of ``Specifier`` objects (:issue:`775`)
420
+
421
+ 24.1 - 2024-06-10
422
+ ~~~~~~~~~~~~~~~~~
423
+
424
+ * Document ``markers.default_environment()`` (:issue:`753`).
425
+ * Add support for Python 3.13 (:issue:`783`).
426
+ * Modernise type annotations (:issue:`785`).
427
+ * Work around ``platform.python_version()`` returning non PEP 440 compliant version
428
+ for non-tagged CPython builds (:issue:`802`).
429
+
430
+ 24.0 - 2024-03-10
431
+ ~~~~~~~~~~~~~~~~~
432
+
433
+ * Do specifier matching correctly when the specifier contains an epoch number
434
+ and has more components than the version (:issue:`683`)
435
+ * Support the experimental ``--disable-gil`` builds in packaging.tags
436
+ (:issue:`727`)
437
+ * BREAKING: Make optional ``metadata.Metadata`` attributes default to ``None`` (:issue:`733`)
438
+ * Fix errors when trying to access the ``description_content_type``, ``keywords``,
439
+ and ``requires_python`` attributes on ``metadata.Metadata`` when those values
440
+ have not been provided (:issue:`733`)
441
+ * Fix a bug preventing the use of the built in ``ExceptionGroup`` on versions of
442
+ Python that support it (:issue:`725`)
443
+
444
+ 23.2 - 2023-10-01
445
+ ~~~~~~~~~~~~~~~~~
446
+
447
+ * Document calendar-based versioning scheme (:issue:`716`)
448
+ * Enforce that the entire marker string is parsed (:issue:`687`)
449
+ * Requirement parsing no longer automatically validates the URL (:issue:`120`)
450
+ * Canonicalize names for requirements comparison (:issue:`644`)
451
+ * Introduce ``metadata.Metadata`` (along with ``metadata.ExceptionGroup`` and ``metadata.InvalidMetadata``; :issue:`570`)
452
+ * Introduce the ``validate`` keyword parameter to ``utils.normalize_name()`` (:issue:`570`)
453
+ * Introduce ``utils.is_normalized_name()`` (:issue:`570`)
454
+ * Make ``utils.parse_sdist_filename()`` and ``utils.parse_wheel_filename()``
455
+ raise ``InvalidSdistFilename`` and ``InvalidWheelFilename``, respectively,
456
+ when the version component of the name is invalid
457
+ * Remove support for Python 3.7 (:issue:`783`)
458
+
459
+ 23.1 - 2023-04-12
460
+ ~~~~~~~~~~~~~~~~~
461
+
462
+ * Parse raw metadata (:issue:`671`)
463
+ * Import underlying parser functions as an underscored variable (:issue:`663`)
464
+ * Improve error for local version label with unsupported operators (:issue:`675`)
465
+ * Add dedicated error for specifiers with incorrect ``.*`` suffix
466
+ * Replace spaces in platform names with underscores (:issue:`620`)
467
+ * Relax typing of ``_key`` on ``_BaseVersion`` (:issue:`669`)
468
+ * Handle prefix match with zeros at end of prefix correctly (:issue:`674`)
469
+
470
+ 23.0 - 2023-01-08
471
+ ~~~~~~~~~~~~~~~~~
472
+
473
+ * Allow ``"extra"`` to be ``None`` in the marker environment (:issue:`650`)
474
+ * Refactor ``tags._generic_api`` to use ``EXT_SUFFIX`` (:issue:`607`)
475
+ * Correctly handle trailing whitespace on URL requirements (:issue:`642`)
476
+ * Fix typing for ``specifiers.BaseSpecifier.filter()`` (:issue:`643`)
477
+ * Use stable Python 3.11 in tests (:issue:`641`)
478
+ * Correctly handle non-normalised specifiers in requirements (:issue:`634`)
479
+ * Move to ``src/`` layout (:issue:`626`)
480
+ * Remove ``__about__`` file, in favour of keeping constants in ``__init__`` (:issue:`626`)
481
+
482
+ 22.0 - 2022-12-07
483
+ ~~~~~~~~~~~~~~~~~
484
+
485
+ * Explicitly declare support for Python 3.11 (:issue:`587`)
486
+ * Remove support for Python 3.6 (:issue:`500`)
487
+ * Remove ``LegacySpecifier`` and ``LegacyVersion`` (:issue:`407`)
488
+ * Add ``__hash__`` and ``__eq__`` to ``Requirement`` (:issue:`499`)
489
+ * Add a ``cpNNN-none-any`` tag (:issue:`541`)
490
+ * Adhere to :pep:`685` when evaluating markers with extras (:issue:`545`)
491
+ * Allow accepting locally installed prereleases with ``SpecifierSet`` (:issue:`515`)
492
+ * Allow pre-release versions in marker evaluation (:issue:`523`)
493
+ * Correctly parse ELF for musllinux on Big Endian (:issue:`538`)
494
+ * Document ``packaging.utils.NormalizedName`` (:issue:`565`)
495
+ * Document exceptions raised by functions in ``packaging.utils`` (:issue:`544`)
496
+ * Fix compatible version specifier incorrectly strip trailing ``0`` (:issue:`493`)
497
+ * Fix macOS platform tags with old macOS SDK (:issue:`513`)
498
+ * Forbid prefix version matching on pre-release/post-release segments (:issue:`563`)
499
+ * Normalize specifier version for prefix matching (:issue:`561`)
500
+ * Improve documentation for ``packaging.specifiers`` and ``packaging.version``. (:issue:`572`)
501
+ * ``Marker.evaluate`` will now assume evaluation environment with empty ``extra``.
502
+ Evaluating markers like ``"extra == 'xyz'"`` without passing any extra in the
503
+ ``environment`` will no longer raise an exception (:issue:`550`)
504
+ * Remove dependency on ``pyparsing``, by replacing it with a hand-written parser.
505
+ This package now has no runtime dependencies (:issue:`468`)
506
+ * Update return type hint for ``Specifier.filter`` and ``SpecifierSet.filter``
507
+ to use ``Iterator`` instead of ``Iterable`` (:issue:`584`)
508
+
509
+ 21.3 - 2021-11-17
510
+ ~~~~~~~~~~~~~~~~~
511
+
512
+ * Add a ``pp3-none-any`` tag (:issue:`311`)
513
+ * Replace the blank pyparsing 3 exclusion with a 3.0.5 exclusion (:issue:`481`, :issue:`486`)
514
+ * Fix a spelling mistake (:issue:`479`)
515
+
516
+ 21.2 - 2021-10-29
517
+ ~~~~~~~~~~~~~~~~~
518
+
519
+ * Update documentation entry for 21.1.
520
+
521
+ 21.1 - 2021-10-29
522
+ ~~~~~~~~~~~~~~~~~
523
+
524
+ * Update pin to pyparsing to exclude 3.0.0.
525
+
526
+ 21.0 - 2021-07-03
527
+ ~~~~~~~~~~~~~~~~~
528
+
529
+ * PEP 656: musllinux support (:issue:`411`)
530
+ * Drop support for Python 2.7, Python 3.4 and Python 3.5.
531
+ * Replace distutils usage with sysconfig (:issue:`396`)
532
+ * Add support for zip files in ``parse_sdist_filename`` (:issue:`429`)
533
+ * Use cached ``_hash`` attribute to short-circuit tag equality comparisons (:issue:`417`)
534
+ * Specify the default value for the ``specifier`` argument to ``SpecifierSet`` (:issue:`437`)
535
+ * Proper keyword-only "warn" argument in packaging.tags (:issue:`403`)
536
+ * Correctly remove prerelease suffixes from ~= check (:issue:`366`)
537
+ * Fix type hints for ``Version.post`` and ``Version.dev`` (:issue:`393`)
538
+ * Use typing alias ``UnparsedVersion`` (:issue:`398`)
539
+ * Improve type inference for ``packaging.specifiers.filter()`` (:issue:`430`)
540
+ * Tighten the return type of ``canonicalize_version()`` (:issue:`402`)
541
+
542
+ 20.9 - 2021-01-29
543
+ ~~~~~~~~~~~~~~~~~
544
+
545
+ * Run `isort <https://pypi.org/project/isort/>`_ over the code base (:issue:`377`)
546
+ * Add support for the ``macosx_10_*_universal2`` platform tags (:issue:`379`)
547
+ * Introduce ``packaging.utils.parse_wheel_filename()`` and ``parse_sdist_filename()``
548
+ (:issue:`387` and :issue:`389`)
549
+
550
+ 20.8 - 2020-12-11
551
+ ~~~~~~~~~~~~~~~~~
552
+
553
+ * Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`)
554
+ * Do not insert an underscore in wheel tags when the interpreter version number
555
+ is more than 2 digits (:issue:`372`)
556
+
557
+ 20.7 - 2020-11-28
558
+ ~~~~~~~~~~~~~~~~~
559
+
560
+ No unreleased changes.
561
+
562
+ 20.6 - 2020-11-28
563
+ ~~~~~~~~~~~~~~~~~
564
+
565
+ .. note:: This release was subsequently yanked, and these changes were included in 20.7.
566
+
567
+ * Fix flit configuration, to include LICENSE files (:issue:`357`)
568
+ * Make ``intel`` a recognized CPU architecture for the ``universal`` macOS platform tag (:issue:`361`)
569
+ * Add some missing type hints to ``packaging.requirements`` (issue:`350`)
570
+
571
+ 20.5 - 2020-11-27
572
+ ~~~~~~~~~~~~~~~~~
573
+
574
+ * Officially support Python 3.9 (:issue:`343`)
575
+ * Deprecate the ``LegacyVersion`` and ``LegacySpecifier`` classes (:issue:`321`)
576
+ * Handle ``OSError`` on non-dynamic executables when attempting to resolve
577
+ the glibc version string.
578
+
579
+ 20.4 - 2020-05-19
580
+ ~~~~~~~~~~~~~~~~~
581
+
582
+ * Canonicalize version before comparing specifiers. (:issue:`282`)
583
+ * Change type hint for ``canonicalize_name`` to return
584
+ ``packaging.utils.NormalizedName``.
585
+ This enables the use of static typing tools (like mypy) to detect mixing of
586
+ normalized and un-normalized names.
587
+
588
+ 20.3 - 2020-03-05
589
+ ~~~~~~~~~~~~~~~~~
590
+
591
+ * Fix changelog for 20.2.
592
+
593
+ 20.2 - 2020-03-05
594
+ ~~~~~~~~~~~~~~~~~
595
+
596
+ * Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU (e.g. ARM-v8,
597
+ aarch64), to report the wrong bitness.
598
+
599
+ 20.1 - 2020-01-24
600
+ ~~~~~~~~~~~~~~~~~~~
601
+
602
+ * Fix a bug caused by reuse of an exhausted iterator. (:issue:`257`)
603
+
604
+ 20.0 - 2020-01-06
605
+ ~~~~~~~~~~~~~~~~~
606
+
607
+ * Add type hints (:issue:`191`)
608
+
609
+ * Add proper trove classifiers for PyPy support (:issue:`198`)
610
+
611
+ * Scale back depending on ``ctypes`` for manylinux support detection (:issue:`171`)
612
+
613
+ * Use ``sys.implementation.name`` where appropriate for ``packaging.tags`` (:issue:`193`)
614
+
615
+ * Expand upon the API provided by ``packaging.tags``: ``interpreter_name()``, ``mac_platforms()``, ``compatible_tags()``, ``cpython_tags()``, ``generic_tags()`` (:issue:`187`)
616
+
617
+ * Officially support Python 3.8 (:issue:`232`)
618
+
619
+ * Add ``major``, ``minor``, and ``micro`` aliases to ``packaging.version.Version`` (:issue:`225`)
620
+
621
+ * Properly mark ``packaging`` has being fully typed by adding a ``py.typed`` file (:issue:`226`)
622
+
623
+ 19.2 - 2019-09-18
624
+ ~~~~~~~~~~~~~~~~~
625
+
626
+ * Remove dependency on ``attrs`` (:issue:`178`, :issue:`179`)
627
+
628
+ * Use appropriate fallbacks for CPython ABI tag (:issue:`181`, :issue:`185`)
629
+
630
+ * Add manylinux2014 support (:issue:`186`)
631
+
632
+ * Improve ABI detection (:issue:`181`)
633
+
634
+ * Properly handle debug wheels for Python 3.8 (:issue:`172`)
635
+
636
+ * Improve detection of debug builds on Windows (:issue:`194`)
637
+
638
+ 19.1 - 2019-07-30
639
+ ~~~~~~~~~~~~~~~~~
640
+
641
+ * Add the ``packaging.tags`` module. (:issue:`156`)
642
+
643
+ * Correctly handle two-digit versions in ``python_version`` (:issue:`119`)
644
+
645
+
646
+ 19.0 - 2019-01-20
647
+ ~~~~~~~~~~~~~~~~~
648
+
649
+ * Fix string representation of PEP 508 direct URL requirements with markers.
650
+
651
+ * Better handling of file URLs
652
+
653
+ This allows for using ``file:///absolute/path``, which was previously
654
+ prevented due to the missing ``netloc``.
655
+
656
+ This allows for all file URLs that ``urlunparse`` turns back into the
657
+ original URL to be valid.
658
+
659
+
660
+ 18.0 - 2018-09-26
661
+ ~~~~~~~~~~~~~~~~~
662
+
663
+ * Improve error messages when invalid requirements are given. (:issue:`129`)
664
+
665
+
666
+ 17.1 - 2017-02-28
667
+ ~~~~~~~~~~~~~~~~~
668
+
669
+ * Fix ``utils.canonicalize_version`` when supplying non PEP 440 versions.
670
+
671
+
672
+ 17.0 - 2017-02-28
673
+ ~~~~~~~~~~~~~~~~~
674
+
675
+ * Drop support for python 2.6, 3.2, and 3.3.
676
+
677
+ * Define minimal pyparsing version to 2.0.2 (:issue:`91`).
678
+
679
+ * Add ``epoch``, ``release``, ``pre``, ``dev``, and ``post`` attributes to
680
+ ``Version`` and ``LegacyVersion`` (:issue:`34`).
681
+
682
+ * Add ``Version().is_devrelease`` and ``LegacyVersion().is_devrelease`` to
683
+ make it easy to determine if a release is a development release.
684
+
685
+ * Add ``utils.canonicalize_version`` to canonicalize version strings or
686
+ ``Version`` instances (:issue:`121`).
687
+
688
+
689
+ 16.8 - 2016-10-29
690
+ ~~~~~~~~~~~~~~~~~
691
+
692
+ * Fix markers that utilize ``in`` so that they render correctly.
693
+
694
+ * Fix an erroneous test on Python RC releases.
695
+
696
+
697
+ 16.7 - 2016-04-23
698
+ ~~~~~~~~~~~~~~~~~
699
+
700
+ * Add support for the deprecated ``python_implementation`` marker which was
701
+ an undocumented setuptools marker in addition to the newer markers.
702
+
703
+
704
+ 16.6 - 2016-03-29
705
+ ~~~~~~~~~~~~~~~~~
706
+
707
+ * Add support for the deprecated, PEP 345 environment markers in addition to
708
+ the newer markers.
709
+
710
+
711
+ 16.5 - 2016-02-26
712
+ ~~~~~~~~~~~~~~~~~
713
+
714
+ * Fix a regression in parsing requirements with whitespaces between the comma
715
+ separators.
716
+
717
+
718
+ 16.4 - 2016-02-22
719
+ ~~~~~~~~~~~~~~~~~
720
+
721
+ * Fix a regression in parsing requirements like ``foo (==4)``.
722
+
723
+
724
+ 16.3 - 2016-02-21
725
+ ~~~~~~~~~~~~~~~~~
726
+
727
+ * Fix a bug where ``packaging.requirements:Requirement`` was overly strict when
728
+ matching legacy requirements.
729
+
730
+
731
+ 16.2 - 2016-02-09
732
+ ~~~~~~~~~~~~~~~~~
733
+
734
+ * Add a function that implements the name canonicalization from PEP 503.
735
+
736
+
737
+ 16.1 - 2016-02-07
738
+ ~~~~~~~~~~~~~~~~~
739
+
740
+ * Implement requirement specifiers from PEP 508.
741
+
742
+
743
+ 16.0 - 2016-01-19
744
+ ~~~~~~~~~~~~~~~~~
745
+
746
+ * Relicense so that packaging is available under *either* the Apache License,
747
+ Version 2.0 or a 2 Clause BSD license.
748
+
749
+ * Support installation of packaging when only distutils is available.
750
+
751
+ * Fix ``==`` comparison when there is a prefix and a local version in play.
752
+ (:issue:`41`).
753
+
754
+ * Implement environment markers from PEP 508.
755
+
756
+
757
+ 15.3 - 2015-08-01
758
+ ~~~~~~~~~~~~~~~~~
759
+
760
+ * Normalize post-release spellings for rev/r prefixes. :issue:`35`
761
+
762
+
763
+ 15.2 - 2015-05-13
764
+ ~~~~~~~~~~~~~~~~~
765
+
766
+ * Fix an error where the arbitrary specifier (``===``) was not correctly
767
+ allowing pre-releases when it was being used.
768
+
769
+ * Expose the specifier and version parts through properties on the
770
+ ``Specifier`` classes.
771
+
772
+ * Allow iterating over the ``SpecifierSet`` to get access to all of the
773
+ ``Specifier`` instances.
774
+
775
+ * Allow testing if a version is contained within a specifier via the ``in``
776
+ operator.
777
+
778
+
779
+ 15.1 - 2015-04-13
780
+ ~~~~~~~~~~~~~~~~~
781
+
782
+ * Fix a logic error that was causing inconsistent answers about whether or not
783
+ a pre-release was contained within a ``SpecifierSet`` or not.
784
+
785
+
786
+ 15.0 - 2015-01-02
787
+ ~~~~~~~~~~~~~~~~~
788
+
789
+ * Add ``Version().is_postrelease`` and ``LegacyVersion().is_postrelease`` to
790
+ make it easy to determine if a release is a post release.
791
+
792
+ * Add ``Version().base_version`` and ``LegacyVersion().base_version`` to make
793
+ it easy to get the public version without any pre or post release markers.
794
+
795
+ * Support the update to PEP 440 which removed the implied ``!=V.*`` when using
796
+ either ``>V`` or ``<V`` and which instead special cased the handling of
797
+ pre-releases, post-releases, and local versions when using ``>V`` or ``<V``.
798
+
799
+
800
+ 14.5 - 2014-12-17
801
+ ~~~~~~~~~~~~~~~~~
802
+
803
+ * Normalize release candidates as ``rc`` instead of ``c``.
804
+
805
+ * Expose the ``VERSION_PATTERN`` constant, a regular expression matching
806
+ a valid version.
807
+
808
+
809
+ 14.4 - 2014-12-15
810
+ ~~~~~~~~~~~~~~~~~
811
+
812
+ * Ensure that versions are normalized before comparison when used in a
813
+ specifier with a less than (``<``) or greater than (``>``) operator.
814
+
815
+
816
+ 14.3 - 2014-11-19
817
+ ~~~~~~~~~~~~~~~~~
818
+
819
+ * **BACKWARDS INCOMPATIBLE** Refactor specifier support so that it can sanely
820
+ handle legacy specifiers as well as PEP 440 specifiers.
821
+
822
+ * **BACKWARDS INCOMPATIBLE** Move the specifier support out of
823
+ ``packaging.version`` into ``packaging.specifiers``.
824
+
825
+
826
+ 14.2 - 2014-09-10
827
+ ~~~~~~~~~~~~~~~~~
828
+
829
+ * Add prerelease support to ``Specifier``.
830
+ * Remove the ability to do ``item in Specifier()`` and replace it with
831
+ ``Specifier().contains(item)`` in order to allow flags that signal if a
832
+ prerelease should be accepted or not.
833
+ * Add a method ``Specifier().filter()`` which will take an iterable and returns
834
+ an iterable with items that do not match the specifier filtered out.
835
+
836
+
837
+ 14.1 - 2014-09-08
838
+ ~~~~~~~~~~~~~~~~~
839
+
840
+ * Allow ``LegacyVersion`` and ``Version`` to be sorted together.
841
+ * Add ``packaging.version.parse()`` to enable easily parsing a version string
842
+ as either a ``Version`` or a ``LegacyVersion`` depending on it's PEP 440
843
+ validity.
844
+
845
+
846
+ 14.0 - 2014-09-05
847
+ ~~~~~~~~~~~~~~~~~
848
+
849
+ * Initial release.
850
+
851
+
852
+ .. _`master`: https://github.com/pypa/packaging/
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/CONTRIBUTING.rst ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Contributing to packaging
2
+ =========================
3
+
4
+ As an open source project, packaging welcomes contributions of many forms.
5
+
6
+ Examples of contributions include:
7
+
8
+ * Code patches
9
+ * Documentation improvements
10
+ * Bug reports and patch reviews
11
+
12
+ Extensive contribution guidelines are available in the repository at
13
+ ``docs/development/index.rst``, or online at:
14
+
15
+ https://packaging.pypa.io/en/latest/development/
16
+
17
+ Security issues
18
+ ---------------
19
+
20
+ See `Security Policy`_ for information about how to report security issues.
21
+
22
+ .. _`Security Policy`: https://github.com/pypa/packaging/security
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/LICENSE ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ This software is made available under the terms of *either* of the licenses
2
+ found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
3
+ under the terms of *both* these licenses.
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/LICENSE.APACHE ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/LICENSE.BSD ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) Donald Stufft and individual contributors.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/README.rst ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ packaging
2
+ =========
3
+
4
+ .. start-intro
5
+
6
+ Reusable core utilities for various Python Packaging
7
+ `interoperability specifications <https://packaging.python.org/specifications/>`_.
8
+
9
+ This library provides utilities that implement the interoperability
10
+ specifications which have clearly one correct behaviour (eg: :pep:`440`)
11
+ or benefit greatly from having a single shared implementation (eg: :pep:`425`).
12
+
13
+ .. end-intro
14
+
15
+ The ``packaging`` project includes the following: version handling, specifiers,
16
+ markers, requirements, tags, metadata, lockfiles, utilities.
17
+
18
+ Documentation
19
+ -------------
20
+
21
+ The `documentation`_ provides information and the API for the following:
22
+
23
+ - Version Handling
24
+ - Specifiers
25
+ - Markers
26
+ - Licenses
27
+ - Requirements
28
+ - Metadata
29
+ - Tags
30
+ - Lockfiles (pylock)
31
+ - Direct URL helpers
32
+ - Dependency groups
33
+ - Errors
34
+ - Utilities
35
+
36
+ Installation
37
+ ------------
38
+
39
+ Use ``pip`` to install these utilities::
40
+
41
+ pip install packaging
42
+
43
+ The ``packaging`` library uses calendar-based versioning (``YY.N``).
44
+
45
+ Discussion
46
+ ----------
47
+
48
+ If you run into bugs, you can file them in our `issue tracker`_.
49
+
50
+ You can also join discussions on `GitHub Discussions`_ to ask questions or get involved.
51
+
52
+ .. _`documentation`: https://packaging.pypa.io/
53
+ .. _`issue tracker`: https://github.com/pypa/packaging/issues
54
+ .. _`GitHub Discussions`: https://github.com/pypa/packaging/discussions
55
+
56
+
57
+ Code of Conduct
58
+ ---------------
59
+
60
+ Everyone interacting in the packaging project's codebases, issue trackers, chat
61
+ rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
62
+
63
+ .. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
64
+
65
+ Contributing
66
+ ------------
67
+
68
+ The ``CONTRIBUTING.rst`` file outlines how to contribute to this project as
69
+ well as how to report a potential security issue. The documentation for this
70
+ project also covers information about `project development`_ and `security`_.
71
+
72
+ .. _`project development`: https://packaging.pypa.io/en/latest/development/
73
+ .. _`security`: https://packaging.pypa.io/en/latest/security/
74
+
75
+ Project History
76
+ ---------------
77
+
78
+ Please review the ``CHANGELOG.rst`` file or the `Changelog documentation`_ for
79
+ recent changes and project history.
80
+
81
+ .. _`Changelog documentation`: https://packaging.pypa.io/en/latest/changelog/
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/SECURITY.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Security Policy
2
+ =========================
3
+
4
+ To report a security issue, please follow the special [security reporting guidelines](https://packaging.pypa.io/en/latest/security/), do not report them in the public issue tracker.
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/asv.conf.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 1,
3
+ "project": "packaging",
4
+ "project_url": "https://github.com/pypa/packaging",
5
+ "show_commit_url": "https://github.com/pypa/packaging/commit/",
6
+ "repo": ".",
7
+ "environment_type": "virtualenv",
8
+ "build_command": ["python -m pip wheel -w {build_cache_dir} {build_dir}"],
9
+ "default_benchmark_timeout": 180,
10
+ "regressions_thresholds": {
11
+ ".*": 0.05
12
+ },
13
+ "matrix": {
14
+ "env_nobuild": {
15
+ "PYTHONHASHSEED": ["0"]
16
+ }
17
+ },
18
+ "pythons": ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
19
+ }
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/__init__.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from typing import TYPE_CHECKING, Any, TypeVar
4
+
5
+ if TYPE_CHECKING:
6
+ from collections.abc import Callable
7
+
8
+ F = TypeVar("F", bound="Callable[..., Any]")
9
+
10
+
11
+ def add_attributes(**attrs: object) -> Callable[[F], F]:
12
+ def decorator(func: F) -> F:
13
+ for name, value in attrs.items():
14
+ setattr(func, name, value)
15
+ return func
16
+
17
+ return decorator
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/dist_sample.txt ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ pyarrow<15.0,>=14.0.2; extra == "parquet"
2
+ gen8randomdoublesbattle; extra == "randbats-all"
3
+ mypy-boto3-lookoutequipment (<1.26.0,>=1.25.0) ; extra == 'all'
4
+ protobuf<7,>=4; python_version >= "3.11"
5
+ kubernetes<34.0,>=26.1; extra == "kubernetes"
6
+ google-cloud-storage (==1.19.1)
7
+ pygmsh (==7.0.0) ; extra == 'benchmarking'
8
+ sphinxcontrib-katex ==0.8.6 ; extra == 'docs'
9
+ livekit-plugins-cartesia>=1.2.7; extra == "cartesia"
10
+ foursight-core (==4.1.0)
11
+ genie.libs.conf <24.3.0,>=24.2.0
12
+ tzdata; (python_version >= "3.9" and sys_platform == "win32") and extra == "mariadb"
13
+ backports.functools-lru-cache>=1.0.2; python_version < "3"
14
+ pip-tools<8,>=7
15
+ couchbase<5,>=4.3.0
16
+ promptflow-devkit[all]==1.15.0; extra == "all"
17
+ requests!=2.32.0,!=2.32.1,>=2.5
18
+ torch>=1.8.0; python_version < "3.10"
19
+ odoo14-addon-l10n-es-vat-book-invoice-summary
20
+ requests_toolbelt; extra == "all-handlers-extras"
21
+ mypy-boto3-budgets (==1.14.59.1) ; extra == 'all'
22
+ large-image-converter[sources]>=1.29.3.dev24; extra == "worker"
23
+ notion-client (>=0.5)
24
+ param-sweeps (==0.1.3)
25
+ boto3==1.35.52
26
+ numba>0.53; python_version>='3.9'
27
+ azureml-contrib-server~=1.59.0; extra == "contrib"
28
+ happytransformer (==2.4.1)
29
+ freeopcua
30
+ transformers>=4.30.0; extra == "pro"
31
+ xtarfile
32
+ mypy-boto3-honeycode (==1.17.92.post1) ; extra == 'all'
33
+ mypy-boto3-opsworkscm (==1.16.47.0) ; extra == 'opsworkscm'
34
+ PyLinks==0.0.0.dev29
35
+ cloudevents>=1.2.0
36
+ janis-pipelines.runner (>=v0.6.0)
37
+ defusedxml >=0.7.1 ; extra == 'caffe'
38
+ dpdata >=0.2.16
39
+ pytest-docker ; extra == 'testing'
40
+ nbformat (>=5.5.0,<6.0.0)
41
+ unstructured-ingest==0.5.4
42
+ elasticsearch ~=7.17 ; extra == 'elastic'
43
+ pipeline-ai (>=0.1.1,<0.2.0)
44
+ kazoo (>=2.9.0,<3.0.0)
45
+ aws-cdk.aws-codepipeline (~=0.30.0)
46
+ rasterio ~=1.3 ; extra == 'docs'
47
+ transformers>=4.0.0; extra == "eval"
48
+ recompyle<0.3.0,>=0.2.1
49
+ inspect-ai>=0.3.144
50
+ aws-cdk.aws-autoscaling (==1.157.0)
51
+ gooddata-sdk ~=1.8.0
52
+ rapidocr-onnxruntime (<1.3.0,>=1.2.2)
53
+ azure-keyvault-keys (==4.8.0) ; python_version >= "3.8" and python_version < "4.0" and extra == "azure"
54
+ polars[timezone] >=0.17.2 ; extra == 'redshift'
55
+ mypy-boto3-cloudhsmv2 (==1.13.26.0) ; extra == 'all'
56
+ repurpose>=0.13
57
+ pyzmq; extra == "code"
58
+ attrs<20,>=19.2
59
+ odoo14-addon-partner-coc
60
+ PILLOW (>=7.0,<8.0)
61
+ filelock==3.16.1; extra == "db-full-locked"
62
+ google-crc32c<=1.5.0; extra == "all"
63
+ vantage6-algorithm-tools==4.7.0rc2
64
+ cached-property==2.0.1; (python_version >= "3.9" and python_version < "4" and (implementation_name == "cpython" or implementation_name == "pypy")) and extra == "dev"
65
+ mypy-boto3-cloudhsmv2 (==1.14.13.0) ; extra == 'all'
66
+ ewoxdbgraph<2.0.0,>=1.2.0
67
+ large-image-source-mapnik (>=1.15.2.dev39) ; extra == 'mapnik'
68
+ ray[client]>=2.44; extra == "ray"
69
+ Flask <3,>=2.3
70
+ flatten-dict (==0.3.0)
71
+ fastmcp; extra == "exp"
72
+ passagemath-lcalc~=10.4.20
73
+ opentelemetry-instrumentation-anthropic (>=0.1.9,<0.2.0)
74
+ atckit <2.0,>=1.0
75
+ pymcdm<1.3; extra == "deluxe"
76
+ large-image-source-nd2 >=1.26.3.dev36 ; extra == 'all'
77
+ libcst (>=0.2.5) ; extra == 'fixup'
78
+ botocore-a-la-carte-ram (==1.31.45) ; extra == 'ram'
79
+ winrt-Windows.ApplicationModel.Wallet[all]==3.0.0; extra == "all"
80
+ langgraph >=0.0.26
81
+ pelican<5.0.0,>=4.8.0
82
+ amo2kinto (>=1.6,<1.7)
83
+ vcrpy-unittest ; extra == 'tests'
84
+ opentelemetry-sdk>=1.27.0; extra == "fastapi-otel"
85
+ djangorestframework-simplejwt ==5.3.1
86
+ textile==4.0.3
87
+ Scrapy (>=1.1)
88
+ Pillow<11,>=8; extra == "examples"
89
+ google-auth (>=2.9.0)
90
+ aws-cdk.aws-opensearchservice (==1.181.0)
91
+ meshagent-mcp~=0.0.36
92
+ riptide-proxy (<0.6,>=0.5.0)
93
+ airo-robots==2025.4.0
94
+ mxnet (~=1.0) ; extra == 'complete'
95
+ prompt-toolkit; extra == "prompt-toolkit"
96
+ llama-index-llms-google-genai>=0.3.0
97
+ huaweicloudsdkoctopus==3.1.139
98
+ botocore-a-la-carte-translate (==1.31.46) ; extra == 'translate'
99
+ types-pytz==2025.2.0.20250516; extra == "type-check"
100
+ prometheus-client ; extra == 'doc_builder'
101
+ importlib-metadata (>=4.11.4,<5.0.0)
102
+ mypy-boto3-managedblockchain (==1.14.16.0) ; extra == 'all'
103
+ large-image[sources]>=1.29.5.dev36; extra == "all"
104
+ odoo-addon-hr-timesheet-task-domain==18.0.*
105
+ ml-pitch-models-data-crepe-medium; extra == "crepe-medium-weights"
106
+ rapidfuzz (~=2.15.1)
107
+ cmocean<4.0.4; extra == "test"
108
+ botocore-a-la-carte-clouddirectory (==1.31.21) ; extra == 'clouddirectory'
109
+ dragonfly-uwg==0.5.593
110
+ kernels<=0.9,>=0.6.1; extra == "dev"
111
+ cirq-aqt (==1.2.0.dev20230422220059)
112
+ mypy-boto3-ec2 (==0.2.6) ; extra == 'all'
113
+ pyparsing (<2.4.6,>=2.4.5) ; platform_python_implementation!='CPython'
114
+ posthog==3.1.0
115
+ tensorflow>=2.9,<3; extra == 'all'
116
+ ansys-fluent-core==0.31.dev0
117
+ mypy-boto3-accessanalyzer (==1.16.55.0) ; extra == 'all'
118
+ apache-airflow-providers-ssh; extra == "laminar"
119
+ odoo-addon-l10n-br-zip<17.1dev,>=17.0dev
120
+ onnxruntime ; extra == 'onnx'
121
+ prompt-toolkit (~=1.0.16)
122
+ globus-compute-sdk==3.13.0a0
123
+ pyaml (==17.8.0)
124
+ quant1x-base ~=0.3.7
125
+ contextlib2 (>=0.4.0) ; (python_version<'3.0')
126
+ eventsourcing<10.0,>=9.4.2
127
+ aws-cdk.aws-macie (==1.171.0)
128
+ SeaFreeze >=0.9.6
129
+ asyncpg<1.0.0,>=0.28.0; extra == "all"
130
+ alembic==1.7.5
131
+ flit>=3.0
132
+ types-requests (==2.28.11.4)
133
+ meow-sim[gds,ipy,jax,klu] ; extra == 'full'
134
+ sentinel-protobuf >=0.3.1
135
+ karabo.cpp==2.21.5; extra == "with-cpp"
136
+ mypy-boto3-sqs (>=1.18.12) ; extra == 'all'
137
+ bibclean[test] ; extra == 'all'
138
+ redis (>=4.3.4,<5.0.0); extra == "all" or extra == "redis"
139
+ beartype<0.17.0,>=0.16.4
140
+ cdk8s (<3.0.0,>=2.2.14)
141
+ django-phonenumber-field[phonenumbers]<7.0,>=6.1
142
+ muutils<0.7.0,>=0.6.1
143
+ python-dateutil (<2.0a,>=1.5) ; extra == 'testtools'
144
+ pygments (==2.4.2)
145
+ large-image-source-gdal (>=1.16.3.dev14) ; extra == 'gdal'
146
+ omegaconf (~=2.2.2)
147
+ pysolr>=3.6.0
148
+ fa-singer-io<4.0.0,>=2.0.2
149
+ google-api-python-client (==2.18.0)
150
+ fastjsonschema<2.18,>=2.15.1; extra == "caffe"
151
+ aioshutil==1.3; extra == "dev"
152
+ autogluon.mxnet (==0.1.1b20210317)
153
+ types-pathlib2
154
+ firecrawl-py>=1.14.1
155
+ fastparquet==0.4.1
156
+ pip (>=23.2.1,<24.0.0)
157
+ python-fasthtml==0.6.10
158
+ invenio-oaiserver <2.3.0,>=2.2.0
159
+ Flask-Menu<3.0.0,>=2.0.0; extra == "tests"
160
+ libbs>=1.26.0
161
+ ut_log>=1.0.0.20251013
162
+ llama-index-workflows==1.3.0
163
+ autogluon.core[all]==1.2.1b20250429
164
+ botocore-a-la-carte-cloudsearchdomain (==1.31.42) ; extra == 'cloudsearchdomain'
165
+ pexpect (>=3.3)
166
+ mypy-boto3-workmail (==1.17.75) ; extra == 'workmail'
167
+ geopandas==0.14.2
168
+ hmr~=0.7.5
169
+ cirq-pasqal (==0.15.0.dev20220624212133)
170
+ honeybee-energy[standards] (==1.83.8)
171
+ tencentcloud-sdk-python-intl-en (>=3.0.194)
172
+ mypy-boto3-globalaccelerator (==1.17.10.0) ; extra == 'globalaccelerator'
173
+ seleniumbase; extra == "dev"
174
+ botocore-a-la-carte-kafkaconnect (==1.29.44) ; extra == 'kafkaconnect'
175
+ mypy-boto3-iot (<1.23.0,>=1.22.0) ; extra == 'iot'
176
+ pyobjc-framework-LatentSemanticMapping (==8.4) ; extra == 'allbindings'
177
+ PyYAML (<5.3,>=5.1) ; (python_version == '3.4')
178
+ wheel >=0.37.1, <1
179
+ PolicyEngine-Core<3,>=2.11.3
180
+ huaweicloudsdkaos==3.1.152
181
+ windows-toasts<2.0.0,>=1.0.0
182
+ loguru (==0.7.0) ; extra == 'all'
183
+ google-auth==2.38.0; python_version >= "3.10" and python_version < "3.11" and extra == "locked"
184
+ large-image-source-openjpeg (>=1.18.1.dev19) ; extra == 'sources'
185
+ coverage==7.0.*; extra == "dev"
186
+ copernicusmarine>=2.0.0
187
+ mypy-boto3-s3 (==1.14.27.0) ; extra == 's3'
188
+ joblib==1.5.1; extra == "all"
189
+ ag2[blendsearch]==0.9.1post0; extra == "blendsearch"
190
+ transformer-engine-cu12==1.12.0
191
+ aws-cdk.aws-iotanalytics (==1.118.0)
192
+ mypy-boto3-cloud9 (==0.2.6) ; extra == 'all'
193
+ protobuf==5.26.1; python_version >= "3.8" and extra == "test"
194
+ supervisor-pydantic<1.3,>=1.2
195
+ langchain-community==0.0.10; extra == "test"
196
+ mypy-boto3-dataexchange (>=1.18.41) ; extra == 'dataexchange'
197
+ mckit-nuclides (>=0.1.1,<0.2.0)
198
+ general-superstaq~=0.5.33
199
+ mplhep<0.4.0,>=0.3.50
200
+ large-image-source-test>=1.32.2.dev6; extra == "all"
201
+ mypy-boto3-iotevents-data (==1.16.26.1) ; extra == 'all'
202
+ pylint<=3.2.3,>=2.17.7; extra == "test"
203
+ hexdoc~=1!0.1.0a10
204
+ metaflow==2.14.0
205
+ python-cinderclient (>=1.0.6)
206
+ pytest-randomly==3.15.0; extra == "pytest"
207
+ types-boto3-securitylake<1.38.0,>=1.37.0; extra == "all"
208
+ bigdl-dllib-spark3 (==2.2.0b20230113)
209
+ pandapipes==0.11.0
210
+ nucliadb-telemetry>=5.0.1.post968
211
+ bytewax (==0.13.1) ; extra == 'dev'
212
+ mypy-boto3-resource-groups (>=1.18.44) ; extra == 'all'
213
+ mypy-boto3-mwaa (>=1.18.46) ; extra == 'mwaa'
214
+ pyparsing (==2.2.1)
215
+ large-image-converter (>=1.19.4.dev45) ; extra == 'converter'
216
+ braintrust-core==0.0.38
217
+ unique-toolkit<2.0.0,>=1.27.0
218
+ botocore-a-la-carte-kinesis (==1.29.57) ; extra == 'kinesis'
219
+ mypy-boto3-codeartifact (==1.17.14.0) ; extra == 'all'
220
+ cdktf-cdktf-provider-google (<0.6.0,>=0.5.97)
221
+ astral<4.0,>=3.2
222
+ einops<0.9.0
223
+ tldextract<5.0,>=3.4
224
+ botocore-a-la-carte-route53-recovery-cluster (==1.29.119) ; extra == 'route53-recovery-cluster'
225
+ mypy-boto3-route53 (==1.15.5.0) ; extra == 'all'
226
+ h5py (>=2.10) ; extra == 'io'
227
+ spacy (>=3.2.0,<4.0.0)
228
+ wheel (>=0.27.0); extra == 'develop'
229
+ autogluon.multimodal (==0.5.3b20221113)
230
+ cirq-google (==0.12.0.dev20210526231630)
231
+ huaweicloudsdkdwr (==3.1.13)
232
+ umap-learn (<0.4.0)
233
+ isodate ==0.6.1 ; extra == 'all'
234
+ mypy-boto3-acm-pca (==1.17.6.0) ; extra == 'all'
235
+ pydantic-graph==0.0.23
236
+ bert-score>=0.3.13; extra == "local"
237
+ aws-cdk.aws-athena (==1.103.0)
238
+ requests-oauthlib<3.0.0,>=1.2.0; extra == "twitter"
239
+ pytest-xdist; extra == "all-dev"
240
+ streamlit-pdf-viewer==0.0.21
241
+ python-irodsclient (==0.8.2)
242
+ large-image-source-gdal>=1.32.1.a125; extra == "gdal"
243
+ aws-cdk.aws-s3-assets (==1.55.0)
244
+ huaweicloudsdkroma (==3.1.51)
245
+ torch>=1.9.0; extra == "deepimmuno"
246
+ botocore-a-la-carte-resource-groups (==1.29.77) ; extra == 'resource-groups'
247
+ beautifulsoup4; extra == "example-depends"
248
+ huaweicloudsdkmrs==3.1.96
249
+ pytorch-lightning==2.5.0.post0; extra == "metaml-all"
250
+ mypy-boto3-migrationhub-config (==1.17.45.0) ; extra == 'migrationhub-config'
251
+ fbpca >=1.0 ; extra == 'test'
252
+ pyasn1==0.6.1
253
+ kimina-ast-client>=0.2.2
254
+ websockets<16.0.0,>=10.0.0
255
+ polyaxon-sdk (==1.12.0rc0)
256
+ decorator (>=4.1.2,~=4.0) ; extra == 'tests'
257
+ cupy (>=10.5.0,<11.0.0)
258
+ sparse==0.15.4; extra == "core"
259
+ celery (<6.0,>=5.2.0)
260
+ mypy-boto3-fis (>=1.20.0) ; extra == 'all'
261
+ aiohttp-jinja2==1.6
262
+ charset-normalizer==3.3.2; extra == "chroma"
263
+ odoo14-addon-l10n-it-fatturapa-out-triple-discount
264
+ google-genai>=1.50.0; extra == "gemini"
265
+ botocore-a-la-carte-iot1click-projects (==1.31.0) ; extra == 'iot1click-projects'
266
+ sqlalchemy-jsonfield ==0.8.0 ; python_version < "3.5"
267
+ dask (>=2023.11)
268
+ pyobjc-framework-Automator (==8.2) ; extra == 'allbindings'
269
+ tensorflow-data-validation<2.0.0,>=1.17.0
270
+ jsii<2.0.0,>=1.108.0
271
+ bigdl-friesian (==2.5.0b20240209)
272
+ ftfy (<5.0,>=4.4.3)
273
+ schwifty<2024.08.0; extra == "athena"
274
+ aws-solutions-constructs.aws-kinesis-streams-lambda (==1.142.0)
275
+ fan-tools[logging]; extra == 'gcloud-backup'
276
+ mypy-boto3-meteringmarketplace (==1.16.23.0) ; extra == 'meteringmarketplace'
277
+ pip==24.1.2; extra == "pip-tools"
278
+ pysigma (>=0.8.4,<0.9.0)
279
+ openturns (<=1.18,>=1.13) ; extra == 'all'
280
+ natsort (<8.0,>=7.1.0)
281
+ pysdfgen >=0.1.5
282
+ dunamai<2.0.0,>=1.21.1
283
+ typing_extensions~=4.11; extra == "all"
284
+ swh.scheduler >=0.7.0 ; extra == 'server'
285
+ large-image-source-rasterio[all]>=1.32.12.dev45; extra == "all"
286
+ mdx-gh-links>=0.4; extra == "docs"
287
+ websocket-client (>=0.50.0)
288
+ solara-server[dev,starlette]==1.49.0
289
+ python-igraph>=0.10.6
290
+ opperai>=1.2.1
291
+ opends-cli[development]; extra == "all"
292
+ icalendar (==5.0.2)
293
+ SQLAlchemy (==1.4.17)
294
+ mypy-boto3-pinpoint-email (==1.17.60.0) ; extra == 'pinpoint-email'
295
+ superqt[cmap]
296
+ torch >=1.8.0 ; (python_version < "3.10") and extra == 'torch'
297
+ large-image-source-openslide >=1.26.2.dev19 ; extra == 'all'
298
+ langchain-core>=0.1; python_version < "4.0"
299
+ isodate>=0.6.0; extra == "extended"
300
+ pydantic-settings<2.10,>=2.3
301
+ jupyterhub >=3.0.0
302
+ segment_anything_hq; extra == "hq"
303
+ acryl-datahub[datahub-rest,sql-parser]==0.15.0rc20; extra == "dev"
304
+ marshmallow (<4.0.0,>=3.10.0)
305
+ boto3-stubs-lite[ecs,emr,emr-containers,emr-serverless,glue,logs,s3]; extra == "stubs"
306
+ PyYAML (==5.3) ; extra == 'dev'
307
+ django>=5.2.5
308
+ aws-solutions-constructs.aws-eventbridge-stepfunctions ==2.47.0
309
+ SpiffWorkflow ==2.0.1
310
+ dagster-graphql (==0.13.3rc0)
311
+ large-image-source-zarr >=1.26.2.dev6 ; extra == 'common'
312
+ Jinja2>=3.1.5; extra == "custom"
313
+ ruff==0.11.5; extra == "lint"
314
+ intake-nested-yaml-catalog (>=0.1.0)
315
+ libarchive (>=0.4.7,<1.0.0); extra == "all"
316
+ mypy-boto3-iot-data (>=1.18.39) ; extra == 'all'
317
+ xdev (>=0.3.1) ; (python_version >= "3.6") and extra == 'all'
318
+ bork ~=7.0.1 ; extra == 'bork'
319
+ large-image-source-dummy >=1.27.4 ; extra == 'sources'
320
+ spatialpandas (>=0.4.3) ; extra == 'doc'
321
+ pywavelets>=1.3
322
+ huaweicloudsdkdli==3.1.147
323
+ bokeh (>=1.0.0) ; extra == 'doc'
324
+ huaweicloudsdkram==3.1.97
325
+ jupyter-client>=8.3.1; extra == "doc"
326
+ ovos-workshop>=3.1.2
327
+ backend.ai-kernel==24.03.7b4
328
+ fastcluster>=1.2.0; extra == "all"
329
+ neo>=0.13.3; extra == "spikeglx"
330
+ azureml-interpret~=1.59.0; extra == "interpret"
331
+ mypy-boto3-autoscaling-plans (==1.16.26.1) ; extra == 'all'
332
+ tencentcloud-sdk-python (>=3.0.441)
333
+ joblib<2,>=1.5.1
334
+ botocore (<1.22.0,>=1.21.58)
335
+ django-redis-cache (>=1.6.5)
336
+ types-aiobotocore-lambda <2.8.0,>=2.7.0 ; extra == 'all'
337
+ keyring<26,>=25.5.0
338
+ semver (<3,>=2.8.0)
339
+ botocore-a-la-carte-simspaceweaver (==1.31.25) ; extra == 'simspaceweaver'
340
+ guppylang-internals~=0.25.0
341
+ onnx>=1.15.0; extra == "all"
342
+ bigdl-core-xe-batch-23==2.6.0b20250310; extra == "xpu-lnl"
343
+ asciistuff >=1.2.6
344
+ mypy-boto3-securityhub (==1.16.33.0) ; extra == 'securityhub'
345
+ PyMuPDF ; extra == 'ui'
346
+ types-aiobotocore-globalaccelerator<2.26.0,>=2.25.0; extra == "globalaccelerator"
347
+ dagit (==0.9.22.post0)
348
+ gen2doublesou; extra == "smogon-doubles"
349
+ itk-filtering==5.4.2
350
+ wtpsplit>=1.0.1; extra == "full"
351
+ pypubsub (>4.0)
352
+ dockerflow ==2024.2.0 ; extra == 'sandbox'
353
+ django-azure-communication-email<2.0.0,>=1.4.0
354
+ sqlglot[rs]~=27.12.0
355
+ botocore-a-la-carte-workspaces (==1.29.68) ; extra == 'workspaces'
356
+ jinja2 (<3.1.0)
357
+ large-image-source-pil (>=1.16.1.dev51) ; extra == 'sources'
358
+ semantic-version>2.10.0
359
+ platformdirs==4.3.8; (python_version >= "3.9" and python_version < "4") and extra == "dev"
360
+ pyproj ==3.6.0
361
+ mypy-boto3-lambda (<1.22.0,>=1.21.0) ; extra == 'all'
362
+ lxml==5.*; extra == "xml"
363
+ anthropic (>=0.2.8) ; extra == 'all_backends'
364
+ panda_utils[composer]; extra == "everything"
365
+ netcdf4 ~=1.6.3
366
+ nvidia-nat[crewai]==v1.3.0a20250824
367
+ autogen-ext>=0.5.5; extra == "full"
368
+ unicodecsv <1.0,>=0.14.1 ; extra == 'all'
369
+ cirq-web ==1.3.0.dev20231127192425
370
+ skytemple-files (>=1.1.1)
371
+ sanic-openapi<22.0.0,>=21.12.0
372
+ mypy-boto3-sesv2 (==1.16.26.0) ; extra == 'all'
373
+ pyaml >12
374
+ flet-core==0.24.0.dev3164
375
+ astroML
376
+ botocore (<1.35.0,>=1.34.1)
377
+ Flask-WTF (>=0.14.2)
378
+ requests; extra == "tracking-server"
379
+ black; extra == "checking"
380
+ websockets<14,>=13.1
381
+ google-auth>=2.15.0
382
+ bitsandbytes<1.0,>=0.42.0; sys_platform == "darwin" and extra == "dev"
383
+ odoo-addon-mail-no-user-assign-notification<17.1dev,>=17.0dev
384
+ websockets<15.0,>=14.0
385
+ mypy-boto3-personalize (==1.16.50.0) ; extra == 'all'
386
+ impi-rt (==2021.9.0)
387
+ alembic (>=1.12.1,<2.0.0)
388
+ alchemize
389
+ sphinxcontrib-jquery (>=3.0.0)
390
+ pysigma<0.12.0,>=0.9.8
391
+ mypy-boto3-elasticbeanstalk (==1.14.6.0) ; extra == 'all'
392
+ ipython<9.0.0,>=8.10.0; extra == "interplot"
393
+ kthread-sleep
394
+ lazy==1.6
395
+ scikit-learn<1.6.0; python_version <= "3.10" and extra == "full"
396
+ cugraph-cu12; extra == "rapids12"
397
+ distro ==1.7.0
398
+ windmill-api (>=1.47.3,<2.0.0)
399
+ seleniumbase (>=1.56.2)
400
+ web3-ali (==1.0.0)
401
+ pytest >=7.3.0 ; extra == 'testing'
402
+ sphynx ; extra == 'all'
403
+ tencentcloud-sdk-python-intl-en (>=3.0.493)
404
+ cf_xarray>=0.3.1
405
+ torchvision <0.16,>=0.14.0 ; extra == 'notebooks'
406
+ cirq-google (==1.2.0.dev20230710202531)
407
+ dagster-k8s (==0.17.2) ; extra == 'kubernetes'
408
+ pyparsing~=2.4
409
+ cffi==1.14.5; (python_version < "3.9" and python_version >= "3.8") and extra == "all-strict"
410
+ greenlet==1.1.3
411
+ mypy-boto3-devops-guru (==1.17.107) ; extra == 'all'
412
+ eth-abi (>=3,<4)
413
+ langchain-core~=0.3.75; extra == "script"
414
+ pre-commit >= 3.0.4 ; extra == "linters"
415
+ ipywidgets (<=7.6.5)
416
+ botocore-a-la-carte-iotwireless (==1.29.137) ; extra == 'iotwireless'
417
+ opentelemetry-instrumentation-fastapi ==0.42b0 ; extra == 'grpc'
418
+ composio-langchain==0.7.1
419
+ autogluon.core (==0.3.2b20220308)
420
+ robotcode-analyze==0.90.0; extra == "all"
421
+ ros-rosidl-default-runtime~=1.7.1
422
+ respx (>=0.16.3) ; extra == 'test'
423
+ yangsuite-devices (<3.0.0,>=2.0.0)
424
+ DIRAC==9.0.9
425
+ paho-mqtt (<1.7,>=1.6)
426
+ tilecycles>=0.1.5.6
427
+ mypy-boto3-cloudhsmv2 (==1.17.7.0) ; extra == 'cloudhsmv2'
428
+ setuptools-scm ==7.1.0 ; extra == 'dev'
429
+ skip-django-block-snippets>=2.1.0
430
+ mypy-boto3-athena (==1.14.0.2) ; extra == 'all'
431
+ checkov (>=1.0.797)
432
+ dbnd-docker (==1.0.4.18) ; extra == 'k8s'
433
+ protobuf~=6.0; extra == "devel-test"
434
+ boto3>=1.24; extra == "aws"
435
+ jupyterlab_widgets; extra == "docs"
436
+ openedx-filters
437
+ nucliadb-telemetry[all] >=2.38.0.post97
438
+ ai-sdk-python>=0.1.0
439
+ google-api-core (==1.31.1) ; extra == 'fsi'
440
+ astropy >=5
441
+ aws-solutions-constructs.aws-lambda-elasticsearch-kibana (==2.41.0)
442
+ duckduckgo-search (==3.9.8)
443
+ mypy-boto3-robomaker (==1.14.43.0) ; extra == 'robomaker'
444
+ botocore-a-la-carte-macie2 (==1.29.51) ; extra == 'macie2'
445
+ botocore-a-la-carte-pipes (==1.29.110) ; extra == 'pipes'
446
+ aws-cdk.aws-greengrass (==1.163.1)
447
+ satori-python-core>=0.16.0
448
+ watchmen-data-surface (==16.0.35)
449
+ uvicorn[standard]>=0.35.0; extra == "agents"
450
+ mypy-boto3-honeycode (<1.25.0,>=1.24.0) ; extra == 'all'
451
+ mypy-boto3-batch (==1.16.50.0) ; extra == 'batch'
452
+ pyrfuniverse==0.30.3
453
+ click>=7.1.2; extra == "grafana"
454
+ large-image-source-tiff>=1.29.2.dev13
455
+ nbstripout<0.9.0,>=0.8.1
456
+ flask-migrate>=4.0.5; extra == "flask-middleware"
457
+ httpx (>=0.23.3,<1.0.0) ; extra == "httpx"
458
+ mkdocs-material (==7.2.2) ; (python_version >= "3.7") and (extra == "docs")
459
+ torchvision>=0.16.1; extra == "full"
460
+ nvidia-cusparse-cu11 (==11.7.4.91) ; platform_system == "Linux" and platform_machine == "x86_64" and python_full_version >= "3.8.1" and python_full_version < "4.0.0"
461
+ pywavefront (<2,>=1.2.0) ; extra == 'pywavefront'
462
+ sensirion-shdlc-sensorbridge (~=0.1.1) ; extra == 'test'
463
+ python-magic-bin<0.5.0,>=0.4.14; sys_platform == "windows"
464
+ mypy-boto3-macie2 (>=1.17.107) ; extra == 'all'
465
+ sdcflows (~=1.3.3)
466
+ odoo13-addon-survey-resource-booking
467
+ jsonpickle ==3.0.3
468
+ botocore==1.40.35; extra == "langchain"
469
+ semgrep (==1.23.0) ; extra == 'dev'
470
+ Flask (>=0.12.2,<0.13.0)
471
+ botocore-a-la-carte-compute-optimizer (==1.29.76) ; extra == 'compute-optimizer'
472
+ odoo-addon-github_connector==18.0.*
473
+ keyring ~=24.0
474
+ python-levenshtein>=0.27.1; extra == "isaa"
475
+ fugue (>=0.7.3,<0.8.0); extra == "fugue"
476
+ fastapi[standard]
477
+ omlish==0.0.0.dev46
478
+ types-aiobotocore-trustedadvisor<2.20.0,>=2.19.0; extra == "all"
479
+ bmw-lobster-tool-json>=0.12.2
480
+ bigdl-orca-spark3[automl] (==2.1.0b20220909) ; extra == 'distributed'
481
+ pip-licenses==4.3.2; extra == "doc"
482
+ odoo-addon-dms<17.1dev,>=17.0dev
483
+ soda-sql-spark (~=2.1.9)
484
+ async-upnp-client==0.38.0
485
+ huaweicloudsdkrds==3.1.119
486
+ botocore-a-la-carte-scheduler (==1.29.79) ; extra == 'scheduler'
487
+ sphinx (==7.2.4) ; extra == 'docs'
488
+ pandas (~=1.2) ; extra == 'test'
489
+ numpy<2.0.0,>=1.7.0
490
+ aiohttp (>=3.0.0) ; (python_version >= "3.5") and extra == 'docs'
491
+ rofi-menu (==0.5.1)
492
+ DataProperty (==0.55.1)
493
+ pygobject; sys_platform == "linux" and extra == "portals"
494
+ jupytercad-lab==3.1.3
495
+ types-boto3-savingsplans<1.41.0,>=1.40.0; extra == "savingsplans"
496
+ qdrant-client<2.0.0,>=1.9.0; extra == "vector-databases" or extra == "all"
497
+ requests-mock~=1.12.1; extra == "tests"
498
+ camb<2.0.0,>=1.4.0
499
+ oskut (>=1.3) ; extra == 'full'
500
+ torch<3.0.0,>=2.1.0; extra == "gpu"
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/markers.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from pathlib import Path
4
+
5
+ from packaging.markers import Marker
6
+
7
+ from . import add_attributes
8
+
9
+ DIR = Path(__file__).parent.resolve()
10
+
11
+
12
+ class TimeMarkerSuite:
13
+ rounds = 4
14
+
15
+ def setup(self) -> None:
16
+ with (DIR / "dist_sample.txt").open() as f:
17
+ self.marker_strs = [m.split(";")[1].strip() for m in f if ";" in m]
18
+
19
+ self.markers = [Marker(m) for m in self.marker_strs]
20
+ self.env = {
21
+ "python_version": "3.12",
22
+ "sys_platform": "linux",
23
+ "platform_machine": "x86_64",
24
+ "extra": "",
25
+ }
26
+
27
+ @add_attributes(pretty_name="Marker constructor")
28
+ def time_constructor(self) -> None:
29
+ for m in self.marker_strs:
30
+ Marker(m)
31
+
32
+ @add_attributes(pretty_name="Marker evaluate")
33
+ def time_evaluate(self) -> None:
34
+ for m in self.markers:
35
+ m.evaluate(self.env)
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/requirement.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from pathlib import Path
4
+
5
+ from packaging.requirements import Requirement
6
+
7
+ from . import add_attributes
8
+
9
+ DIR = Path(__file__).parent.resolve()
10
+
11
+
12
+ class TimeRequirementSuite:
13
+ rounds = 4
14
+
15
+ def setup(self) -> None:
16
+ with (DIR / "dist_sample.txt").open() as f:
17
+ self.req_strs = [r.strip() for r in f]
18
+
19
+ @add_attributes(pretty_name="Requirement constructor")
20
+ def time_constructor(self) -> None:
21
+ for r in self.req_strs:
22
+ Requirement(r)
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/resolver.py ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from packaging.specifiers import SpecifierSet
4
+ from packaging.version import Version
5
+
6
+ from . import add_attributes
7
+
8
+
9
+ class TimeResolverSuite:
10
+ rounds = 4
11
+
12
+ def setup(self) -> None:
13
+ self.valid_versions = [
14
+ "1.0.0",
15
+ "1.0.0.post1",
16
+ "1.0.1",
17
+ "1.2.0",
18
+ "1.2.5",
19
+ "1.2.7",
20
+ "1.3.0",
21
+ "1.3.1",
22
+ "2.0.0",
23
+ "2.1.0",
24
+ "2.1.1",
25
+ "3.0.0",
26
+ ]
27
+ self.spec_strs = [
28
+ ">=1.0.0,<2.0.0",
29
+ ">=1.2.0,!=1.2.5,<3.0.0",
30
+ ">=2.0.0,<3.0.0",
31
+ ">=1.0.0,<=1.3.0",
32
+ "==1.2.*",
33
+ ">=1.0.0.post1,<2.0.0",
34
+ ">=1.3.0,<2.0.0",
35
+ ">=1.0.0,!=1.3.1,<3.0.0",
36
+ ">=2.1.0,<3.0.0",
37
+ "==1.0.0",
38
+ ]
39
+
40
+ @add_attributes(pretty_name="Resolver-style loop")
41
+ def time_resolver_loop(self) -> None:
42
+ versions = [Version(v) for v in self.valid_versions]
43
+ specs = [SpecifierSet(s) for s in self.spec_strs]
44
+
45
+ for spec in specs:
46
+ candidates = [v for v in versions if v in spec]
47
+ if candidates:
48
+ max(candidates)
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/specifiers.py ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from pathlib import Path
4
+
5
+ from packaging.specifiers import SpecifierSet
6
+ from packaging.version import Version
7
+
8
+ from . import add_attributes
9
+
10
+ DIR = Path(__file__).parent.resolve()
11
+
12
+
13
+ class TimeSpecSuite:
14
+ rounds = 4
15
+
16
+ SIMPLE_SPEC = ">0.5"
17
+ COMPLEX_SPEC = ">=3.8,!=3.9.*,!=3.10.0,!=3.10.1,~=3.10.2,<3.14,!=3.11.0,!=3.12.0"
18
+ COMPATIBLE_SPEC = "~=3.10"
19
+
20
+ def setup(self) -> None:
21
+ with (DIR / "specs_sample.txt").open() as f:
22
+ self.spec_strs = [s.strip() for s in f.readlines()]
23
+
24
+ # Build and warm versions
25
+ self.single_version = Version("3.12")
26
+ self.simple_versions = [Version(str(i / 10)) for i in range(1, 11)]
27
+ self.complex_versions = [
28
+ Version(f"3.{minor}.{patch}")
29
+ for minor in range(8, 15)
30
+ for patch in range(15)
31
+ ]
32
+ self.single_version._key # noqa: B018
33
+ for v in self.simple_versions:
34
+ v._key # noqa: B018
35
+ for v in self.complex_versions:
36
+ v._key # noqa: B018
37
+
38
+ # Build cold specifiers
39
+ self._cold_specs = [SpecifierSet(s) for s in self.spec_strs]
40
+ self._cold_simple = SpecifierSet(self.SIMPLE_SPEC)
41
+ self._cold_complex = SpecifierSet(self.COMPLEX_SPEC)
42
+
43
+ # Build warm specifiers
44
+ self._warm_specs = [SpecifierSet(s) for s in self.spec_strs]
45
+ self._warm_simple = SpecifierSet(self.SIMPLE_SPEC)
46
+ self._warm_complex = SpecifierSet(self.COMPLEX_SPEC)
47
+ self._warm_compatible = SpecifierSet(self.COMPATIBLE_SPEC)
48
+ for s in self._warm_specs:
49
+ for sp in s._specs:
50
+ sp.contains(self.single_version)
51
+ for sp in self._warm_simple._specs:
52
+ sp.contains(self.single_version)
53
+ for sp in self._warm_complex._specs:
54
+ sp.contains(self.complex_versions[0])
55
+ for sp in self._warm_compatible._specs:
56
+ sp.contains(self.complex_versions[0])
57
+
58
+ def _make_cold(self, spec: SpecifierSet) -> None:
59
+ if hasattr(spec, "_canonicalized"):
60
+ spec._canonicalized = False
61
+ if hasattr(spec, "_resolved_ops"):
62
+ spec._resolved_ops = None
63
+ if hasattr(spec, "_ranges"):
64
+ spec._ranges = None
65
+ if hasattr(spec, "_is_unsatisfiable"):
66
+ spec._is_unsatisfiable = None
67
+ for sp in spec._specs:
68
+ sp._spec_version = None
69
+ if hasattr(sp, "_wildcard_split"):
70
+ sp._wildcard_split = None
71
+ if hasattr(sp, "_ranges"):
72
+ sp._ranges = None
73
+
74
+ @add_attributes(pretty_name="SpecifierSet constructor")
75
+ def time_constructor(self) -> None:
76
+ for s in self.spec_strs:
77
+ SpecifierSet(s)
78
+
79
+ @add_attributes(pretty_name="SpecifierSet contains (cold)")
80
+ def time_contains_cold(self) -> None:
81
+ for spec in self._cold_specs:
82
+ self._make_cold(spec)
83
+ for spec in self._cold_specs:
84
+ spec.contains(self.single_version)
85
+
86
+ @add_attributes(pretty_name="SpecifierSet contains (warm)")
87
+ def time_contains_warm(self) -> None:
88
+ for spec in self._warm_specs:
89
+ spec.contains(self.single_version)
90
+
91
+ @add_attributes(pretty_name="SpecifierSet contains (complex, warm)")
92
+ def time_contains_complex_warm(self) -> None:
93
+ for v in self.complex_versions:
94
+ self._warm_complex.contains(v)
95
+
96
+ @add_attributes(pretty_name="SpecifierSet filter (simple, cold)")
97
+ def time_filter_simple_cold(self) -> None:
98
+ self._make_cold(self._cold_simple)
99
+ list(self._cold_simple.filter(self.simple_versions))
100
+
101
+ @add_attributes(pretty_name="SpecifierSet filter (simple, warm)")
102
+ def time_filter_simple_warm(self) -> None:
103
+ list(self._warm_simple.filter(self.simple_versions))
104
+
105
+ @add_attributes(pretty_name="SpecifierSet filter (complex, cold)")
106
+ def time_filter_complex_cold(self) -> None:
107
+ self._make_cold(self._cold_complex)
108
+ list(self._cold_complex.filter(self.complex_versions))
109
+
110
+ @add_attributes(pretty_name="SpecifierSet filter (complex, warm)")
111
+ def time_filter_complex_warm(self) -> None:
112
+ list(self._warm_complex.filter(self.complex_versions))
113
+
114
+ # Only warm filter for compatible (~=): cold and contains paths are already
115
+ # well covered by the simple/complex specifier benchmarks above.
116
+ @add_attributes(pretty_name="SpecifierSet filter (compatible, warm)")
117
+ def time_filter_compatible_warm(self) -> None:
118
+ list(self._warm_compatible.filter(self.complex_versions))
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/specs_sample.txt ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ >=3.9,<=3.10
2
+ ==3.21.63
3
+ ==3.9.32
4
+ ==3.8,==3.10
5
+ >=3.12
6
+ ==3.22.63
7
+ >=3.7.7
8
+ ==3.26.97
9
+ >=3.8.1,<3.14
10
+ ==3.11.96
11
+ ==3.24.79
12
+ >=3.10.17
13
+ !=3.8.*,!=3.9.*,<3.11,>=3.7
14
+ ==3.14.23
15
+ <=3.11.0,>=3.9
16
+ <=3.12.4,>=3.10.12
17
+ ==3.17.94
18
+ >=3.5.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
19
+ ==3.27.35
20
+ <3.12,>=3.10.10
21
+ ==3.10.71
22
+ ==3.14.43
23
+ >=3.9.1
24
+ ==3.18.86
25
+ >=3.9.8,<3.12
26
+ ==3.7.87
27
+ ==3.19.78
28
+ <=3.10.14,>=3.10.0
29
+ >=3.6.2,<=3.10
30
+ >=3.9.0, <=3.9.17
31
+ >=2.7.9,>=3.4
32
+ ==3.21.79
33
+ <3.13,>=3
34
+ >=3.8, <=3.11
35
+ >=2.6 , <=3.7
36
+ >=3.6.5,<3.9
37
+ ==3.12.26
38
+ <3.10.0a0,>=3.6
39
+ >=2.7, >=3.0, !=3.0.*, !=3.1.*, !=3.2.*, <4
40
+ >=3.8,<4.0
41
+ ==3.19.18
42
+ ==3.17.96
43
+ ==3.22.71
44
+ !=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
45
+ <4.0.0,>=3.6.0
46
+ ~=3.6.0
47
+ ==3.14.54
48
+ >=3.7.12,<3.10
49
+ >=3.10.9,<3.12
50
+ <3.11.dev0,>=3.10
51
+ ==3.27.34
52
+ >3.0
53
+ ==3.16.10
54
+ ==3.13.37
55
+ <=3.12.3,>=3.9.0
56
+ ==3.25.65
57
+ <3.13.0,>=3.10.0
58
+ ==3.7.57
59
+ ==3.11.20
60
+ ==3.25.64
61
+ ==3.8.71
62
+ >=3.9.4,<4.0.0
63
+ !=3.10.*,<3.12,>=3.8
64
+ >3.9.7,<3.12
65
+ ==3.20.64
66
+ ==3.28.76
67
+ ==3.19.77
68
+ >=3.8,<=3.9
69
+ !=3.9.7,<3.10,>=3.9
70
+ ==3.21.14
71
+ >=3.10,<4
72
+ >3.6.3
73
+ >=3.6.1,<3.9.0
74
+ <4,>=2.5
75
+ >= 2.7.10
76
+ ==3.27.98
77
+ ==3.20.94
78
+ ==3.27.12
79
+ >3.6, < 3.9
80
+ ==3.19.25
81
+ >=3.10, <6
82
+ ==3.19.3
83
+ <3.10,>=3.7
84
+ ==3.18.96
85
+ <=3.13,>=3.9
86
+ <3.10,>3.8
87
+ !=3.9,>=3.6
88
+ ==3.13.8
89
+ >=3.7, !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.11.*, !=3.12.*
90
+ >=2.6, <=3.6
91
+ ==3.13.99
92
+ >=3.7.2,<3.11
93
+ !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<3.14,>=2.7
94
+ ==3.14.63
95
+ ==3.7.18
96
+ ==3.13.67
97
+ ==3.10.60
98
+ >=4.0
99
+ <=3.10,>=3.8
100
+ >=3.7.0, <3.8.0
101
+ >3.5
102
+ ==3.28.84
103
+ ==3.26.65
104
+ >=2.7,!=3.0,!=3.1
105
+ <3.12.0,>=3.7
106
+ !=3.9.7,<3.11,>=3.9
107
+ ==3.28.31
108
+ ==3.26.91
109
+ !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*
110
+ !=3.5.*,!=3.6.*,!=3.7.*
111
+ <3.20,>=3.8
112
+ >=2.7.3, !=3.0.*, !=3.1.*, !=3.2.*
113
+ >=3.6,<=3.8
114
+ >=3.5.2
115
+ <3.12,>=3.11
116
+ <4.0.0,>=3.10.9
117
+ >=3.9.13,<3.13
118
+ <3.11,>3.8
119
+ ==3.22.57
120
+ !=2.7.*,!=3.0.*,!=3.1.*,!=3.13.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,>=3.8
121
+ ~=3.8, <4
122
+ >=2.7, <=3.10
123
+ ==3.23.42
124
+ ==3.27.20
125
+ ==3.6.*, ==3.7.*, ==3.8.*
126
+ >= 3.9.7
127
+ ==3.28.2
128
+ !=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
129
+ <3.12,>3.10
130
+ >=3.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
131
+ >=3.6.2,<4.0
132
+ >=3.10,>=3.9
133
+ >=3.6.15
134
+ ==3.26.34
135
+ !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7.1
136
+ ~=2.7.13
137
+ ==3.14.47
138
+ ==3.*,>=3.5.0
139
+ >=3.8.6
140
+ >2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4
141
+ >=3.10.9,<3.11.0
142
+ >=3.7,< 4.0
143
+ <3.12,~=3.10
144
+ >3.7.0,<3.11.0
145
+ ==3.29.6
146
+ ==3.17.79
147
+ <4.0.0,>=3.13.1
148
+ >=3.6.8
149
+ !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.11
150
+ >=3.6.1,<4.0
151
+ >=3.9.8
152
+ >=3.6.12,<3.10
153
+ !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*
154
+ ==3.24.93
155
+ >=3.6.2,<3.11
156
+ ==3.19.4
157
+ ==3.21.57
158
+ <4,>3.9
159
+ >=3.10.0, <=3.11.4
160
+ >=2.7.14, !=3.0.*, !=3.1.*, !=3.3.*, !=3.4.*, >=3.5.5, >=3.6.6
161
+ !=3.9,>=3.8.12
162
+ ==3.22.19
163
+ ~=3.6, !=3.9
164
+ >=3.11,<=3.13
165
+ ==3.25.10
166
+ >=3.8, <=3.11.7
167
+ <4.0.0,>=3.8.1
168
+ !=3.11.*,<3.13,>=3.10
169
+ !=3.0.*,!=3.1.*,!=3.10.*,!=3.11.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=3
170
+ >=3.10.5
171
+ ==3.7.40
172
+ >=3.9.2,<3.11
173
+ >=3.8,<3.9.0
174
+ ==3.22.86
175
+ <3.14.0,>=3.11
176
+ >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*
177
+ <3.13,>=3.9.2
178
+ ==3.21.23
179
+ >=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
180
+ ==3.8.75
181
+ >=2.7.1, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
182
+ ==3.12.55
183
+ ==3.6.*,<4
184
+ >=3.6, <3.12
185
+ ==3.11.40
186
+ ==3.28.22
187
+ ==3.21.17
188
+ ~=2.7, >=3.4
189
+ <3.13.dev0,>=3.12
190
+ >3.7,<3.8
191
+ ==3.8.21
192
+ >3.8
193
+ ==3.16.82
194
+ >2.6,!=3.0.*,!=3.1.*
195
+ ==3.11.16
196
+ <3.13,>=3.12.5
197
+ ==3.24.58
198
+ >=3.9,<3.11.4
199
+ <3.14,>=3.5
200
+ >=3, <3.7
201
+ ==3.16.7
202
+ >=3.9.14,<4.0.0
203
+ ==3.8.93
204
+ <3.13.dev0,>=3.10.dev0
205
+ !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
206
+ ==3.19.30
207
+ ==3.21.70
208
+ <3.10
209
+ ==3.26.70
210
+ ==3.15.54
211
+ ==3.19.29
212
+ <3.13,>=3.9.21
213
+ ==3.13.41
214
+ >=3.9,<3.13
215
+ ==3.5.3
216
+ ==3.7.39
217
+ <3.14,>=3.13.0rc3
218
+ >=3, <4
219
+ >=3.8,<3.13
220
+ <3.11.0,>=3.8.0
221
+ >=2.7, < 3.8
222
+ >=2.7.9, <4
223
+ ==3.12.93
224
+ >=3.3.0,<4.0.0
225
+ ==2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*
226
+ >3.9,<4.0
227
+ ==3.26.81
228
+ >=2.7, !=3.0.*, !=3.1.*, !=3.2.*,!=3.3.*, !=3.4.*, !=3.5, <4
229
+ >=3.6.0, !=3.7.4
230
+ ==3.26.4
231
+ <3.14,>=3.13
232
+ <4.0.0,>=3.12.6
233
+ >3,>=3.3
234
+ >=3.8,<3.10
235
+ ==3.20.25
236
+ <=3.13,>=3.10.0
237
+ ==3.18.16
238
+ >=3.6, <3.8.1
239
+ ==3.21.99
240
+ ==3.24.64
241
+ ==3.11.77
242
+ ==3.8.91
243
+ ==3.13.56
244
+ ==2.*,
245
+ >3.9.7,<4.0.0
246
+ >=3.8, <11
247
+ <3.10.0,>=3.9.0
248
+ >=3.4.1
249
+ ==3.11.47
250
+ >=3.11.0rc2
251
+ ==3.26.56
252
+ ==3.25.76
253
+ ==3.14.70
254
+ <3.12.1,>=3.9
255
+ <3.10,>=3.8,>=3.9
256
+ >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4
257
+ >3.7.2
258
+ >=3.4.8
259
+ <3.11,>=3.8.10
260
+ !=2.7, !=3.4, >=3.5
261
+ ==3.29.2
262
+ ==3.16.73
263
+ <=3.7,>=3.6.9
264
+ ==3.22.42
265
+ >=98.0
266
+ <3.12,>3.11
267
+ <3.6
268
+ ==3.20.58
269
+ >=3.9.6,<4.0.0
270
+ >=3.8,<=3.10.6
271
+ >=3.8.4
272
+ >=3.10.0,<3.13
273
+ ==3.27.55
274
+ ==3.13.87
275
+ ==3.8.44
276
+ <3.8,>=3.7.6
277
+ ==3.23.38
278
+ !=3.10.0,<3.13,>=3.9
279
+ ==3.27.9
280
+ >=3.8.9
281
+ ==3.10.37
282
+ >=3.8.8,<3.10
283
+ ==3.29.54
284
+ >=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
285
+ >=2.7.9, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.0, !=3.5.1, !=3.5.2, <4
286
+ ==3.21.49
287
+ ==3.17.89
288
+ ==3.9.13
289
+ <=3.13.0,>3.8.0
290
+ >=2.7, >=3.4
291
+ >=3.7.1,<3.9
292
+ <=3.10.12,>=3.10.1
293
+ <4,~=3.8
294
+ ==3.24.86
295
+ >=3.10.16
296
+ >=3.10.2
297
+ ==3.17.36
298
+ ~=3.10,~=3.8
299
+ ==3.26.98
300
+ <=3.10.17,>=3.8
301
+ <3.13,>=3.12.0
302
+ ==3.9.14
303
+ >=3.2,<4
304
+ >=3.6, <4, !=3.8.*
305
+ >2.7,>=3
306
+ >=3.10.2,<3.12
307
+ ==3.27.91
308
+ ==3.10.23
309
+ <4.0.0,>=3.8.13
310
+ ==3.11.75
311
+ >=3.9,<3.12.0
312
+ ==3.25.21
313
+ <3.11,>=3.9.2
314
+ <3.14,>3.12
315
+ <4.0.0,>=3.8.16
316
+ ==3.9.97
317
+ ==3.8.83
318
+ >=3.11,<4.0.0
319
+ ==3.27.46
320
+ <4.0,>=3.8.3
321
+ ==3.14.3
322
+ >=2.7, !=3.0.*, !=3.1.*, !=3.3.*, !=3.5.*
323
+ >=3.6.1,<=3.9.1
324
+ >=3.0, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.3.*, !=3.4.*, !=3.6.*
325
+ <3.14,>=3.13.9
326
+ <3.14,>=3.9.2
327
+ >2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4
328
+ <=3.12.4,>=3.9
329
+ !=3.13.0,!=3.9.10,!=3.9.11,!=3.9.12,!=3.9.13,!=3.9.14,!=3.9.15,!=3.9.16,!=3.9.17,!=3.9.18,!=3.9.19,!=3.9.7,!=3.9.8,<3.14.0,>=3.9.6
330
+ >= 2.7.11
331
+ ==3.16.3
332
+ ==3.23.22
333
+ !=2.*,>=3.0
334
+ ==3.15.37
335
+ ==3.24.45
336
+ !=2.*,>=3.8
337
+ ~=3.7
338
+ ~= 3.9
339
+ ==3.7.69
340
+ ==3.12.73
341
+ ==3.26.73
342
+ ==3.22.61
343
+ >=3.11.10
344
+ ==3.7.85
345
+ !=2.7.*,!=3.0.*,!=3.1.*,!=3.11.*,!=3.12.*,!=3.13.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=3.7
346
+ >=3.0, <3.8
347
+ >=3.11.2,<4.0.0
348
+ >=2.8, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
349
+ ==3.28.56
350
+ ==3.29.42
351
+ ==3.26.9
352
+ >3.6.6
353
+ <=3.12
354
+ >=3.9,<=3.11.2
355
+ >=3.7.0, <4.0
356
+ ==3.14.31
357
+ ~=3.6, !=3.7
358
+ ==3.14.72
359
+ ==3.9.85
360
+ ==3.25.71
361
+ >3.8,<3.13
362
+ !=3.11.*,>=3.8
363
+ ==3.29.92
364
+ ==3.27.65
365
+ ==3.19.88
366
+ >3.7
367
+ ==3.8.61
368
+ ~= 3.9.0
369
+ >=3.7.8,<4.0.0
370
+ !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<4,>=3.4
371
+ >=3.8,<=3.12.0
372
+ >2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
373
+ ==3.21.97
374
+ >=3.9.0, <=3.9.16
375
+ >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4
376
+ <=3.11.9,>=3.11
377
+ >= 3.4, <4
378
+ <3.14,>=3.7
379
+ <3.14.0,>=3.10
380
+ >=3.8.0, <3.12.0
381
+ <3.14,>=3.10.17
382
+ >=3.6, <=3.11.3
383
+ >=3.7,<=3.10.4
384
+ >=3.6.0, <3.8.0
385
+ >2.7, >3.5, <3.7
386
+ >=3.8.1, <=3.8.12
387
+ ==3.14.5
388
+ ==3.25.73
389
+ <4.0,>=3.9.16
390
+ <=3.10.15
391
+ >=3.0,<3.7
392
+ ==3.23.12
393
+ !=3.11.0,<3.12,>=3.9
394
+ ==3.17.1
395
+ ==3.26.78
396
+ ==3.7.79
397
+ ==3.7.4
398
+ >=3.4, !=3.1.*, !=3.2.*, !=3.3.*, <3.8
399
+ >=3.8.1,<=3.11.5
400
+ !=3.9.1,<4.0,>=3.9
401
+ ==3.10.30
402
+ <4.0.0,>=3.8.3
403
+ >=3.0, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
404
+ ==3.10.99
405
+ >=3.8.7,<4.0.0
406
+ ==3.20.71
407
+ ==3.15.4
408
+ <3.13,>=3.9
409
+ >=3.6,<3.12
410
+ ==3.15.95
411
+ >=3.9, <3.13
412
+ <4.0,>=3.6.0
413
+ !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.5,>=3.4
414
+ !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*
415
+ ==3.21.1
416
+ >=3.7.0, <4
417
+ ==3.10.33
418
+ ==3.27.14
419
+ ==3.11.28
420
+ ==3.24.66
421
+ ==3.25.45
422
+ ==3.13.14
423
+ ==2.7.5
424
+ ==2.7, >=3.7
425
+ ==3.20.34
426
+ <3.12.0,>=3.11.6
427
+ >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5
428
+ ==3.17.20
429
+ ==3.20.53
430
+ ==3.26.69
431
+ ==3.21.16
432
+ ==3.28.85
433
+ ==3.12.84
434
+ <3.12.5,>=3.8.1
435
+ ==3.24.54
436
+ ==3.18.41
437
+ ==3.17.73
438
+ >=3.3, <=3.7
439
+ <4.0.0,>=3.14
440
+ <3.14.0,>=3.9
441
+ >=3.7.0,<4
442
+ >3.5.0
443
+ <3.11,>=3.8.12
444
+ ==3.21.30
445
+ >=3.14.0
446
+ !=3.5.0,!=3.5.1,>=3.5
447
+ ==3.13.47
448
+ ~=2.7,~=3.6
449
+ >3.5, < 3.9
450
+ >=3.9.0,<3.10
451
+ <4.0,>=3.9.2
452
+ <3.11,>=3.8.0
453
+ >=3.6.5,<4
454
+ ==3.10.7
455
+ >=3.4, >=2.7
456
+ ==3.15.87
457
+ >3.8.10
458
+ ==3.12.47
459
+ ==3.17.42
460
+ ==3.18.77
461
+ <3.12,>=3.8.2
462
+ >=3.9.10
463
+ ==3.20.81
464
+ >=3.5.3,<4
465
+ ==3.26.37
466
+ ==3.20.97
467
+ !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<3.13,>=2.7
468
+ <3.12.0,>=3.11.0
469
+ >3.6, < 3.11
470
+ >=3.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*, !=3.5.*, !=3.6.*
471
+ ==3.10.24
472
+ ==3.28.37
473
+ >=3.8.1,<3.10.9
474
+ >=3.11.0
475
+ <3.13.0,>3.8
476
+ ==3.13.30
477
+ >=3.8.16,<4.0
478
+ ==3.24.19
479
+ >=3.8.1,<3.12.0
480
+ >=3.9
481
+ >=3.6.7,<4
482
+ <=3.12.9,>=3.8
483
+ ==3.26.21
484
+ >=2.6, <=3.12
485
+ ~=3.8.1
486
+ ==3.23.0
487
+ ==3.8.*
488
+ >=3.8.1,<=4.0
489
+ ==3.17.60
490
+ >=3.5.2,<3.7
491
+ ~= 3.10
492
+ ==3.9.91
493
+ ==3.10.76
494
+ ==3.13.82
495
+ >=3.6, !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.7.*
496
+ <4,>3.10
497
+ <=3.12.10,>=3.11
498
+ >=3.6.0,<=3.8.0
499
+ <3.10,>3.7
500
+ >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.11
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/utils.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from packaging.utils import canonicalize_name
4
+
5
+ from . import add_attributes
6
+
7
+ NAMES = [
8
+ "simple",
9
+ "verysimple",
10
+ "moresimple",
11
+ "other",
12
+ "numpy",
13
+ "packaging",
14
+ "requests",
15
+ "a",
16
+ "long_name_with_multiple_parts",
17
+ "snake-name",
18
+ "another-snake-name",
19
+ "name-with-dashes-and_underscores",
20
+ "NAMEWITHUPPERCASELETTERS",
21
+ "name.with.dots.in.it",
22
+ "name--with..multiple---separators__in..a..row",
23
+ "CamelName",
24
+ ]
25
+
26
+
27
+ class TimeUtils:
28
+ rounds = 4
29
+
30
+ @add_attributes(pretty_name="canonicalize_name")
31
+ def time_canonicalize_name(self) -> None:
32
+ for v in NAMES:
33
+ canonicalize_name(v)
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/version.py ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from pathlib import Path
4
+
5
+ from packaging.version import InvalidVersion, Version
6
+
7
+ from . import add_attributes
8
+
9
+ DIR = Path(__file__).parent.resolve()
10
+
11
+
12
+ def valid_version(v: str) -> Version | None:
13
+ try:
14
+ return Version(v)
15
+ except InvalidVersion:
16
+ return None
17
+
18
+
19
+ class TimeVersionSuite:
20
+ rounds = 4
21
+
22
+ def setup(self) -> None:
23
+ with (DIR / "version_sample.txt").open() as f:
24
+ self.versions = [v.strip() for v in f.readlines()]
25
+ self.valid_versions = [v for v in self.versions if valid_version(v)]
26
+ self.version_objects_cold = [Version(v) for v in self.valid_versions]
27
+ self.version_objects_warm = [Version(v) for v in self.valid_versions]
28
+ for v in self.version_objects_warm:
29
+ _ = v._key
30
+
31
+ @add_attributes(pretty_name="Version constructor")
32
+ def time_constructor(self) -> None:
33
+ for v in self.versions:
34
+ try:
35
+ Version(v)
36
+ except InvalidVersion: # noqa: PERF203
37
+ pass
38
+
39
+ @add_attributes(pretty_name="Version hash")
40
+ def time_hash(self) -> None:
41
+ for v in self.valid_versions:
42
+ hash(Version(v))
43
+
44
+ @add_attributes(pretty_name="Version hash (warm cache)")
45
+ def time_hash_warm(self) -> None:
46
+ for v in self.version_objects_warm:
47
+ hash(v)
48
+
49
+ @add_attributes(pretty_name="Version __str__")
50
+ def time_str(self) -> None:
51
+ for version in self.valid_versions:
52
+ str(Version(version))
53
+
54
+ @add_attributes(pretty_name="Version sorting (cold cache)")
55
+ def time_sort_cold(self) -> None:
56
+ """Sorting when _key needs to be calculated during comparison."""
57
+ for v in self.version_objects_cold:
58
+ v._key_cache = None
59
+ if hasattr(v, "_hash_cache"):
60
+ v._hash_cache = None
61
+ sorted(self.version_objects_cold)
62
+
63
+ @add_attributes(pretty_name="Version sorting (warm cache)")
64
+ def time_sort_warm(self) -> None:
65
+ """Sorting when _key is already cached."""
66
+ sorted(self.version_objects_warm)
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/benchmarks/version_sample.txt ADDED
@@ -0,0 +1,1305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1.34.129
2
+ 202515.54.0
3
+ 1.16.4
4
+ 1.1.3
5
+ 0.0.1
6
+ 0.1.4
7
+ 0.1
8
+ 8.23.0
9
+ 0.0.11
10
+ 0.1.2
11
+ 1.0.1
12
+ 0.2
13
+ 0.7.24
14
+ 2.0.0
15
+ 0.6.5
16
+ 0.1.9
17
+ 1.1.4
18
+ 0.1.14
19
+ 1.5
20
+ 1.34.29
21
+ 0.1.0
22
+ 0.3.3
23
+ 2.3.3149
24
+ 0.2.3
25
+ 1.2.4
26
+ 0.56
27
+ 1.11.8.0
28
+ 2.0.7
29
+ 0.3.6
30
+ 0.1.3
31
+ 0.25.3
32
+ 0.0.538
33
+ 0.1.2
34
+ 0.2.0
35
+ 0.0.12
36
+ 0.8.8
37
+ 1.5.3
38
+ 0.1.11
39
+ 3.0.1162
40
+ 0.34.0
41
+ 0.2.1
42
+ 0.1.2
43
+ 0.0.16
44
+ 0.11.3
45
+ 0.7.0
46
+ 0.0.18
47
+ 0.2.48
48
+ 0.4.1
49
+ 0.2.3
50
+ 1.0.1
51
+ 1.0.0
52
+ 0.1.24
53
+ 0.37.5
54
+ 6.9.2
55
+ 2.3.2
56
+ 1.4.0
57
+ 3.8
58
+ 2021.9.5.1
59
+ 3.0.307
60
+ 0.0.2.3427
61
+ 0.1.2
62
+ 1.6
63
+ 1.0.1
64
+ 1.1.6
65
+ 7.2.2
66
+ 0.8.15
67
+ 0.1.1
68
+ 0.3.1
69
+ 11.0.3.6.6
70
+ 0.8.0
71
+ 1.0.3
72
+ 0.1.4
73
+ 0.2.0
74
+ 2016.8.17
75
+ 0.3.9
76
+ 0.0.3
77
+ 0.1.3
78
+ 10.0.20171013
79
+ 0.6.1
80
+ 7.1.2
81
+ 0.3.3
82
+ 1.10.1
83
+ 0.5.3
84
+ 0.2.1
85
+ 0.0.1
86
+ 2.0.14
87
+ 1.61.0
88
+ 1.0.4
89
+ 1.0.0
90
+ 0.22.1
91
+ 0.0.357
92
+ 0.2.66
93
+ 0.4.5
94
+ 0.11
95
+ 0.0.8
96
+ 1.2.2
97
+ 0.1.14
98
+ 0.61.13
99
+ 0.5.0
100
+ 0.0.2
101
+ 0.4
102
+ 0.7.1
103
+ 0.85.9
104
+ 6.0.36
105
+ 3.1.5
106
+ 0.0.0
107
+ 0.1.6
108
+ 0.1.0
109
+ 0.5.1
110
+ 2025.5.8.1
111
+ 0.1.3
112
+ 0.0.832
113
+ 1.1.1
114
+ 3.2.2
115
+ 1.10.0
116
+ 0.2.5
117
+ 1.181.1
118
+ 0.7.1
119
+ 0.2.2
120
+ 0.10.0
121
+ 1.1.2
122
+ 0.0.7
123
+ 0.0.6
124
+ 0.1.1
125
+ 0.0.1
126
+ 0.4
127
+ 4.0.1.1
128
+ 2.1.5
129
+ 1.0.0
130
+ 3.0.1181
131
+ 1.5
132
+ 0.2.9
133
+ 0.0.3.4
134
+ 1.2.8
135
+ 0.3.0
136
+ 0.6
137
+ 0.0.184
138
+ 3.0.657
139
+ 5.9.6
140
+ 0.16
141
+ 0.1.19
142
+ 0.1.6
143
+ 1.31.51
144
+ 1.9.11
145
+ 0.0.34
146
+ 0.159.0
147
+ 1.0.0
148
+ 0.1.4
149
+ 0.0.12
150
+ 0.1.3
151
+ 3.1.65
152
+ 1.0.158
153
+ 0.1.3
154
+ 1.1.62
155
+ 1.0.1
156
+ 1.11.0
157
+ 1.0.0
158
+ 0.0.9
159
+ 0.1.3
160
+ 1.0.4
161
+ 2.7.12
162
+ 0.1.16
163
+ 1.0.0
164
+ 0.0.14
165
+ 0.3.5
166
+ 1.28.2
167
+ 1.0.1
168
+ 0.0.2
169
+ 0.1.4
170
+ 0.4.8.8
171
+ 1.4.5
172
+ 1.7.0
173
+ 0.4.17
174
+ 2.9.12
175
+ 1.1.7
176
+ 0.1.3
177
+ 4.1.1
178
+ 1.3.5
179
+ 16.0.1.0.1
180
+ 3.0.1141
181
+ 2.0.11
182
+ 0.1.0
183
+ 1.6.9
184
+ 0.41
185
+ 0.7.6
186
+ 0.1.0
187
+ 1.6.1.4
188
+ 1.4.0
189
+ 0.8.153
190
+ 0.2.0
191
+ 0.3.2
192
+ 0.1
193
+ 14.0.1.0.1
194
+ 0.1.3
195
+ 0.1.1
196
+ 15.0.1.6.0
197
+ 0.1.7
198
+ 17329
199
+ 0.0.4
200
+ 0.2017.1.30.1719
201
+ 0.0.4
202
+ 0.1.9
203
+ 1.101
204
+ 3.1.0
205
+ 0.0.41
206
+ 0.8.0
207
+ 2019.10.3
208
+ 0.1.1
209
+ 1.2
210
+ 0.6
211
+ 0.3.3
212
+ 0.1.0
213
+ 2.3.0
214
+ 1.17.54.0
215
+ 1.13.7.0
216
+ 0.23.3
217
+ 0.3.0
218
+ 0.1.0
219
+ 0.9.2
220
+ 0.2.1.0
221
+ 1.22.0
222
+ 0.2.2
223
+ 0.5.85
224
+ 0.8.2
225
+ 0.0.20
226
+ 0.1.7
227
+ 0.0.68
228
+ 0.1.0
229
+ 0.11
230
+ 1.29.59
231
+ 2.11.1
232
+ 2.2.0
233
+ 0.4.0
234
+ 4.17.2214
235
+ 0.0.55
236
+ 2.53.0
237
+ 1.0.15
238
+ 2.62.0
239
+ 0.0.634
240
+ 0.1.0
241
+ 3.0.3
242
+ 0.2.2
243
+ 1.0.7
244
+ 0.0.41
245
+ 0.1.0
246
+ 0.0.3
247
+ 24.12
248
+ 1.29.143
249
+ 0.1.6
250
+ 1.29.60
251
+ 0.0.7
252
+ 1.20220221.172904
253
+ 0.0.3
254
+ 0.15.0
255
+ 13.4.5
256
+ 1.2.23
257
+ 5.3.7.4
258
+ 1.0.0
259
+ 4.0.1
260
+ 2.9.0
261
+ 0.0.3
262
+ 0.7.0
263
+ 2.8.33
264
+ 4.4.64
265
+ 1.0.0
266
+ 0.2.15
267
+ 4.3.9
268
+ 0.2.1
269
+ 0.1.18
270
+ 0.0.12
271
+ 1.0.1
272
+ 0.1.9
273
+ 1.3.2
274
+ 0.1.22
275
+ 2.36.1
276
+ 0.0.394
277
+ 1.50.5
278
+ 2.0.0
279
+ 1.17.0
280
+ 1.4.0
281
+ 0.2.0
282
+ 0.0.2
283
+ 1.2.0
284
+ 0.2
285
+ 1.51.12
286
+ 0.0.11.5
287
+ 0.0.1
288
+ 1.34.83
289
+ 0.0.1
290
+ 1.117.0
291
+ 0.12.1
292
+ 0.1.6.35
293
+ 1.4.2
294
+ 3.0.310
295
+ 0.1.0
296
+ 5.0.15
297
+ 0.1.7
298
+ 1.12.38.0
299
+ 0.1.6
300
+ 1.5.0
301
+ 0.0.97
302
+ 0.0.7
303
+ 0.6.2
304
+ 2.0.0
305
+ 1.32.2
306
+ 1.9.0
307
+ 22.3
308
+ 0.1
309
+ 0.0.16
310
+ 0.1.27
311
+ 0.0.23
312
+ 1.1.1
313
+ 1.6.1
314
+ 0.13.1.1
315
+ 3.0.1059
316
+ 0.15.4
317
+ 0.1.105
318
+ 0.22.3.0
319
+ 0.28.4
320
+ 0.3.0
321
+ 0.12.1
322
+ 1.112.0
323
+ 0.6.5
324
+ 0.0.2
325
+ 0.2.3
326
+ 2.0.832
327
+ 1.0.13
328
+ 0.1.4
329
+ 0.2.426
330
+ 1.1.2
331
+ 1.34.20
332
+ 0.2.0
333
+ 0.3.8
334
+ 1.14.39.0
335
+ 0.0.0
336
+ 1.4.1.22
337
+ 1.0.7
338
+ 0.1.1
339
+ 0.0.1
340
+ 0.0.1
341
+ 6.72.21
342
+ 1.2.526
343
+ 0.0.23
344
+ 0.1.4
345
+ 0.5.6
346
+ 0.1.1
347
+ 0.2
348
+ 3.1.124
349
+ 0.1.2
350
+ 0.1.0
351
+ 0.0.2
352
+ 0.8
353
+ 2.1.4
354
+ 0.3.16
355
+ 0.2.73
356
+ 1.3.0
357
+ 0.2.0.2
358
+ 1.0.202304182227
359
+ 0.5.0
360
+ 5.0.1
361
+ 0.1.0
362
+ 15.30.1
363
+ 0.0.3
364
+ 2.19.0
365
+ 2.25.2
366
+ 0.2.23
367
+ 0.3.8
368
+ 1.4.1
369
+ 1.34.81
370
+ 10.6.12
371
+ 0.2.12
372
+ 1.17.54.0
373
+ 1.0.4
374
+ 0.1.0
375
+ 0.0.8
376
+ 19.9.14
377
+ 0.4.725
378
+ 1.29.57
379
+ 7.6.0
380
+ 16.0.1.1.0
381
+ 0.0.4
382
+ 0.3.6
383
+ 17.0.1.0.2.3
384
+ 0.5.3
385
+ 0.2.4
386
+ 1.0.0
387
+ 1.47.0
388
+ 1.0.12.13
389
+ 0.2.2
390
+ 1.0
391
+ 0.5.3
392
+ 1.0.1
393
+ 0.0.57
394
+ 0.0.22
395
+ 1.13.18.0
396
+ 7.0.3
397
+ 0.7.0
398
+ 0.1.1
399
+ 3.4.2.9
400
+ 0.0.47
401
+ 1.13.9.0
402
+ 1.3.2
403
+ 0.1.4
404
+ 1.34.10
405
+ 1.31.57
406
+ 0.0.25
407
+ 0.4.10
408
+ 2.18.7
409
+ 0.0.3
410
+ 0.1.5
411
+ 4.7.2
412
+ 0.1.1
413
+ 0.0.2
414
+ 3.2.1
415
+ 2.0.2
416
+ 0.3.2
417
+ 0.3.0
418
+ 1.0.1
419
+ 0.1.6
420
+ 3.0.1159
421
+ 0.2.0
422
+ 0.4.2
423
+ 0.1.0
424
+ 0.23.1
425
+ 0.2.2
426
+ 0.3.0
427
+ 0.5.12.4
428
+ 1122.11.0
429
+ 3.5.68
430
+ 0.13.35
431
+ 0.1.2
432
+ 2.6.6
433
+ 0.0.17
434
+ 1.12.35.0
435
+ 3.0.1218
436
+ 3.0.331
437
+ 1.31.21
438
+ 2.0.0.20240618
439
+ 0.1.9
440
+ 0.0.4.9.8.8
441
+ 0.5.1
442
+ 0.6.5
443
+ 0.1.177
444
+ 6.1.0
445
+ 0.1.9
446
+ 1.1
447
+ 0.1.3
448
+ 1.3.0
449
+ 0.1.52
450
+ 0.7.3
451
+ 2.0.138
452
+ 2024.6.27.7.40
453
+ 1.34.30
454
+ 0.20.5
455
+ 0.0.96
456
+ 1.29.124
457
+ 0.1.4
458
+ 0.2.1
459
+ 0.1.17
460
+ 1.1.6
461
+ 0.9.0.2
462
+ 3.0.705
463
+ 0.0.374
464
+ 0.1.1
465
+ 0.6.26
466
+ 0.1.0
467
+ 0.17.5
468
+ 0.8.2
469
+ 2.199
470
+ 0.5.8
471
+ 3.1.2
472
+ 0.9.5
473
+ 2.16.0
474
+ 21.10.1.16
475
+ 0.0.9
476
+ 0.7.1
477
+ 149
478
+ 12.0.20190421.0
479
+ 1.0.2
480
+ 0.0.41
481
+ 0.7.1
482
+ 0.77.2.2
483
+ 0.5.0
484
+ 0.4.1
485
+ 1.0.10
486
+ 0.3.14
487
+ 0.9.2
488
+ 0.6
489
+ 1.34.77
490
+ 3.0.1013
491
+ 1.2.1
492
+ 0.5
493
+ 0.3.1
494
+ 15.0.1.0.0.6
495
+ 6.0.1
496
+ 1.5.0
497
+ 1.0.0
498
+ 0.1.9
499
+ 0.1.1
500
+ 2.0
501
+ 1.15.15.0
502
+ 0.1.18
503
+ 2022.7.28
504
+ 0.3.1
505
+ 0.0.1
506
+ 0.2.0
507
+ 0.0.23
508
+ 0.4.0
509
+ 0.0.1
510
+ 1.7.11
511
+ 0.1.0
512
+ 1.0.0
513
+ 0.7.0
514
+ 0.0.81
515
+ 12.0.60
516
+ 2.1.0
517
+ 1.0
518
+ 0.3.11
519
+ 0.0.11
520
+ 0.0.70
521
+ 0.42.0.20240402
522
+ 1.1.1
523
+ 1.0.2
524
+ 1.0.27
525
+ 0.2.1
526
+ 1.0.1
527
+ 1.1.0
528
+ 2.5.16.1
529
+ 0.10.0
530
+ 0.97
531
+ 0.1.0
532
+ 0.0.4
533
+ 3.0.863
534
+ 0.35.0
535
+ 1.2.41
536
+ 0.0.1
537
+ 0.4.0
538
+ 2.1.3
539
+ 0.1.0
540
+ 1.0.0.76
541
+ 0.1.819
542
+ 0.9.5
543
+ 300020.117.215
544
+ 0.1.3
545
+ 2.14.1
546
+ 0.0.1
547
+ 0.16.0
548
+ 0.0.2
549
+ 0.0.13
550
+ 0.0.31
551
+ 1.0.3
552
+ 1.0.11
553
+ 0.0.2.21
554
+ 1.0.0
555
+ 0.0.16
556
+ 1.31
557
+ 0.0.4
558
+ 1.3.0
559
+ 1.10.0
560
+ 1.0.0
561
+ 1.16.61.0
562
+ 0.2.2
563
+ 0.0.7
564
+ 0.2.0
565
+ 2024.1
566
+ 0.0.102
567
+ 2.1.8
568
+ 3.1.3
569
+ 1.0.0
570
+ 5.11.2
571
+ 0.4.7
572
+ 0.2.0
573
+ 0.2.3
574
+ 20100217
575
+ 0.0.1
576
+ 0.6.33
577
+ 3.0.841
578
+ 0.0.4
579
+ 0.1.5
580
+ 0.4.1
581
+ 1.29.131
582
+ 0.0.11
583
+ 2.0.881
584
+ 1.7.0
585
+ 0.12.0
586
+ 1.0.0
587
+ 0.1.1
588
+ 1.0.2
589
+ 3.0.584
590
+ 0.1
591
+ 3.0.947
592
+ 2.0.83
593
+ 0.0.8
594
+ 10.4.38
595
+ 0.8.0
596
+ 1.1.4
597
+ 0.3.17
598
+ 0.9.84
599
+ 0.1.17
600
+ 1.0.5
601
+ 1.2.441
602
+ 0.2.2
603
+ 0.9.5
604
+ 0.2.7
605
+ 0.23
606
+ 0.1.46
607
+ 0.1.1
608
+ 0.7.2
609
+ 0.1.7
610
+ 1.4.1
611
+ 0.2.6
612
+ 0.1.3
613
+ 1.1.6
614
+ 0.1.1
615
+ 0.2.0
616
+ 0.4.1
617
+ 5.0.1
618
+ 0.6.16
619
+ 13.1.0
620
+ 0.0.10
621
+ 0.5.3
622
+ 0.1.1.5
623
+ 0.2
624
+ 0.1.0
625
+ 1.1
626
+ 0.13.13
627
+ 3.19.80
628
+ 0.0.26
629
+ 0.9.2.6
630
+ 1.89.0
631
+ 1.12.15.0
632
+ 0.5.6
633
+ 0.1.1
634
+ 0.2.0
635
+ 0.2.0
636
+ 0.8.2
637
+ 0.1.0
638
+ 0.1.2
639
+ 0.1.30
640
+ 3.0.1016
641
+ 1.2.20
642
+ 2.12.0
643
+ 0.9.3
644
+ 0.0.5
645
+ 1.2
646
+ 1.0.4
647
+ 1.32.5
648
+ 0.0.0
649
+ 0.1.7
650
+ 1.0.4
651
+ 3.0.1306
652
+ 0.1.17
653
+ 0.1316
654
+ 0.6.0
655
+ 0.1.85
656
+ 0.0.7
657
+ 1.0
658
+ 1.0.5.1.3
659
+ 3.12.5
660
+ 30.1.1
661
+ 0.4.5
662
+ 3.0.1
663
+ 3.0.612
664
+ 0.1
665
+ 1.137.0
666
+ 4.6.7
667
+ 0.0.8
668
+ 0.2.6
669
+ 3.1.20
670
+ 0.9
671
+ 0.0.1
672
+ 2.0.1
673
+ 3.0.624
674
+ 7
675
+ 2023.6.3
676
+ 0.12.1
677
+ 1.0.3
678
+ 0.2.1
679
+ 0.1
680
+ 0.1.1
681
+ 0.0.2
682
+ 0.0.16
683
+ 0.0.10
684
+ 1.0.2
685
+ 0.1
686
+ 0.1.11
687
+ 1.4.35
688
+ 0.2.3
689
+ 0.9.7
690
+ 1.4.0
691
+ 0.1.16
692
+ 0.3.29
693
+ 2.2.0
694
+ 0.0.3
695
+ 0.6.4
696
+ 22.3.12
697
+ 4.10.1
698
+ 1.2.2
699
+ 0.1.2
700
+ 1.0.1
701
+ 3.3.4
702
+ 1.0.3
703
+ 1.0.4
704
+ 1.0.1.0
705
+ 0.1.3
706
+ 0.2.0
707
+ 0.0.0.90
708
+ 2.1.43
709
+ 0.5.0.1
710
+ 0.1.0
711
+ 0.0.68
712
+ 1.0.1
713
+ 1.5.2
714
+ 0.3
715
+ 0.6
716
+ 0.1.39
717
+ 0.3.1
718
+ 0.1.2
719
+ 0.0.2
720
+ 0.4.0
721
+ 1.123.0
722
+ 2.14.1
723
+ 0.6.0
724
+ 3.0.1128
725
+ 3.0.350
726
+ 3.0.1136
727
+ 2.1
728
+ 0.0.18
729
+ 0.7
730
+ 2017.2.20.468
731
+ 2.0.1
732
+ 0.1.0
733
+ 0.2.22
734
+ 0.9.3
735
+ 2.0.3
736
+ 0.2.0
737
+ 2.8.2
738
+ 0.3.3.1
739
+ 1.34.85
740
+ 1.17.104
741
+ 3.0.1238
742
+ 0.1.7
743
+ 0.3.8
744
+ 0.6.2
745
+ 0.7.0
746
+ 2.1.615
747
+ 1.4.2
748
+ 1.0.0
749
+ 0.2.24
750
+ 0.1.0
751
+ 0.3.13
752
+ 0.2.4
753
+ 3.0.626
754
+ 2.0.2
755
+ 1.0.9
756
+ 0.1.2
757
+ 1.116.1
758
+ 1.21.30
759
+ 0.0.3
760
+ 0.4.7
761
+ 0.5.42
762
+ 3.0.1189
763
+ 2.0.344
764
+ 0.0.1
765
+ 0.3.1
766
+ 0.2.7
767
+ 1.0.287
768
+ 0.7.10
769
+ 0.24.4
770
+ 1.4.0
771
+ 0.0.2
772
+ 0.1.62
773
+ 3.0.505
774
+ 0.0.19
775
+ 1.163.2
776
+ 0.2.15
777
+ 0.1.6
778
+ 0.0.13
779
+ 0.0.1
780
+ 0.1.3
781
+ 0.7
782
+ 0.1.1
783
+ 2.3.10
784
+ 0.0.164
785
+ 1.3.1
786
+ 2.1.126
787
+ 6.7.4
788
+ 1.4.2
789
+ 0.4.0
790
+ 6.1
791
+ 0.1.2
792
+ 0.0.1
793
+ 0.1.0
794
+ 0.2.7
795
+ 1.0.0
796
+ 0.0
797
+ 0.5.485
798
+ 1.14.12.0
799
+ 0.0.5
800
+ 0.3.51
801
+ 0.1.2
802
+ 0.0.3
803
+ 0.4.8
804
+ 0.0.3
805
+ 2.53.0
806
+ 0.0.15
807
+ 0.0.123
808
+ 0.1.1
809
+ 0.1.11
810
+ 0.0.0
811
+ 6.1073.1
812
+ 0.1.14
813
+ 0.12.0
814
+ 1.1.87
815
+ 0.3.12
816
+ 0.1.0
817
+ 0.1.0
818
+ 0.3.2
819
+ 3.0.1341
820
+ 2.8.5
821
+ 1.5.9
822
+ 1.18.0
823
+ 0.1.2
824
+ 0.0.3
825
+ 0.5.7
826
+ 2.3.3716
827
+ 1.0.1
828
+ 0.1.0
829
+ 2.3.6911
830
+ 1.11.3
831
+ 0.20220301123009
832
+ 1.6.0
833
+ 1.15.18.0
834
+ 0.1.0
835
+ 0.3.1
836
+ 1.20.25
837
+ 19.0.0
838
+ 13.23.0
839
+ 1.0.8
840
+ 1.0
841
+ 10.3.2
842
+ 0.0.4
843
+ 3.0.907
844
+ 1.0.2
845
+ 0.7.8
846
+ 1.1.54
847
+ 0.0.8
848
+ 1.1.0
849
+ 0.1.5
850
+ 3.0.415
851
+ 0.2.0
852
+ 0.3.5
853
+ 1.0.6
854
+ 0.0.1
855
+ 0.1.16
856
+ 0.2.5
857
+ 0.1.6
858
+ 2.1.4
859
+ 0.0.4
860
+ 0.0.1
861
+ 0.4.1
862
+ 0.1.2
863
+ 0.4.0
864
+ 1.0.5
865
+ 2.2.0
866
+ 0.0.11
867
+ 0.1.2
868
+ 1.0.0
869
+ 0.0.5
870
+ 0.8.0
871
+ 0.6.15
872
+ 2.0.0
873
+ 2.0.1
874
+ 1.128.0
875
+ 1.0.19
876
+ 2.12.2
877
+ 2.0.8
878
+ 1.1.7.1
879
+ 2.13.0
880
+ 1.5.0
881
+ 1.0.11
882
+ 0.1.1
883
+ 1.54.1
884
+ 2023.4.24
885
+ 6.2.25163504424
886
+ 0.0.1
887
+ 13.6.4
888
+ 2.0.0
889
+ 1.29.61
890
+ 2.20241003.4
891
+ 0.2.6
892
+ 0.1.2
893
+ 6.0.2
894
+ 0.0.13
895
+ 1.33
896
+ 1.0.20
897
+ 10.1.0
898
+ 1.17.34.0
899
+ 0.1.4
900
+ 2.1.686
901
+ 0.271.0
902
+ 0.3.0
903
+ 1.38.0
904
+ 0.21.0
905
+ 1.1.6
906
+ 2.94.0
907
+ 0.1.0
908
+ 1.34.111
909
+ 0.6.7
910
+ 0.0.3
911
+ 0.1.4.1
912
+ 1168.435.570
913
+ 1.0.25
914
+ 0.1.623
915
+ 1.0.4
916
+ 0.0.5
917
+ 0.0.525
918
+ 1.6.0
919
+ 1.29.139
920
+ 0.54.0
921
+ 0.0.3
922
+ 1.0.2
923
+ 1.1.1
924
+ 0.2.0
925
+ 2.9.4
926
+ 0.3.6
927
+ 0.3.4
928
+ 0.4.0
929
+ 0.4.11
930
+ 0.0.84
931
+ 1.1.1
932
+ 1.4.0
933
+ 0.2.1
934
+ 1.29.78
935
+ 20.1.3
936
+ 0.0.2217
937
+ 0.3.5
938
+ 1.2.53
939
+ 1.4
940
+ 0.2.0
941
+ 1.31.65
942
+ 1.29.144
943
+ 1.19.3
944
+ 0.1.55
945
+ 1.0.2020.12.30.16
946
+ 0.5.0
947
+ 1.14.40.0
948
+ 1.1.897
949
+ 0.33
950
+ 0.1.34
951
+ 0.2.1
952
+ 0.1.0
953
+ 1.18.35
954
+ 2014.09.29.2
955
+ 0.1.0
956
+ 0.2.3
957
+ 0.0.1
958
+ 1.1.22
959
+ 0.4.0
960
+ 0.0.9
961
+ 0.3.0
962
+ 1.2.0
963
+ 0.1.2
964
+ 0.1.2
965
+ 1.48
966
+ 0.0.5
967
+ 0.0.8
968
+ 0.3.14
969
+ 0.0.25
970
+ 3.4.7
971
+ 1.0.11
972
+ 0.1.0
973
+ 0.3.1
974
+ 4.4.1
975
+ 0.2
976
+ 1.1.2
977
+ 0.3.0
978
+ 2.2.45
979
+ 4.0.7
980
+ 21.4.21
981
+ 0.0.3
982
+ 0.7
983
+ 0.1.2
984
+ 1.0.1
985
+ 1.17.1.0
986
+ 0.9.6
987
+ 1.1.4
988
+ 0.0.1
989
+ 1.7.6
990
+ 1.2.74.29
991
+ 0.4.1
992
+ 16.6.18
993
+ 5.3.0
994
+ 0.2.2
995
+ 3.0.932
996
+ 0.1
997
+ 0.2.0
998
+ 1.0.0
999
+ 1.14.32.0
1000
+ 0.5.3.5
1001
+ 2.183.0a0
1002
+ 1.2.0rc3
1003
+ 0.1.3a24
1004
+ 1.0.45a5
1005
+ 1.16.0b5
1006
+ 0.7.0rc1
1007
+ 1.0.15rc0
1008
+ 2.46.0a0
1009
+ 2.4.0b20231023
1010
+ 0.0.0a17
1011
+ 0.11.7rc3
1012
+ 0.15.0rc11
1013
+ 1.13.1b5
1014
+ 0.0.1b2
1015
+ 0.13.2b1
1016
+ 0.0.1a0
1017
+ 0.1a3
1018
+ 11.0.0.0rc1
1019
+ 6.3.0a1723010231
1020
+ 2.48.0a0
1021
+ 0.1.28b32
1022
+ 2.4.0a20200828
1023
+ 2.7.0b20250815
1024
+ 0.0.10a1
1025
+ 0.0.1a9
1026
+ 1.0.6b1
1027
+ 0.9b12
1028
+ 2.0.0rc12
1029
+ 2.8.1rc7
1030
+ 0.3.0b1.dev1596570170
1031
+ 0.1.6a0
1032
+ 1.6b4
1033
+ 0.1.0rc20210406000920
1034
+ 25.9.0rc8
1035
+ 1.2.7b0
1036
+ 0.4.1a14
1037
+ 2.0.0a7
1038
+ 1.29.0a1763705671
1039
+ 2.16.1b0
1040
+ 2.7.3rc1
1041
+ 1.0.0rc1
1042
+ 0.0.1a1
1043
+ 0.1.5a0
1044
+ 0.8.0a2
1045
+ 0.0.1a0
1046
+ 10.0b1
1047
+ 5.0.0b1
1048
+ 0.3.1a4
1049
+ 2.0.1a395
1050
+ 0.16.5rc0
1051
+ 0.0.0a1
1052
+ 2.5.0a20201207
1053
+ 0.7.0rc1
1054
+ 1.0.15rc2
1055
+ 0.4.3a1673556028
1056
+ 1.1.0a1597351164
1057
+ 5.6.1b0
1058
+ 2.32.0rc2
1059
+ 1.7.0rc22
1060
+ 2.1.0b1
1061
+ 19.1.0.0rc2.post59
1062
+ 0.14.18rc2
1063
+ 0.25.0a20230925
1064
+ 2.3.0b20230409
1065
+ 0.7.1b20230430
1066
+ 0.2b8
1067
+ 1.0.14rc6
1068
+ 1.0.0b4
1069
+ 0.2.0a1723010172
1070
+ 1.0.0a4
1071
+ 0.1.0b8
1072
+ 0.48.5rc4
1073
+ 1.32.0a2
1074
+ 2.2.3b2
1075
+ 11.0.0.0rc1
1076
+ 0.0.3a0
1077
+ 1.0rc2
1078
+ 0.1.1a13
1079
+ 0.5b2
1080
+ 0.0.3a0
1081
+ 2.8.0rc1
1082
+ 0.23b2
1083
+ 0.15.1b1
1084
+ 2.0b4
1085
+ 1.1.0a0
1086
+ 1.0.0a9
1087
+ 0.30b1
1088
+ 4.0.72rc0
1089
+ 0.9b4
1090
+ 0.6.1a1
1091
+ 0.9b13
1092
+ 0.26.0rc3
1093
+ 2025.5rc14
1094
+ 1.14.4-rc-130
1095
+ 1.0.0b4
1096
+ 1.35.0rc1
1097
+ 0.0.5a0
1098
+ 1.0b9
1099
+ 0.2.0a4
1100
+ 1.0rc0
1101
+ 11.0.1.1.2.99.dev1
1102
+ 0.3.2.dev1
1103
+ 0.0.dev4
1104
+ 12.0.1.2.0.99.dev6
1105
+ 0.10.0.dev2230
1106
+ 11.0.1.0.0.99.dev51
1107
+ 0.0.1.dev0
1108
+ 0.8.3.dev173
1109
+ 13.0.3.1.5.dev1
1110
+ 0.0.101.dev24
1111
+ 9.0.1.0.0.99.dev10
1112
+ 0.0.26.dev1
1113
+ 12.0.1.0.0.99.dev10
1114
+ 2.7.0.dev20250927
1115
+ 0.3.0.dev20180721
1116
+ 3.1.0.dev27
1117
+ 2.18.0.dev20240919
1118
+ 0.0.3.dev10
1119
+ 1.5.9.dev59
1120
+ 0.0.2.dev0
1121
+ 1.8.1.dev20201111
1122
+ 0.17.0.dev202411040316
1123
+ 0.0.1.dev4
1124
+ 1.23.7.dev10
1125
+ 1.26.3.dev24
1126
+ 10.0.1.0.0.99.dev6
1127
+ 11.0.0.7.4.99.dev3
1128
+ 0.15.0.dev15
1129
+ 14.0.1.0.1.dev12
1130
+ 8.0.1.0.0.99.dev16
1131
+ 11.0.3.1.2.99.dev2
1132
+ 1.0.1.dev0
1133
+ 1.5.0.dev20241122173038
1134
+ 12.0.1.0.0.99.dev15
1135
+ 12.0.2.1.0.99.dev1
1136
+ 0.1.dev6
1137
+ 0.3.2.dev19
1138
+ 12.0.1.0.0.99.dev3
1139
+ 0.10.0.dev2024081603
1140
+ 1.20.7.dev8
1141
+ 0.25.0.dev20241005
1142
+ 1.0.0.dev20240718
1143
+ 1.31.2.dev117
1144
+ 1.9.dev1648802898
1145
+ 0.0.18.dev20240104
1146
+ 8.0.3.3.0.99.dev20
1147
+ 8.0.1.0.0.99.dev2
1148
+ 1.40.1.dev27
1149
+ 0.1.0.dev20250108011713
1150
+ 1.1.0.dev0
1151
+ 13.0.1.0.2.dev8
1152
+ 0.70.0.dev6696
1153
+ 0.6.7.dev10
1154
+ 0.1.dev1
1155
+ 11.0.2.dev20
1156
+ 3.0.0.dev4
1157
+ 0.3.0.dev10038638792
1158
+ 12.0.5.1.0.99.dev3
1159
+ 9.0.1.0.0.99.dev10
1160
+ 0.14.0.dev20220314220610
1161
+ 4.3.1.dev712
1162
+ 0.2.4.dev3
1163
+ 3.0.6.dev9
1164
+ 2.8.0.dev2021121508
1165
+ 1.1.0.dev201909030000
1166
+ 2.3.0.dev1
1167
+ 0.9.0.dev20240104001
1168
+ 12.0.1.0.0.99.dev7
1169
+ 0.0.0.dev0
1170
+ 0.2.1.dev0
1171
+ 0.10.1.dev946
1172
+ 0.0.16.dev20230410
1173
+ 0.0.dev16
1174
+ 0.0.4.dev0
1175
+ 7.11.1.dev20230124
1176
+ 1.0dev
1177
+ 7.22.1.dev20240430
1178
+ 0.3.0.dev2
1179
+ 0.4.1.dev20210707
1180
+ 1.8.1.dev24
1181
+ 6.4.2.post4378
1182
+ 0.0.1.post90515
1183
+ 3.2.post5
1184
+ 0.1.23-3
1185
+ 4.56.0.post6
1186
+ 0.4.2.post4
1187
+ 2024.10.24.post1
1188
+ 1.0.post151
1189
+ 1.6.0.post0.dev15
1190
+ 0.10.12.post0
1191
+ 0.1.0.post1
1192
+ 1.00-730
1193
+ 0.14.72.post6
1194
+ 0.6.0.post1
1195
+ 6.3.4.post3721
1196
+ 2020.10.25.post2
1197
+ 1.1.2.post2
1198
+ 1.16.0.post0.dev802
1199
+ 1.17.90.post1
1200
+ 2.16.0.post363
1201
+ 2025.2.4.post1744646188
1202
+ 2.2.3.post1
1203
+ 0.28.0.post1
1204
+ 1.2.1.post3
1205
+ 1.50.post6
1206
+ 1.1.1.2022022.post2555
1207
+ 0.5-3
1208
+ 0.1.post11
1209
+ 1.17.90.post1
1210
+ 2.32.0.post905
1211
+ 6.1.0.post2594
1212
+ 0.3.2.post5
1213
+ 2.24.0.post656
1214
+ 5.0-0.dev5
1215
+ 2.3.4.post1
1216
+ 1.0.0.post0.dev353
1217
+ 0.8.0.post1
1218
+ 0.0.1-149
1219
+ 2.31.0.post886
1220
+ 1.0.0.post908
1221
+ 0.0.24.post2
1222
+ 1.2.0.post1
1223
+ 1.15.0.post0.dev375
1224
+ 1.10.0.post3
1225
+ 6.7.2.post4876
1226
+ 0.3.0.post1
1227
+ 0.2.post3
1228
+ 1.11.1.post0.dev64
1229
+ 1.0.26.0.post48
1230
+ 0.31.0.post2
1231
+ 6.5.1.post4504
1232
+ 2.7.0.post2
1233
+ 2.38.0.post93
1234
+ 1.3.2.post1
1235
+ 3.4.2.post4
1236
+ 1.0.21.1.post74
1237
+ 2.5.2.post2
1238
+ 2.4.0.post123
1239
+ 0.1.5.post2
1240
+ 2025.2.23.post1226
1241
+ r515
1242
+ 0.1.1408981145.14f130e
1243
+ 0.a7e089858d93a47c39106be72eadde3ed53cadf4-dev
1244
+ 2.2.1-final
1245
+ devel-20120307
1246
+ 0.1dev1.7
1247
+ 0.1.1412021275.b3fd367
1248
+ 1.0.3-stable
1249
+ 0.85b.dev-r141
1250
+ 0.1.1407936765.936ee28
1251
+ 0.1a0.dev-r542
1252
+ 0.2dev-r917
1253
+ 0.1.1406649525.7a54fd6
1254
+ 0.1.20141201165544.4b0934a
1255
+ 2011g
1256
+ 0.2.1.dev-r191
1257
+ 0.1.20141111213004.ec75fda
1258
+ -n.0.18.45-
1259
+ 0.60p1
1260
+ 0.2.4.dev-r300
1261
+ 0.1.1404442461.b7de0ac
1262
+ 0.2.1-1-g9ce6
1263
+ 0.1.1400525857.7ed1dcf
1264
+ 0.4.0.final.0
1265
+ 0.5.10.post2.geb3de2f
1266
+ 0.6.0-7-g897273b
1267
+ 2013-03-27T16:32:26+0100
1268
+ 0.3.dev-r24504
1269
+ 3.0.2.devdc5e859e
1270
+ 0.01a1.dev-r36
1271
+ 0.1.1411610603.d962404
1272
+ 1.0rc2.1
1273
+ 0.4.3-p1
1274
+ alpha-0.1.8
1275
+ 0.4dev-r0
1276
+ 0.7.1-RELEASE
1277
+ 0.1.a0.dev-r11
1278
+ 1.0dev-BZR-r8-panta-elasticworld.org-20090316131542-al2mtd6m3qq0gxhb
1279
+ 0.6989ev
1280
+ 1.2-beta2beta
1281
+ 1727783712!10.2.0
1282
+ 1733827941!10.4.0
1283
+ 1716541850!10.1.0
1284
+ 1!1.0.1
1285
+ 1727783694!10.1.0
1286
+ 1746136402!10.2.0
1287
+ 1!4.0.0
1288
+ 1759918447!10.2.0
1289
+ 1713348657!10.4.0
1290
+ 1!0.1.0.dev0
1291
+ 1!6.5.1
1292
+ 1726136147!10.3.0
1293
+ 1!20190521.14621
1294
+ 1713478742!10.3.0
1295
+ 3!1.0.0
1296
+ 1!1.0.0
1297
+ 1!10.13.0
1298
+ 1!7.0.0
1299
+ 1746458674!11.5.0
1300
+ 1!2.1.13
1301
+ 0.1.0.dev188+26eeb77
1302
+ 0.5.12+r17222
1303
+ 0.6+git08dec97
1304
+ 0.9.33+r17222
1305
+ 0.6.22+r17222
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/Makefile ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = sphinx-build
7
+ PAPER =
8
+ BUILDDIR = _build
9
+
10
+ # Internal variables.
11
+ PAPEROPT_a4 = -D latex_paper_size=a4
12
+ PAPEROPT_letter = -D latex_paper_size=letter
13
+ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
14
+ # the i18n builder cannot share the environment and doctrees with the others
15
+ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
16
+
17
+ .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
18
+
19
+ help:
20
+ @echo "Please use \`make <target>' where <target> is one of"
21
+ @echo " html to make standalone HTML files"
22
+ @echo " dirhtml to make HTML files named index.html in directories"
23
+ @echo " singlehtml to make a single large HTML file"
24
+ @echo " pickle to make pickle files"
25
+ @echo " json to make JSON files"
26
+ @echo " htmlhelp to make HTML files and a HTML help project"
27
+ @echo " qthelp to make HTML files and a qthelp project"
28
+ @echo " devhelp to make HTML files and a Devhelp project"
29
+ @echo " epub to make an epub"
30
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
31
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
32
+ @echo " text to make text files"
33
+ @echo " man to make manual pages"
34
+ @echo " texinfo to make Texinfo files"
35
+ @echo " info to make Texinfo files and run them through makeinfo"
36
+ @echo " gettext to make PO message catalogs"
37
+ @echo " changes to make an overview of all changed/added/deprecated items"
38
+ @echo " linkcheck to check all external links for integrity"
39
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
40
+
41
+ clean:
42
+ -rm -rf $(BUILDDIR)/*
43
+
44
+ html:
45
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
46
+ @echo
47
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
48
+
49
+ dirhtml:
50
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
51
+ @echo
52
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
53
+
54
+ singlehtml:
55
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
56
+ @echo
57
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
58
+
59
+ pickle:
60
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
61
+ @echo
62
+ @echo "Build finished; now you can process the pickle files."
63
+
64
+ json:
65
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
66
+ @echo
67
+ @echo "Build finished; now you can process the JSON files."
68
+
69
+ htmlhelp:
70
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
71
+ @echo
72
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
73
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
74
+
75
+ qthelp:
76
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
77
+ @echo
78
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
79
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
80
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/packaging.qhcp"
81
+ @echo "To view the help file:"
82
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/packaging.qhc"
83
+
84
+ devhelp:
85
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
86
+ @echo
87
+ @echo "Build finished."
88
+ @echo "To view the help file:"
89
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/packaging"
90
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/packaging"
91
+ @echo "# devhelp"
92
+
93
+ epub:
94
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
95
+ @echo
96
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
97
+
98
+ latex:
99
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
100
+ @echo
101
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
102
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
103
+ "(use \`make latexpdf' here to do that automatically)."
104
+
105
+ latexpdf:
106
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
107
+ @echo "Running LaTeX files through pdflatex..."
108
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
109
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
110
+
111
+ text:
112
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
113
+ @echo
114
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
115
+
116
+ man:
117
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
118
+ @echo
119
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
120
+
121
+ texinfo:
122
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
123
+ @echo
124
+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
125
+ @echo "Run \`make' in that directory to run these through makeinfo" \
126
+ "(use \`make info' here to do that automatically)."
127
+
128
+ info:
129
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
130
+ @echo "Running Texinfo files through makeinfo..."
131
+ make -C $(BUILDDIR)/texinfo info
132
+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
133
+
134
+ gettext:
135
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
136
+ @echo
137
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
138
+
139
+ changes:
140
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
141
+ @echo
142
+ @echo "The overview file is in $(BUILDDIR)/changes."
143
+
144
+ linkcheck:
145
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
146
+ @echo
147
+ @echo "Link check complete; look for any errors in the above output " \
148
+ "or in $(BUILDDIR)/linkcheck/output.txt."
149
+
150
+ doctest:
151
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
152
+ @echo "Testing of doctests in the sources finished, look at the " \
153
+ "results in $(BUILDDIR)/doctest/output.txt."
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/changelog.rst ADDED
@@ -0,0 +1 @@
 
 
1
+ .. include:: ../CHANGELOG.rst
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/conf.py ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is dual licensed under the terms of the Apache License, Version
2
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
+ # for complete details.
4
+
5
+ import os
6
+
7
+ # -- Project information loading ----------------------------------------------
8
+
9
+ ABOUT = {}
10
+ _BASE_DIR = os.path.join(os.path.dirname(__file__), os.pardir)
11
+ with open(os.path.join(_BASE_DIR, "src", "packaging", "__init__.py")) as f:
12
+ exec(f.read(), ABOUT)
13
+
14
+ # -- General configuration ----------------------------------------------------
15
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
16
+
17
+ # Add any Sphinx extension module names here, as strings. They can be
18
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
19
+ extensions = [
20
+ "sphinx.ext.autodoc",
21
+ "sphinx.ext.doctest",
22
+ "sphinx.ext.extlinks",
23
+ "sphinx.ext.intersphinx",
24
+ ]
25
+
26
+ # General information about the project.
27
+ project = "Packaging"
28
+ version = ABOUT["__version__"]
29
+ release = ABOUT["__version__"]
30
+ copyright = ABOUT["__copyright__"]
31
+
32
+ # -- Options for HTML output --------------------------------------------------
33
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
34
+
35
+ # The theme to use for HTML and HTML Help pages. See the documentation for
36
+ # a list of builtin themes.
37
+
38
+ html_theme = "furo"
39
+ html_title = project
40
+
41
+ html_theme_options = {
42
+ "source_repository": "https://github.com/pypa/packaging",
43
+ "source_branch": "main",
44
+ "source_directory": "docs/",
45
+ "footer_icons": [
46
+ {
47
+ "name": "GitHub",
48
+ "url": "https://github.com/pypa/packaging",
49
+ "html": """
50
+ <svg stroke="currentColor" fill="currentColor" stroke-width="0"
51
+ viewBox="0 0 16 16">
52
+ <path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54
53
+ 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
54
+ 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01
55
+ 1.08.58 1.23.82.72 1.21 1.87.87
56
+ 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95
57
+ 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21
58
+ 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04
59
+ 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82
60
+ 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0
61
+ 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0
62
+ 16 8c0-4.42-3.58-8-8-8z"></path>
63
+ </svg>
64
+ """,
65
+ "class": "",
66
+ },
67
+ ],
68
+ }
69
+ html_copy_source = False
70
+ html_show_sourcelink = False
71
+
72
+ # -- Options for autodoc ----------------------------------------------------
73
+ # https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#configuration
74
+
75
+ autodoc_member_order = "bysource"
76
+ autodoc_preserve_defaults = True
77
+ autodoc_default_options = {
78
+ "exclude-members": "__weakref__",
79
+ }
80
+
81
+ # Allow the signature to be overridden
82
+ autodoc_docstring_signature = True
83
+
84
+ # Automatically extract typehints when specified and place them in
85
+ # descriptions of the relevant function/method.
86
+ autodoc_typehints = "description"
87
+
88
+ # Don't show class signature with the class' name.
89
+ autodoc_class_signature = "separated"
90
+
91
+ # Rewrite bare ``Path`` in rendered annotations to the stdlib target so
92
+ # intersphinx resolves it (annotations are strings under
93
+ # ``from __future__ import annotations``).
94
+ autodoc_type_aliases = {
95
+ "Path": "pathlib.Path",
96
+ }
97
+
98
+ # -- Options for extlinks -----------------------------------------------------
99
+ # https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#configuration
100
+
101
+ extlinks = {
102
+ "issue": ("https://github.com/pypa/packaging/issues/%s", "#%s"),
103
+ "pull": ("https://github.com/pypa/packaging/pull/%s", "PR #%s"),
104
+ }
105
+
106
+ # -- Options for intersphinx ----------------------------------------------------------
107
+ # https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#configuration
108
+
109
+ intersphinx_mapping = {
110
+ "python": ("https://docs.python.org/3/", None),
111
+ "pypug": ("https://packaging.python.org/", None),
112
+ }
113
+
114
+ # -- Options for nitpicky mode ------------------------------------------------
115
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-nitpick_ignore
116
+
117
+ # Built with ``-n`` so unresolved cross-references fail the build. These
118
+ # targets have no documentation page on purpose, so they are allowed to
119
+ # stay unresolved: private internal types, and TypeVars / type aliases the
120
+ # Python domain cannot resolve as classes.
121
+ nitpick_ignore = [
122
+ ("py:class", "packaging.version._BaseVersion"),
123
+ ("py:class", "_Validator"),
124
+ ("py:class", "_MetadataVersion"),
125
+ ("py:class", "_VersionReplace"),
126
+ ("py:class", "T"),
127
+ ("py:class", "_T"),
128
+ ("py:class", "packaging.specifiers.T"),
129
+ ("py:class", "UnparsedVersion"),
130
+ ("py:class", "UnparsedVersionVar"),
131
+ ]
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/dependency_groups.rst ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Dependency Groups
2
+ =================
3
+
4
+ .. currentmodule:: packaging.dependency_groups
5
+
6
+ Package data as defined in ``pyproject.toml`` may include lists of dependencies
7
+ in named groups. This is described by the
8
+ :ref:`dependency groups specification <pypug:dependency-groups>`, which defines
9
+ the ``[dependency-groups]`` table.
10
+
11
+ This module provides tools for resolving group names to lists of requirements,
12
+ most notably expanding ``include-group`` directives.
13
+
14
+ .. versionadded:: 26.1
15
+
16
+ Usage
17
+ -----
18
+
19
+ Two primary interfaces are offered. An object-based one which caches results and
20
+ provides ``Requirements`` as its results:
21
+
22
+ .. doctest::
23
+
24
+ >>> from packaging.dependency_groups import DependencyGroupResolver
25
+ >>> coverage = ["coverage"]
26
+ >>> test = ["pytest", {"include-group": "coverage"}]
27
+ >>> # A resolver is defined on a mapping of group names to group data, as
28
+ >>> # you might get by loading the [dependency-groups] TOML table.
29
+ >>> resolver = DependencyGroupResolver({"test": test, "coverage": coverage})
30
+ >>> # resolvers support expanding group names to Requirements
31
+ >>> resolver.resolve("coverage")
32
+ (<Requirement('coverage')>,)
33
+ >>> resolver.resolve("test")
34
+ (<Requirement('pytest')>, <Requirement('coverage')>)
35
+ >>> # resolvers can also be used to lookup the dependency groups without
36
+ >>> # expanding includes
37
+ >>> resolver.lookup("test")
38
+ (<Requirement('pytest')>, DependencyGroupInclude('coverage'))
39
+
40
+ And a simpler functional interface which responds with strings:
41
+
42
+ .. doctest::
43
+
44
+ >>> from packaging.dependency_groups import resolve_dependency_groups
45
+ >>> coverage = ["coverage"]
46
+ >>> test = ["pytest", {"include-group": "coverage"}]
47
+ >>> groups = {"test": test, "coverage": coverage}
48
+ >>> resolve_dependency_groups(groups, "test")
49
+ ('pytest', 'coverage')
50
+
51
+ Reference
52
+ ---------
53
+
54
+ Functional Interface
55
+ ''''''''''''''''''''
56
+
57
+ .. autofunction:: resolve_dependency_groups
58
+
59
+
60
+ Object Model Interface
61
+ ''''''''''''''''''''''
62
+
63
+ .. autoclass:: DependencyGroupInclude
64
+ :members:
65
+
66
+ .. autoclass:: DependencyGroupResolver
67
+ :members:
68
+
69
+ Exceptions
70
+ ''''''''''
71
+
72
+ .. autoclass:: DuplicateGroupNames
73
+ :members:
74
+
75
+ .. autoclass:: CyclicDependencyGroup
76
+ :members:
77
+
78
+ .. autoclass:: InvalidDependencyGroupObject
79
+ :members:
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/getting-started.rst ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Getting started
2
+ ===============
3
+
4
+ Working on packaging requires the installation of a small number of
5
+ development dependencies. To see what dependencies are required to
6
+ run the tests manually, please look at the ``noxfile.py`` file.
7
+
8
+ Running tests
9
+ ~~~~~~~~~~~~~
10
+
11
+ The packaging unit tests are found in the ``tests/`` directory and are
12
+ designed to be run using `pytest`_. `pytest`_ will discover the tests
13
+ automatically, so all you have to do is:
14
+
15
+ .. code-block:: console
16
+
17
+ $ python -m pytest
18
+ ...
19
+ 29204 passed, 4 skipped, 1 xfailed in 83.98 seconds
20
+
21
+ This runs the tests with the default Python interpreter. This also allows
22
+ you to run select tests instead of the entire test suite.
23
+
24
+ You can also verify that the tests pass on other supported Python interpreters.
25
+ For this we use `nox`_, which will automatically create a `virtualenv`_ for
26
+ each supported Python version and run the tests. For example:
27
+
28
+ .. code-block:: console
29
+
30
+ $ nox -s tests
31
+ ...
32
+ nox > Ran multiple sessions:
33
+ nox > * tests-3.9: success
34
+ nox > * tests-3.10: success
35
+ nox > * tests-3.11: success
36
+ nox > * tests-3.12: success
37
+ nox > * tests-3.13: success
38
+ nox > * tests-3.14: success
39
+ nox > * tests-3.15: success
40
+ nox > * tests-3.13t: success
41
+ nox > * tests-3.14t: success
42
+ nox > * tests-3.15t: success
43
+ nox > * tests-pypy3.9: skipped
44
+ nox > * tests-pypy3.10: skipped
45
+ nox > * tests-pypy3.11: skipped
46
+
47
+ You may not have all the required Python versions installed, in which case you
48
+ will see one or more ``InterpreterNotFound`` errors.
49
+
50
+ Running property-based tests
51
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52
+
53
+ The tests under ``tests/property/`` use `Hypothesis`_ and are gated by the
54
+ ``property`` pytest marker. They are excluded from the default ``pytest``
55
+ run (and from ``nox -s tests``) so that downstream packagers and CI stay
56
+ fast. To run them explicitly:
57
+
58
+ .. code-block:: console
59
+
60
+ $ python -m pytest -m property
61
+
62
+ Or via `nox`_:
63
+
64
+ .. code-block:: console
65
+
66
+ $ nox -s property_tests
67
+
68
+ Running linters
69
+ ~~~~~~~~~~~~~~~
70
+
71
+ If you wish to run the linting rules, you may use `pre-commit`_ or run
72
+ ``nox -s lint``.
73
+
74
+ .. code-block:: console
75
+
76
+ $ nox -s lint
77
+ ...
78
+ nox > Session lint was successful.
79
+
80
+ Building documentation
81
+ ~~~~~~~~~~~~~~~~~~~~~~
82
+
83
+ packaging documentation is stored in the ``docs/`` directory. It is
84
+ written in `reStructured Text`_ and rendered using `Sphinx`_.
85
+
86
+ Use `nox`_ to build the documentation. For example:
87
+
88
+ .. code-block:: console
89
+
90
+ $ nox -s docs
91
+ ...
92
+ nox > Session docs was successful.
93
+
94
+ The HTML documentation index can now be found at
95
+ ``docs/_build/html/index.html``.
96
+
97
+ .. _`pytest`: https://pypi.org/project/pytest/
98
+ .. _`nox`: https://pypi.org/project/nox/
99
+ .. _`virtualenv`: https://pypi.org/project/virtualenv/
100
+ .. _`pip`: https://pypi.org/project/pip/
101
+ .. _`sphinx`: https://pypi.org/project/Sphinx/
102
+ .. _`reStructured Text`: https://www.sphinx-doc.org/en/master/usage/restructuredtext/
103
+ .. _`pre-commit`: https://pre-commit.com
104
+ .. _`Hypothesis`: https://pypi.org/project/hypothesis/
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/index.rst ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Development
2
+ ===========
3
+
4
+ As an open source project, packaging welcomes contributions of all
5
+ forms. The sections below will help you get started.
6
+
7
+ File bugs and feature requests on our issue tracker on `GitHub`_. If it is a
8
+ bug check out `what to put in your bug report`_.
9
+
10
+ .. toctree::
11
+ :maxdepth: 2
12
+
13
+ getting-started
14
+ submitting-patches
15
+ reviewing-patches
16
+ release-process
17
+
18
+ .. _`GitHub`: https://github.com/pypa/packaging
19
+ .. _`what to put in your bug report`: https://www.contribution-guide.org/#what-to-put-in-your-bug-report
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/release-process.rst ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Release Process
2
+ ===============
3
+
4
+ #. Checkout the current ``main`` branch.
5
+
6
+ #. Install the latest ``nox``::
7
+
8
+ $ pip install nox
9
+
10
+ #. Manually update the changelog to list all unreleased changes. Also verify
11
+ that no new changes were added to a previous release in an earlier PR due to
12
+ merge/rebase issues. You can get started with this::
13
+
14
+ $ gh api repos/pypa/packaging/releases/generate-notes \
15
+ -f tag_name=YY.N \
16
+ -f previous_tag_name=YY.(N-1) \
17
+ --jq .body
18
+
19
+ #. Run the release automation with the required version number (YY.N)::
20
+
21
+ $ nox -s release -- YY.N
22
+
23
+ This creates a new tag for the release. It will tell you how to push the tag.
24
+
25
+ #. Push the tag (command will be printed out in the last step).
26
+
27
+ #. Run the 'Publish' manual GitHub workflow, specifying the Git tag's commit
28
+ SHA. This will build and publish the package to PyPI. Publishing will wait
29
+ for any `required approvals`_.
30
+
31
+ #. Once it is approved and published to PyPI, add a
32
+ `release on GitHub <https://github.com/pypa/packaging/releases>`__.
33
+ Changelog can be auto-generated, but compare with the official changelog
34
+ too.
35
+
36
+ .. note::
37
+
38
+ Access that is needed for making the release are:
39
+
40
+ - PyPI maintainer (or owner) access to ``packaging``
41
+ - push directly to the ``main`` branch on the source repository
42
+ - push tags directly to the source repository
43
+
44
+ .. _required approvals: https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/reviewing-deployments#approving-or-rejecting-a-job
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/reviewing-patches.rst ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Reviewing and merging patches
2
+ =============================
3
+
4
+ Everyone is encouraged to review open pull requests. We only ask that you try
5
+ and think carefully, ask questions and are `excellent to one another`_. Code
6
+ review is our opportunity to share knowledge, design ideas and make friends.
7
+
8
+ When reviewing a patch try to keep each of these concepts in mind:
9
+
10
+ Architecture
11
+ ------------
12
+
13
+ * Is the proposed change being made in the correct place?
14
+
15
+ Intent
16
+ ------
17
+
18
+ * What is the change being proposed?
19
+ * Do we want this feature or is the bug they're fixing really a bug?
20
+
21
+ Implementation
22
+ --------------
23
+
24
+ * Does the change do what the author claims?
25
+ * Are there sufficient tests?
26
+ * Has it been documented?
27
+ * Will this change introduce new bugs?
28
+
29
+ Grammar and style
30
+ -----------------
31
+
32
+ These are small things that are not caught by the automated style checkers.
33
+
34
+ * Does a variable need a better name?
35
+ * Should this be a keyword argument?
36
+
37
+ .. _`excellent to one another`: https://speakerdeck.com/ohrite/better-code-review
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/development/submitting-patches.rst ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Submitting patches
2
+ ==================
3
+
4
+ * Always make a new branch for your work.
5
+ * Patches should be small to facilitate easier review. `Studies have shown`_
6
+ that review quality falls off as patch size grows. Sometimes this will result
7
+ in many small PRs to land a single large feature.
8
+ * Larger changes should be discussed in a ticket before submission.
9
+ * New features and significant bug fixes should be documented in the
10
+ :doc:`/changelog`.
11
+ * You must have legal permission to distribute any code you contribute and it
12
+ must be available under both the BSD and Apache Software License Version 2.0
13
+ licenses.
14
+
15
+ If you believe you've identified a security issue in packaging, please
16
+ follow the directions on the :doc:`security page </security>`.
17
+
18
+ Code
19
+ ----
20
+
21
+ This project's source is auto-formatted with |ruff|. You can check if your
22
+ code meets our requirements by running our linters against it with ``nox -s
23
+ lint`` or ``pre-commit run --all-files``.
24
+
25
+ `Write comments as complete sentences.`_
26
+
27
+ Every code file must start with the boilerplate licensing notice:
28
+
29
+ .. code-block:: python
30
+
31
+ # This file is dual licensed under the terms of the Apache License, Version
32
+ # 2.0, and the BSD License. See the LICENSE file in the root of this repository
33
+ # for complete details.
34
+
35
+ Tests
36
+ -----
37
+
38
+ All code changes must be accompanied by unit tests with 100% code coverage (as
39
+ measured by the combined metrics across our build matrix).
40
+
41
+
42
+ Documentation
43
+ -------------
44
+
45
+ All features should be documented with prose in the ``docs`` section.
46
+
47
+ When referring to a hypothetical individual (such as "a person receiving an
48
+ encrypted message") use gender neutral pronouns (they/them/their).
49
+
50
+ Docstrings are typically only used when writing abstract classes, but should
51
+ be written like this if required:
52
+
53
+ .. code-block:: python
54
+
55
+ def some_function(some_arg):
56
+ """
57
+ Does some things.
58
+
59
+ :param some_arg: Some argument.
60
+ """
61
+
62
+ So, specifically:
63
+
64
+ * Always use three double quotes.
65
+ * Put the three double quotes on their own line.
66
+ * No blank line at the end.
67
+ * Use Sphinx parameter/attribute documentation `syntax`_.
68
+
69
+
70
+ .. |ruff| replace:: ``ruff``
71
+ .. _ruff: https://astral.sh/ruff
72
+ .. _`Write comments as complete sentences.`: https://nedbatchelder.com/blog/201401/comments_should_be_sentences.html
73
+ .. _`syntax`: https://www.sphinx-doc.org/en/master/usage/restructuredtext/field-lists.html
74
+ .. _`Studies have shown`: https://www.microsoft.com/en-us/research/publication/characteristics-of-useful-code-reviews-an-empirical-study-at-microsoft/
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/direct_url.rst ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Direct URLs
2
+ ===========
3
+
4
+ .. currentmodule:: packaging.direct_url
5
+
6
+ Parse and validate `direct_url.json files <https://packaging.python.org/en/latest/specifications/direct-url/>`_.
7
+
8
+ .. versionadded:: 26.1
9
+
10
+ Usage
11
+ -----
12
+
13
+ .. code-block:: python
14
+
15
+ import json
16
+ from pathlib import Path
17
+
18
+ from packaging.direct_url import ArchiveInfo, DirectUrl, DirInfo, VcsInfo
19
+
20
+ # A VCS direct URL
21
+ vcs_direct_url = DirectUrl(
22
+ url="https://git.example.com/repo.git",
23
+ vcs_info=VcsInfo(
24
+ vcs="git",
25
+ commit_id="2df7bdd8dfef7b879390b9fc4016f02af2f118d4",
26
+ requested_revision="1.1.0",
27
+ ),
28
+ )
29
+
30
+ # An archive direct URL
31
+ archive_direct_url = DirectUrl(
32
+ url="https://example.com/archive.tar.gz",
33
+ archive_info=ArchiveInfo(
34
+ hashes={
35
+ "sha256": "dc321a1c18a37b5438424ef3714524229dab5f4f78b297671359426fef51be6c"
36
+ }
37
+ ),
38
+ )
39
+
40
+ # A local editable direct URL
41
+ archive_direct_url = DirectUrl(
42
+ url="file:///home/project/example",
43
+ dir_info=DirInfo(
44
+ editable=True,
45
+ ),
46
+ )
47
+
48
+ # Serialization to JSON
49
+ Path("/tmp/direct_url.json").write_text(
50
+ json.dumps(vcs_direct_url.to_dict()), encoding="utf-8"
51
+ )
52
+
53
+ # Load from JSON. The resulting DirectUrl object is validated against the
54
+ # specification, else a DirectUrlValidationError is raised
55
+ direct_url = DirectUrl.from_dict(
56
+ json.loads(Path("/tmp/direct_url.json").read_text(encoding="utf-8"))
57
+ )
58
+
59
+ # You can validate a manually constructed DirectUrl class
60
+ vcs_direct_url.validate()
61
+
62
+
63
+ Reference
64
+ ---------
65
+
66
+ .. autoclass:: DirectUrl
67
+ :members: from_dict, to_dict, validate
68
+ :exclude-members: __init__, __new__
69
+
70
+ .. autoclass:: ArchiveInfo
71
+ :members:
72
+ :undoc-members:
73
+ :exclude-members: __init__, __new__
74
+
75
+ .. autoclass:: DirInfo
76
+ :members:
77
+ :undoc-members:
78
+ :exclude-members: __init__, __new__
79
+
80
+ .. autoclass:: VcsInfo
81
+ :members:
82
+ :undoc-members:
83
+ :exclude-members: __init__, __new__
84
+
85
+ The following exception may be raised by this module:
86
+
87
+ .. autoexception:: DirectUrlValidationError
88
+ :exclude-members: __init__, __new__
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/errors.rst ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Errors
2
+ ======
3
+
4
+ Error classes and error-handling helpers used by the packaging library.
5
+
6
+ Currently this contains :class:`~packaging.errors.ExceptionGroup`, a simple
7
+ backport of the stdlib :external:exc:`ExceptionGroup`. It is recommended to use
8
+ the stdlib module on Python 3.11+, but this does reexport that as well.
9
+
10
+ .. versionadded:: 26.1
11
+
12
+ Recommended Usage
13
+ -----------------
14
+
15
+
16
+ .. code-block:: python
17
+
18
+ import sys
19
+
20
+ if sys.version_info < (3, 11):
21
+ from packaging.errors import ExceptionGroup
22
+
23
+ try:
24
+ ...
25
+ except ExceptionGroup as err:
26
+ for error in err.exceptions:
27
+ ...
28
+
29
+
30
+ Reference
31
+ ---------
32
+
33
+ .. This has to be listed here so building it on newer Python keeps the docs
34
+
35
+ .. py:class:: packaging.errors.ExceptionGroup(message: str, exceptions: list[Exception])
36
+
37
+ On older Pythons, this is a small fallback implementation of the
38
+ :external:exc:`ExceptionGroup` introduced in Python 3.11.
39
+
40
+ :param message: The message for the group.
41
+ :param exceptions: A list of exceptions contained in the group.
42
+
43
+ Attributes
44
+ ----------
45
+
46
+ message (str)
47
+ The message passed to the group.
48
+
49
+ exceptions (list[Exception])
50
+ The exceptions contained in the group.
51
+
52
+
53
+ .. automodule:: packaging.errors
54
+ :members:
55
+ :exclude-members: ExceptionGroup
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/index.rst ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Welcome to packaging
2
+ ====================
3
+
4
+ .. include:: ../README.rst
5
+ :start-after: start-intro
6
+ :end-before: end-intro
7
+
8
+
9
+ Installation
10
+ ------------
11
+
12
+ You can install packaging with ``pip``:
13
+
14
+ .. code-block:: console
15
+
16
+ $ pip install packaging
17
+
18
+ The ``packaging`` library uses calendar-based versioning (``YY.N``).
19
+
20
+
21
+ .. toctree::
22
+ :maxdepth: 1
23
+ :caption: API Documentation
24
+ :hidden:
25
+
26
+ version
27
+ specifiers
28
+ ranges
29
+ markers
30
+ licenses
31
+ requirements
32
+ metadata
33
+ tags
34
+ pylock
35
+ direct_url
36
+ dependency_groups
37
+ errors
38
+ utils
39
+
40
+ .. toctree::
41
+ :maxdepth: 2
42
+ :caption: Project
43
+ :hidden:
44
+
45
+ development/index
46
+ security
47
+ changelog
tasks/swe-next-001cfe3eecfafbd157e8/environment/source/docs/licenses.rst ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Licenses
2
+ =========
3
+
4
+ .. currentmodule:: packaging.licenses
5
+
6
+
7
+ Helper for canonicalizing SPDX
8
+ `License-Expression metadata <https://peps.python.org/pep-0639/#term-license-expression>`__
9
+ as `defined in PEP 639 <https://peps.python.org/pep-0639/#spdx>`__.
10
+
11
+ .. versionadded:: 24.2
12
+
13
+
14
+ Reference
15
+ ---------
16
+
17
+ .. automodule:: packaging.licenses
18
+ :members: