Skip to content

Commit

Permalink
Merge pull request #44 from rserial/remove-python-3.10
Browse files Browse the repository at this point in the history
Removes python 3.10 support
  • Loading branch information
fedejaure authored Aug 3, 2024
2 parents 745996f + b379c35 commit 0076c01
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[bumpversion]
commit = True
tag = False
tag = True
current_version = 0.1.0

[bumpversion:file:pyproject.toml]
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v4.1.1

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v5.1.1
with:
python-version: 3.9
python-version: "3.10"

- name: Install system deps
shell: bash
Expand All @@ -26,6 +26,7 @@ jobs:
- name: Run autoupdate
run: poetry run pre-commit autoupdate
continue-on-error: true

- name: Run pre-commit
run: poetry run pre-commit run --all-files
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v4.1.1

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v5.1.1
with:
python-version: 3.9
python-version: "3.10"

- name: Install system deps
shell: bash
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4.1.1

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v5.1.1
with:
python-version: 3.9
python-version: "3.10"

- name: Install system deps
shell: bash
Expand All @@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
os: [Ubuntu, MacOS, Windows]
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12']
fail-fast: true
steps:
- uses: actions/checkout@v4.1.1
Expand Down Expand Up @@ -79,10 +79,10 @@ jobs:
steps:
- uses: actions/checkout@v4.1.1

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v5.1.1
with:
python-version: 3.9
python-version: "3.10"

- name: Install system deps
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.10"

formats: all

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from nox_poetry import Session, session

nox.options.sessions = ["tests", "mypy"]
python_versions = ["3.9", "3.10", "3.11", "3.12"]
python_versions = ["3.10", "3.11", "3.12"]


@session(python=python_versions)
Expand Down
47 changes: 3 additions & 44 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -24,7 +23,7 @@ classifiers=[
"Bug Tracker" = "https://github.com/rserial/flintpy/issues"

[tool.poetry.dependencies]
python = "<3.13,>=3.9"
python = "<3.13,>=3.10"
numpy = "^2.0.0"
plotly = "^5.22.0"

Expand Down Expand Up @@ -83,7 +82,7 @@ show_missing = true
directory = "htmlcov"

[tool.ruff]
target-version = "py39"
target-version = "py310"
output-format = "full"
line-length = 99
fix = true
Expand Down Expand Up @@ -137,7 +136,7 @@ known_third_party = ["invoke", "nox", "nox_poetry"]

[tool.black]
line-length = 99
target-version = ["py39"]
target-version = ["py310"]

[tool.mypy]
warn_return_any = true
Expand Down

0 comments on commit 0076c01

Please sign in to comment.