Skip to content

Commit 0d0e087

Browse files
authored
Fix CI (#645)
1 parent de1c3a1 commit 0d0e087

File tree

4 files changed

+17
-25
lines changed

4 files changed

+17
-25
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Python
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: 3.x
28+
python-version: 3.13
2929
cache: pip
3030
cache-dependency-path: |
3131
requirements/*.txt
@@ -66,10 +66,9 @@ jobs:
6666
needs: [lint]
6767
strategy:
6868
matrix:
69-
pyver: ['3.8', '3.9', '3.10', '3.11']
70-
os: [ubuntu, macos, windows]
69+
pyver: ['3.9', '3.10', '3.11', '3.12', '3.13']
7170
fail-fast: false
72-
runs-on: ${{ matrix.os }}-latest
71+
runs-on: ubuntu-latest
7372
timeout-minutes: 15
7473
steps:
7574
- name: Checkout

MANIFEST.in

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,4 @@ graft docs
88
graft tests
99
global-include *.pyi
1010
global-exclude *.pyc
11-
global-exclude *.pyd
12-
global-exclude *.so
13-
global-exclude *.lib
14-
global-exclude *.dll
15-
global-exclude *.a
16-
global-exclude *.obj
17-
exclude aiosignal.html
1811
prune docs/_build

setup.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[bdist_wheel]
2+
universal = True
3+
14
[metadata]
25
name = aiosignal
36
version = attr: aiosignal.__version__
@@ -24,10 +27,6 @@ classifiers =
2427
Programming Language :: Python
2528
Programming Language :: Python :: 3
2629
Programming Language :: Python :: 3 :: Only
27-
Programming Language :: Python :: 3.8
28-
Programming Language :: Python :: 3.9
29-
Programming Language :: Python :: 3.10
30-
Programming Language :: Python :: 3.11
3130

3231
Development Status :: 5 - Production/Stable
3332
Operating System :: POSIX
@@ -36,7 +35,7 @@ classifiers =
3635
Framework :: AsyncIO
3736

3837
[options]
39-
python_requires = >=3.8
38+
python_requires = >=3.9
4039
packages = find:
4140
include_package_data = True
4241

@@ -77,6 +76,7 @@ norecursedirs = dist docs build .tox .eggs
7776
minversion = 3.8.2
7877
testpaths = tests/
7978
asyncio_mode = strict
79+
asyncio_default_fixture_loop_scope = function
8080

8181
[coverage:run]
8282
branch = True

tox.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22

3-
envlist = check, clean, {py38,py39,py310,py311}-{debug,release}, report
3+
envlist = check, clean, {py39,py310,py311,py312,py313}, report
44

55
[testenv]
66

@@ -16,23 +16,23 @@ deps =
1616
commands =
1717
pytest --cov-append {posargs}
1818

19-
setenv =
20-
debug: PYTHONASYNCIODEBUG = 1
21-
2219
[testenv:check]
2320

2421
deps =
2522
wheel
2623
flake8
2724
docutils
2825
pygments
26+
twine
27+
build
2928

3029
commands =
3130
flake8 aiosignal tests
32-
python setup.py check -rms
31+
python -m build
32+
python -m twine check --strict dist/*
3333

3434
basepython:
35-
python3.10
35+
python3.13
3636

3737
[testenv:clean]
3838

@@ -43,7 +43,7 @@ commands =
4343
coverage erase
4444

4545
basepython:
46-
python3.10
46+
python3.13
4747

4848
[testenv:report]
4949

@@ -55,8 +55,8 @@ commands =
5555
coverage html
5656
echo "open file://{toxinidir}/htmlcov/index.html"
5757

58-
whitelist_externals =
58+
allowlist_externals =
5959
echo
6060

6161
basepython:
62-
python3.10
62+
python3.13

0 commit comments

Comments
 (0)