Skip to content

Commit

Permalink
Drop support for EOL Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 5, 2024
1 parent b2f8192 commit 1ee1eb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.12', 'pypy-3.10']
python-version: ['3.9', '3.12', 'pypy-3.10']

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions pyroma/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class PyPITest(unittest.TestCase):
@unittest.mock.patch("pyroma.pypidata._get_project_data")
def test_distribute(self, projectdatamock):
datafile = resource_filename(__name__, os.path.join("testdata", "jsondata", "distribute.json"))
with open(datafile, "rt", encoding="UTF-8") as file:
with open(datafile, encoding="UTF-8") as file:
projectdatamock.return_value = json.load(file)

proxystub.set_debug_context("distributedata.py", xmlrpclib.ServerProxy, False)
Expand Down Expand Up @@ -308,7 +308,7 @@ def test_distribute(self, projectdatamock):
@unittest.mock.patch("pyroma.pypidata._get_project_data")
def test_complete(self, projectdatamock):
datafile = resource_filename(__name__, os.path.join("testdata", "jsondata", "complete.json"))
with open(datafile, "rt", encoding="UTF-8") as file:
with open(datafile, encoding="UTF-8") as file:
projectdatamock.return_value = json.load(file)

proxystub.set_debug_context("completedata.py", xmlrpclib.ServerProxy, False)
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Expand All @@ -32,7 +31,7 @@ include_package_data = True
packages = find:
package_dir =
= .
python_requires = >=3.8
python_requires = >=3.9
install_requires =
build>=0.7.0
docutils
Expand Down

0 comments on commit 1ee1eb2

Please sign in to comment.