Skip to content

Commit

Permalink
Drop 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mesozoic committed Oct 21, 2024
1 parent f0a7127 commit 8ec80c6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_lint_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -56,10 +56,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.9

- name: Install pypa/build
run: >-
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.9"

sphinx:
configuration: docs/source/conf.py
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ build-backend = "setuptools.build_meta"

[tool.black]
line-length = 88
target-version = ['py38']
target-version = ['py39']
include = '\.pyi?$'
5 changes: 5 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ sphinxext-opengraph
revitron-sphinx-theme @ git+https://github.com/gtalarico/revitron-sphinx-theme.git@40f4b09fa5c199e3844153ef973a1155a56981dd
sphinx-autodoc-typehints
autodoc-pydantic<2
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5

# Packaging
wheel==0.38.1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ classifiers =
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
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 :: Implementation :: CPython
Topic :: Software Development

Expand Down
10 changes: 4 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[tox]
envlist =
pre-commit
mypy-py3{8,9,10,11,12,13}
py3{8,9,10,11,12,13}{,-pydantic1,-requestsmin}
mypy-py3{9,10,11,12,13}
py3{9,10,11,12,13}{,-pydantic1,-requestsmin}
integration
coverage

[gh-actions]
python =
3.8: py38, mypy-py38
3.9: py39, mypy-py39
3.10: py310, mypy-py310
3.11: py311, mypy-py311
Expand All @@ -32,9 +31,8 @@ deps =
deps = pre-commit
commands = pre-commit run --all-files

[testenv:mypy,mypy-py3{8,9,10,11,12,13}]
[testenv:mypy,mypy-py3{9,10,11,12,13}]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
Expand All @@ -53,7 +51,7 @@ commands =
python -m pytest -m 'not integration' --cov=pyairtable --cov-report={env:COVERAGE_FORMAT:html} --cov-fail-under=100

[testenv:docs]
basepython = python3.8
basepython = python3.9
deps =
-r requirements-dev.txt
commands =
Expand Down

0 comments on commit 8ec80c6

Please sign in to comment.