Skip to content

Commit

Permalink
drop Python 3.8/3.9, unpin old dependencies (#941)
Browse files Browse the repository at this point in the history
* drop Python 3.8/3.9, unpin old dependencies
  • Loading branch information
tomkralidis authored Sep 29, 2024
1 parent 6976603 commit 4379f87
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@master
- uses: actions/setup-python@v5
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
sudo apt-get -y install pandoc
if: matrix.python-version == 3.8
run: sudo apt-get -y install pandoc
- name: Install requirements 📦
run: |
pip3 install -e .
Expand All @@ -31,10 +29,7 @@ jobs:
run: python3 -m pytest
- name: run coveralls ⚙️
run: coveralls
if: matrix.python-version == 3.8
- name: build docs 🏗️
run: cd docs && make html
if: matrix.python-version == 3.8
- name: run flake8 ⚙️
run: flake8 owslib
if: matrix.python-version == 3.8
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r requirements.txt
flake8
pytest>=3.8
pytest
pytest-cov
Pillow
tox
Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
dataclasses; python_version < '3.7'
lxml
python-dateutil>=1.5
python-dateutil
pytz
pyyaml
requests>=1.0
requests
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============================================================================
# Copyright (c) 2023 Tom Kralidis
# Copyright (c) 2024 Tom Kralidis
#
# Author: Tom Kralidis <[email protected]>
#
Expand Down Expand Up @@ -89,7 +89,7 @@ def get_package_version():
maintainer_email='[email protected]',
url='https://owslib.readthedocs.io',
install_requires=reqs,
python_requires='>=3.6',
python_requires='>=3.10',
cmdclass={'test': PyTest},
packages=find_packages(exclude=["docs", "etc", "examples", "tests"]),
classifiers=[
Expand All @@ -100,10 +100,6 @@ def get_package_version():
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: GIS'
]
)

0 comments on commit 4379f87

Please sign in to comment.