Skip to content

Commit

Permalink
Removing Python 3.7 support (OpenCyphal#340)
Browse files Browse the repository at this point in the history
Fixes issue OpenCyphal#331. Python 3.7 is EoL
  • Loading branch information
thirtytwobits authored Jun 27, 2024
1 parent 6121909 commit 8677215
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- name: version-check
# Fails the release if the release-tag doesn't match the Nunavut version at that tag.
run: |
$(./.github/verify.py -vv --version-check-only "2.3.3.dev0")
$(./.github/verify.py -vv --version-check-only "2.3.4.dev0")
- name: lint
run: tox -e lint
- name: test-nnvg
run: tox -e py310-nnvg
run: tox -e py311-nnvg
- name: test-doctest
run: tox -e py310-doctest,py310-rstdoctest
run: tox -e py311-doctest,py310-rstdoctest
- name: test-pytest
run: tox -e py310-test
run: tox -e py311-test
- name: package
run: tox -e package
- name: upload
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
-Dsonar.token=${{ env.SONAR_TOKEN }}
-Dsonar.buildString=${{ env.GITHUB_RUN_ID }}
-Dsonar.projectVersion=${{ env.NUNAVUT_MAJOR_MINOR_VERSION }}
-Dsonar.python.version=python3.10
-Dsonar.python.version=python3.11
-Dsonar.python.coverage.reportPaths=.tox/report/tmp/coverage.xml
-Dsonar.python.xunit.reportPath=.tox/py310-test/tmp/xunit-result.xml
- name: report-pr
Expand All @@ -91,7 +91,7 @@ jobs:
-Dsonar.token=${{ env.SONAR_TOKEN }}
-Dsonar.buildString=${{ env.GITHUB_RUN_ID }}
-Dsonar.projectVersion=${{ env.NUNAVUT_MAJOR_MINOR_VERSION }}
-Dsonar.python.version=python3.10
-Dsonar.python.version=python3.11
-Dsonar.python.coverage.reportPaths=.tox/report/tmp/coverage.xml
-Dsonar.python.xunit.reportPath=.tox/py310-test/tmp/xunit-result.xml
Expand All @@ -118,7 +118,7 @@ jobs:
compat-test-python3-ubuntu:
strategy:
matrix:
python3-version: ['7', '8', '9', '10', '11', '12']
python3-version: ['8', '9', '10', '11', '12']
runs-on: ubuntu-latest
container: ghcr.io/opencyphal/toxic:tx22.4.2
needs: test
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand Down Expand Up @@ -44,7 +43,7 @@ install_requires=

zip_safe = False

python_requires = >=3.7
python_requires = >=3.8

[options.entry_points]
console_scripts =
Expand Down
2 changes: 1 addition & 1 deletion src/nunavut/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.. autodata:: __version__
"""

__version__ = "2.3.3.dev0"
__version__ = "2.3.4.dev0"
__license__ = "MIT"
__author__ = "OpenCyphal"
__copyright__ = "Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. Copyright (c) 2023 OpenCyphal."
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# The standard version to develop against is 3.10.
# The standard version to develop against is 3.11.
#
[tox]
envlist = {py37,py38,py39,py310,py311,py312}-{test,nnvg,doctest,rstdoctest},lint,report,docs
envlist = {py38,py39,py310,py311,py312}-{test,nnvg,doctest,rstdoctest},lint,report,docs

[base]
deps =
Expand Down Expand Up @@ -178,7 +178,7 @@ commands =


[testenv:lint]
basepython = python3.10
basepython = python3.11
deps =
{[dev]deps}
black
Expand Down
2 changes: 1 addition & 1 deletion verification/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT
#

cmake_minimum_required(VERSION 3.10.0)
cmake_minimum_required(VERSION 3.22.0)

project(nunavut_verification C CXX)

Expand Down

0 comments on commit 8677215

Please sign in to comment.