diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e5ddca0..d8d0c32b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 . @@ -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 diff --git a/requirements-dev.txt b/requirements-dev.txt index 7214fe27..67b1d199 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ -r requirements.txt flake8 -pytest>=3.8 +pytest pytest-cov Pillow tox diff --git a/requirements.txt b/requirements.txt index c1b2c09b..864dc07c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ -dataclasses; python_version < '3.7' lxml -python-dateutil>=1.5 +python-dateutil pytz pyyaml -requests>=1.0 +requests diff --git a/setup.py b/setup.py index 5e3200ba..bfefa2f7 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ # ============================================================================= -# Copyright (c) 2023 Tom Kralidis +# Copyright (c) 2024 Tom Kralidis # # Author: Tom Kralidis # @@ -89,7 +89,7 @@ def get_package_version(): maintainer_email='tomkralidis@gmail.com', 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=[ @@ -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' ] )