Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ jobs:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pip==20.0.2
pip install pip==25.1.0
pip install -r requirements.txt
python setup.py bdist_wheel
python -m build --wheel
pip install dist/*.whl
- name: Test with pytest
run: |
Expand Down
13 changes: 8 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
wheel==0.38.1
pytest==6.2.5
wheel==0.45.1
pytest==8.4.1
pytest-cov==3.0.0
hypothesis==3.1.0 ; python_version < '3.8'
hypothesis==5.5.4 ; python_version == '3.8'
hypothesis==5.35.4 ; python_version == '3.9'
hypothesis==5.35.4

# Setuptools is no longer provided by default in Python 3.12+
setuptools==71.1.0 ; python_version >= '3.12'
packaging==24.1 ; python_version >= '3.12'
build==1.2.2.post1
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@
scripts=['bin/jp.py'],
packages=find_packages(exclude=['tests']),
license='MIT',
python_requires='>=3.7',
python_requires='>=3.9',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
Expand Down
16 changes: 3 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
[tox]
envlist = py26,py27,py33,py34,py35,py36,py37,pypy
envlist = py39,py310,py311,py312,py313,py314

[testenv]
commands = nosetests
commands = python -m pytest tests
deps =
nose
mock

[testenv:py26]
commands = nosetests
deps =
nose
mock
unittest2
ordereddict
simplejson
pytest