Skip to content

Commit 0f417a7

Browse files
Merge pull request #166 from RonnyPfannschmidt/claude/review-dependencies-versions-01JuDiiU68NQ4j6JdEwSZGF3
Review dependencies and Python versions - experiment with claude code web
2 parents 141dc5e + 8872ef5 commit 0f417a7

23 files changed

+111
-190
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ jobs:
99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [ "3.10", "3.11" , "3.12", "3.13"]
12+
python-version: [ "3.10", "3.11" , "3.12", "3.13", "3.14"]
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
with:
1717
submodules: true
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install -r requirements.txt
25+
pip install --group dev -e .[ssv,osv,icu,cli]
2626
- name: Test with pytest
2727
run: |
2828
pytest -m "not requires_network"
@@ -35,11 +35,11 @@ jobs:
3535
needs: [build]
3636

3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v4
3939
with:
4040
fetch-depth: 0
4141
- name: Set up Python
42-
uses: actions/setup-python@v2
42+
uses: actions/setup-python@v5
4343
with:
4444
python-version: "3.10"
4545
- name: Install Build

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ repos:
55
rev: v3.10.0
66
hooks:
77
- id: reorder-python-imports
8-
args: [--py37-plus]
8+
args: [--py310-plus]
99
- repo: https://github.com/asottile/pyupgrade
1010
rev: v3.7.0
1111
hooks:
1212
- id: pyupgrade
13-
args: [--py37-plus]
13+
args: [--py310-plus]
1414

1515
- repo: https://github.com/psf/black
1616
rev: 23.3.0

CONTRIBUTING.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,24 @@ Fork, then clone the repo:
1414
Use [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/)
1515
to create a virtual environment and change to it or not, as you see fit.
1616

17-
Then install the requirements:
17+
Then install the package in editable mode with all extras and dev dependencies:
1818

1919
```bash
20-
$ pip install -r requirements.txt
20+
$ pip install --group dev -e .[ssv,osv,icu,cli]
21+
```
22+
23+
Alternatively, use the minimal set of dependencies:
24+
25+
```bash
26+
$ pip install --group dev -e .
2127
```
2228

2329
## Documentation
2430

2531
After setup, run the following to generate documentation:
2632

2733
```bash
28-
$ python setup.py build_sphinx
34+
$ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
2935
```
3036

3137
## Development
@@ -69,10 +75,11 @@ Run tests on multiple Python versions:
6975
$ tox
7076
```
7177

72-
Run tests on other Python versions:
78+
Run tests on specific Python versions:
7379

7480
```bash
75-
$ tox -e py34 # e.g.
81+
$ tox -e py310 # Python 3.10
82+
$ tox -e py314 # Python 3.14
7683
```
7784

7885
A simple test coverage report is automatically generated.

appveyor.yml

Lines changed: 0 additions & 90 deletions
This file was deleted.

changelog.d/+build_deps.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update build dependencies: setuptools to >80, setuptools_scm to >9

changelog.d/+ci_dep_group.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use pip --group flag to install dev dependency group in CI

changelog.d/+cleanup.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove obsolete requirements files and appveyor.yml, update docs with modern installation instructions

changelog.d/+core_deps.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update core dependencies: ruamel.yaml to 0.18.16, requests to 2.32.5, packaging to 25.0

changelog.d/+dev_deps.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update dev dependencies: tox to 4.32.0, pytest to 9.0.1, pytest-cov to 7.0.0, sphinx to 8.2.3, towncrier to 25.8.0, click to 8.3.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update GitHub Actions to use latest action versions: checkout@v4, setup-python@v5

0 commit comments

Comments
 (0)