Repository navigation
Commit cdea608
committed
fix(packaging): declare Python 3.14 and guard the classifiers in CI
3.14 already carries 3.11% of PyPI downloads -- 5.7% back in June -- but had
no classifier, so `pip install dashscope` reported no support for an
interpreter a material slice of users are actually on. Adding the classifier
alone would let the same gap reopen at 3.15, so the unit-test job now also
fails when a version carrying >=1% of downloads is undeclared, when the
declared versions have a hole in them, when the matrix tests something
setup.py does not claim, or when the python_requires floor sits above the
lowest classifier.
The guard lives in tests/unit/test_packaging_metadata.py rather than a
separate script and CI job, so it runs on every pull request with nothing
extra to keep in sync; PyYAML is already in requirements-test.txt. Only one
matrix interpreter queries pypistats, because four parallel requests invite a
429 that would skip the very check it is meant to run, and an unreachable
pypistats degrades to a skip rather than a failure -- a rate limit is not a
packaging defect.
scripts/ holds local PyPI investigation tooling that is deliberately not
shipped, so it is ignored.1 parent 1a5049c commit cdea608
47 files changed
Lines changed: 606 additions & 4125 deletions
File tree
- .github/workflows
- dashscope
- acli
- agents
- cli
- memory
- providers
- tools
- utils
- audio/qwen_omni
- cli
- finetune
- reinforcement
- common
- examples/workspace
- tests
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
This file was deleted.
0 commit comments