-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from torfsen/drop-python2-support
Drop support for Python < 3.7
- Loading branch information
Showing
19 changed files
with
266 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Adapted from the example on https://github.com/tox-dev/tox-gh | ||
|
||
name: test | ||
on: | ||
push: | ||
pull_request: | ||
|
||
concurrency: | ||
group: check-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
name: test with ${{ matrix.py }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
py: | ||
- "3.11" | ||
- "3.10" | ||
- "3.9" | ||
- "3.8" | ||
- "3.7" | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup python for test ${{ matrix.py }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.py }} | ||
- name: Install dependencies | ||
run: python -m pip install -r requirements-tox.txt tox-gh==1.2 | ||
- name: Setup test suite | ||
run: tox -vv --notest | ||
- name: Run test suite | ||
run: tox --skip-pkg-install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
/build/ | ||
/README.html | ||
/CHANGELOG.html | ||
/.python-version | ||
|
||
*.egg-info/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PHONY: requirements | ||
|
||
requirements-dev.txt: | ||
pip-compile -q requirements-dev.in | ||
|
||
requirements-test.txt: | ||
pip-compile -q requirements-test.in | ||
|
||
requirements-tox.txt: | ||
pip-compile -q requirements-tox.in | ||
|
||
requirements: requirements-dev.txt requirements-test.txt requirements-tox.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-r requirements-tox.in | ||
pip-tools==6.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.7 | ||
# by the following command: | ||
# | ||
# pip-compile requirements-dev.in | ||
# | ||
build==0.10.0 | ||
# via pip-tools | ||
cachetools==5.3.1 | ||
# via tox | ||
chardet==5.1.0 | ||
# via tox | ||
click==8.1.6 | ||
# via pip-tools | ||
colorama==0.4.6 | ||
# via tox | ||
distlib==0.3.7 | ||
# via virtualenv | ||
filelock==3.12.2 | ||
# via | ||
# tox | ||
# virtualenv | ||
importlib-metadata==6.7.0 | ||
# via | ||
# build | ||
# click | ||
# pluggy | ||
# tox | ||
# virtualenv | ||
packaging==23.1 | ||
# via | ||
# build | ||
# pyproject-api | ||
# tox | ||
pip-tools==6.14.0 | ||
# via -r requirements-dev.in | ||
platformdirs==3.9.1 | ||
# via | ||
# tox | ||
# virtualenv | ||
pluggy==1.2.0 | ||
# via tox | ||
pyproject-api==1.5.3 | ||
# via tox | ||
pyproject-hooks==1.0.0 | ||
# via build | ||
tomli==2.0.1 | ||
# via | ||
# build | ||
# pip-tools | ||
# pyproject-api | ||
# tox | ||
tox==4.6.4 | ||
# via -r requirements-dev.in | ||
typing-extensions==4.7.1 | ||
# via | ||
# importlib-metadata | ||
# platformdirs | ||
# tox | ||
virtualenv==20.24.2 | ||
# via tox | ||
wheel==0.41.0 | ||
# via pip-tools | ||
zipp==3.15.0 | ||
# via importlib-metadata | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# pip | ||
# setuptools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pytest==7.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.7 | ||
# by the following command: | ||
# | ||
# pip-compile requirements-test.in | ||
# | ||
exceptiongroup==1.1.2 | ||
# via pytest | ||
importlib-metadata==6.7.0 | ||
# via | ||
# pluggy | ||
# pytest | ||
iniconfig==2.0.0 | ||
# via pytest | ||
packaging==23.1 | ||
# via pytest | ||
pluggy==1.2.0 | ||
# via pytest | ||
pytest==7.4.0 | ||
# via -r requirements-test.in | ||
tomli==2.0.1 | ||
# via pytest | ||
typing-extensions==4.7.1 | ||
# via importlib-metadata | ||
zipp==3.15.0 | ||
# via importlib-metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pip-tools==6.14.0 | ||
tox==4.6.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.7 | ||
# by the following command: | ||
# | ||
# pip-compile requirements-tox.in | ||
# | ||
build==0.10.0 | ||
# via pip-tools | ||
cachetools==5.3.1 | ||
# via tox | ||
chardet==5.1.0 | ||
# via tox | ||
click==8.1.6 | ||
# via pip-tools | ||
colorama==0.4.6 | ||
# via tox | ||
distlib==0.3.7 | ||
# via virtualenv | ||
filelock==3.12.2 | ||
# via | ||
# tox | ||
# virtualenv | ||
importlib-metadata==6.7.0 | ||
# via | ||
# build | ||
# click | ||
# pluggy | ||
# tox | ||
# virtualenv | ||
packaging==23.1 | ||
# via | ||
# build | ||
# pyproject-api | ||
# tox | ||
pip-tools==6.14.0 | ||
# via -r requirements-tox.in | ||
platformdirs==3.9.1 | ||
# via | ||
# tox | ||
# virtualenv | ||
pluggy==1.2.0 | ||
# via tox | ||
pyproject-api==1.5.3 | ||
# via tox | ||
pyproject-hooks==1.0.0 | ||
# via build | ||
tomli==2.0.1 | ||
# via | ||
# build | ||
# pip-tools | ||
# pyproject-api | ||
# tox | ||
tox==4.6.4 | ||
# via -r requirements-tox.in | ||
typing-extensions==4.7.1 | ||
# via | ||
# importlib-metadata | ||
# platformdirs | ||
# tox | ||
virtualenv==20.24.2 | ||
# via tox | ||
wheel==0.41.0 | ||
# via pip-tools | ||
zipp==3.15.0 | ||
# via importlib-metadata | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# pip | ||
# setuptools |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# pip-compile --output-file requirements.txt requirements.in | ||
# | ||
pyparsing==2.2.0 | ||
six==1.10.0 | ||
pyparsing>=3.1.0 |
Oops, something went wrong.