Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3270c9a

Browse files
committedAug 7, 2024·
Various small improvements.
* Remove encoding comment * Enable newer Python versions for CI * Advertise newer Python versions
1 parent 20c1854 commit 3270c9a

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed
 

‎.github/workflows/build.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, windows-latest]
11-
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
11+
python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, pypy3]
1212
max-parallel: 4
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install py.test
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install pytest
2424
- name: Test package
25-
run: py.test
25+
run: pytest

‎setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
'Programming Language :: Python :: 3.7',
3636
'Programming Language :: Python :: 3.8',
3737
'Programming Language :: Python :: 3.9',
38+
'Programming Language :: Python :: 3.10',
39+
'Programming Language :: Python :: 3.11',
40+
'Programming Language :: Python :: 3.12'
3841
'Topic :: Software Development :: Libraries :: Python Modules',
3942

4043
]

‎sjson/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Module to parse SJSON files."""
2-
# coding=utf8
32
# @author: Matthäus G. Chajdas
43
# @license: 3-clause BSD
54

‎sjson/test/test_sjson.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding=utf8
21
# @author: Matthäus G. Chajdas
32
# @license: 3-clause BSD
43

‎tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[tox]
2-
envlist=py36,py37,py38,py39
2+
envlist=py38,py39,py310,py311,py312
33

44
[testenv]
55
deps=
66
pytest
77
commands=
8-
py.test sjson
8+
pytest sjson
99

1010
[testenv:cov]
1111
deps=
1212
pytest
1313
pytest-cov
1414
coverage
1515
commands=
16-
py.test --cov=sjson sjson
16+
pytest --cov=sjson sjson
1717
coverage html

0 commit comments

Comments
 (0)
Please sign in to comment.