Skip to content

Commit 4379f87

Browse files
authored
drop Python 3.8/3.9, unpin old dependencies (#941)
* drop Python 3.8/3.9, unpin old dependencies
1 parent 6976603 commit 4379f87

File tree

4 files changed

+10
-20
lines changed

4 files changed

+10
-20
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,18 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.8", "3.9", "3.10", "3.11"]
10+
python-version: ["3.10", "3.11"]
1111
env:
1212
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
COVERALLS_SERVICE_NAME: github
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-python@v2
15+
- uses: actions/checkout@master
16+
- uses: actions/setup-python@v5
1717
name: Setup Python ${{ matrix.python-version }}
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install packages
21-
run: |
22-
sudo apt-get -y install pandoc
23-
if: matrix.python-version == 3.8
21+
run: sudo apt-get -y install pandoc
2422
- name: Install requirements 📦
2523
run: |
2624
pip3 install -e .
@@ -31,10 +29,7 @@ jobs:
3129
run: python3 -m pytest
3230
- name: run coveralls ⚙️
3331
run: coveralls
34-
if: matrix.python-version == 3.8
3532
- name: build docs 🏗️
3633
run: cd docs && make html
37-
if: matrix.python-version == 3.8
3834
- name: run flake8 ⚙️
3935
run: flake8 owslib
40-
if: matrix.python-version == 3.8

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-r requirements.txt
22
flake8
3-
pytest>=3.8
3+
pytest
44
pytest-cov
55
Pillow
66
tox

requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
dataclasses; python_version < '3.7'
21
lxml
3-
python-dateutil>=1.5
2+
python-dateutil
43
pytz
54
pyyaml
6-
requests>=1.0
5+
requests

setup.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# =============================================================================
2-
# Copyright (c) 2023 Tom Kralidis
2+
# Copyright (c) 2024 Tom Kralidis
33
#
44
# Author: Tom Kralidis <tomkralidis@gmail.com>
55
#
@@ -89,7 +89,7 @@ def get_package_version():
8989
maintainer_email='tomkralidis@gmail.com',
9090
url='https://owslib.readthedocs.io',
9191
install_requires=reqs,
92-
python_requires='>=3.6',
92+
python_requires='>=3.10',
9393
cmdclass={'test': PyTest},
9494
packages=find_packages(exclude=["docs", "etc", "examples", "tests"]),
9595
classifiers=[
@@ -100,10 +100,6 @@ def get_package_version():
100100
'Natural Language :: English',
101101
'Operating System :: OS Independent',
102102
'Programming Language :: Python',
103-
'Programming Language :: Python :: 3',
104-
'Programming Language :: Python :: 3.6',
105-
'Programming Language :: Python :: 3.7',
106-
'Programming Language :: Python :: 3.8',
107-
'Topic :: Scientific/Engineering :: GIS',
103+
'Topic :: Scientific/Engineering :: GIS'
108104
]
109105
)

0 commit comments

Comments
 (0)