-
Notifications
You must be signed in to change notification settings - Fork 12
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 #61 from guyskk/feat-py310
Support Python 3.10 ~ 3.12
- Loading branch information
Showing
22 changed files
with
564 additions
and
406 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,35 @@ | ||
name: Build-Test | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
PIP_DISABLE_PIP_VERSION_CHECK: "1" | ||
strategy: | ||
matrix: | ||
python-version: | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
- "pypy3.9" | ||
- "pypy3.10" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Display Python version | ||
run: python -VV && pip --version | ||
- name: Bootstrap requirements | ||
run: ./bootstrap.sh | ||
- name: Run test | ||
run: inv test | ||
- name: Run e2e-test | ||
run: inv e2e-test | ||
- name: Run benchmark | ||
run: inv benchmark | ||
- uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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,13 @@ | ||
name: Pre-Commit | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
PIP_DISABLE_PIP_VERSION_CHECK: "1" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install pre-commit | ||
run: ./pre-commit-install.sh | ||
- name: Run pre-commit | ||
run: .pre-commit/bin/pre-commit run --verbose --all-files |
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 |
---|---|---|
|
@@ -138,4 +138,6 @@ ENV/ | |
.mypy_cache/ | ||
|
||
# editor | ||
.vscode | ||
.vscode/ | ||
|
||
.pre-commit/ |
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,4 @@ | ||
[settings] | ||
multi_line_output=VERTICAL_HANGING_INDENT | ||
include_trailing_comma=true | ||
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER |
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 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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
pip install 'pip>=19.1.1' | ||
pip install 'py>=1.8.0' # work around pytest requirement | ||
pip install 'cython>=0.25.2' | ||
VALIDR_SETUP_MODE=dist pip install -e '.[dev,benchmark]' -r requirements.txt | ||
|
||
pre-commit install | ||
pip install 'pip>=22.3.1' 'wheel>=0.38.4' | ||
pip install -r requirements.txt | ||
pip list | ||
VALIDR_SETUP_MODE=dist pip install --no-build-isolation -e . |
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,7 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
python -m venv .pre-commit/ | ||
.pre-commit/bin/pip install 'pre-commit==3.6.0' | ||
.pre-commit/bin/pre-commit install | ||
.pre-commit/bin/pre-commit install-hooks |
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,57 +1,60 @@ | ||
appdirs==1.4.3 | ||
aspy.yaml==1.3.0 | ||
attrs==19.3.0 | ||
autopep8==1.5 | ||
bleach==3.3.0 | ||
autopep8==2.0.4 | ||
bleach==6.1.0 | ||
certifi==2019.11.28 | ||
cfgv==2.0.1 | ||
chardet==3.0.4 | ||
charset-normalizer==2.1.1 | ||
Click==7.0 | ||
codecov==2.0.15 | ||
codecov==2.1.13 | ||
contextlib2==0.5.5 | ||
coverage==5.0.3 | ||
Cython==0.29.15 | ||
distlib==0.3.0 | ||
coverage==7.3.2 | ||
Cython==3.0.6 | ||
distlib==0.3.8 | ||
docutils==0.16 | ||
entrypoints==0.3 | ||
exceptiongroup==1.2.0 | ||
filelock==3.0.12 | ||
flake8==3.7.9 | ||
identify==1.4.11 | ||
flake8==6.1.0 | ||
idna==2.8 | ||
importlib-metadata==1.5.0 | ||
importlib-metadata==7.0.0 | ||
importlib-resources==1.0.2 | ||
invoke==1.4.1 | ||
iniconfig==2.0.0 | ||
invoke==2.2.0 | ||
isort==5.13.1 | ||
jaraco.classes==3.3.0 | ||
jsonschema==3.2.0 | ||
mccabe==0.6.1 | ||
keyring==24.3.0 | ||
markdown-it-py==3.0.0 | ||
mccabe==0.7.0 | ||
mdurl==0.1.2 | ||
more-itertools==8.2.0 | ||
nodeenv==1.3.5 | ||
nh3==0.2.15 | ||
packaging==20.1 | ||
pathlib2==2.3.5 | ||
pkginfo==1.5.0.1 | ||
pkginfo==1.9.6 | ||
pluggy==0.13.1 | ||
pre-commit==1.21.0 | ||
py==1.10.0 | ||
pycodestyle==2.5.0 | ||
pyflakes==2.1.1 | ||
Pygments==2.7.4 | ||
pyparsing==2.4.6 | ||
py==1.11.0 | ||
pycodestyle==2.11.1 | ||
pyflakes==3.1.0 | ||
Pygments==2.17.2 | ||
pyparsing==3.1.1 | ||
pyrsistent==0.15.7 | ||
pytest==5.3.5 | ||
pytest-cov==2.8.1 | ||
PyYAML==5.4 | ||
readme-renderer==24.0 | ||
requests==2.22.0 | ||
requests-toolbelt==0.9.1 | ||
pytest==7.4.3 | ||
pytest-cov==4.1.0 | ||
readme-renderer==42.0 | ||
requests==2.31.0 | ||
requests-toolbelt==1.0.0 | ||
rfc3986==2.0.0 | ||
rich==13.7.0 | ||
schema==0.7.1 | ||
schematics==2.1.0 | ||
six==1.14.0 | ||
terminaltables==3.1.0 | ||
toml==0.10.0 | ||
schematics==2.1.1 | ||
six==1.16.0 | ||
tomli==2.0.1 | ||
tqdm==4.42.1 | ||
twine==1.15.0 | ||
twine==4.0.2 | ||
urllib3==1.26.5 | ||
virtualenv==20.0.4 | ||
voluptuous==0.11.7 | ||
voluptuous==0.14.1 | ||
wcwidth==0.1.8 | ||
webencodings==0.5.1 | ||
zipp==1.1.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
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
Oops, something went wrong.