Skip to content

Commit d185d52

Browse files
committed
Bumps minimum version to Python 3.9+
1 parent b8a72d0 commit d185d52

File tree

6 files changed

+6
-11
lines changed

6 files changed

+6
-11
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
max-parallel: 1
1818
matrix:
19-
python-version: [3.7]
19+
python-version: [3.9]
2020
env:
2121
MYGEOTAB_DATABASE: ${{ secrets.MYGEOTAB_DATABASE }}
2222
MYGEOTAB_USERNAME: ${{ secrets.MYGEOTAB_USERNAME }}

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Features
3333

3434
- Automatic serializing and deserializing of API call results
3535
- Clean, Pythonic API for querying data
36-
- Cross-platform and compatible with Python 3.7+
36+
- Cross-platform and compatible with Python 3.9+
3737
- A `myg` command-line tool for interactively working with data in a terminal
3838

3939
Usage

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.7
2+
python_version = 9
33
exclude = docs
44

55
[mypy-rapidjson.*]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.ruff]
22
line-length = 127
3-
target-version = "py37"
3+
target-version = "py39"
44

55
[tool.ruff.lint]
66
select = ["E", "F", "B"]

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
py_version = sys.version_info[:3]
2626

2727
if py_version < (3, 7, 0):
28-
raise RuntimeError("This package requres Python 3.7.0+")
28+
raise RuntimeError("This package requres Python 3.9.0+")
2929

3030
packages = ["mygeotab", "mygeotab.ext"]
3131

@@ -62,12 +62,11 @@
6262
"Natural Language :: English",
6363
"License :: OSI Approved :: Apache Software License",
6464
"Programming Language :: Python",
65-
"Programming Language :: Python :: 3.7",
66-
"Programming Language :: Python :: 3.8",
6765
"Programming Language :: Python :: 3.9",
6866
"Programming Language :: Python :: 3.10",
6967
"Programming Language :: Python :: 3.11",
7068
"Programming Language :: Python :: 3.12",
69+
"Programming Language :: Python :: 3.13",
7170
"Programming Language :: Python :: Implementation :: PyPy",
7271
"Topic :: Software Development :: Libraries",
7372
],

tests/test_api_async.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22

33
import os
4-
import sys
54

65
import pytest
76

@@ -24,9 +23,6 @@
2423
USERNAME = os.environ.get("MYGEOTAB_USERNAME_ASYNC", USERNAME)
2524
PASSWORD = os.environ.get("MYGEOTAB_PASSWORD_ASYNC", PASSWORD)
2625

27-
pytestmark = pytest.mark.skipif(sys.version_info < (3, 7), reason="Only testing API on Python 3.7")
28-
29-
3026
@pytest.fixture(scope="session")
3127
def async_populated_api():
3228
cert = None

0 commit comments

Comments
 (0)