Skip to content

Commit

Permalink
Raise floor python version, update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rsheeter committed Oct 8, 2024
1 parent a0bcfad commit e737b2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
# if it works on 3.8 and 3.10, it ought to work on 3.9 as well, right?
python-version: ["3.8", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
platform: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@
},
setup_requires=["setuptools_scm"],
install_requires=[
"absl-py>=0.9.0",
"lxml>=4.0",
"skia-pathops>=0.6.0",
"absl-py>=2.1.0",
"lxml>=5.3.0",
"skia-pathops>=0.8.0",
],
extras_require={
"dev": [
"pytest",
"pytest-clarity",
"black==23.3.0",
"pytype==2020.11.23; python_version < '3.9'",
"black==24.8.0",
"pytype==2024.9.13",
],
},
# this is so we can use the built-in dataclasses module
python_requires=">=3.8",
python_requires=">=3.10",
# this is for type checker to use our inline type hints:
# https://www.python.org/dev/peps/pep-0561/#id18
package_data={"picosvg": ["py.typed"]},
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
; $ export TOXENV=py39
; $ tox
; # If present use $TOXENV environment variable
envlist = lint, py3{8,9,10,11}
envlist = lint, py3{10,11}

; if any of the requested python interpreters is unavailable (e.g. on the local dev
; workstation), the tests are skipped and tox won't return an error
Expand All @@ -32,7 +32,6 @@ commands =
description = Check python style and typing annotation
usedevelop = true
; use the latest python that pytype supports
basepython = python3.8
commands =
black --check --diff src tests
pytype

0 comments on commit e737b2a

Please sign in to comment.