diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c251a1ed..01b65b57 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -46,29 +46,6 @@ jobs: make install-test - name: Test run: make pytest - test_py2: - runs-on: ubuntu-20.04 - container: - image: python:2.7.18-buster - strategy: - fail-fast: false - steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install dependencies - run: | - pip install -U setuptools - apt-get update -qq - apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev - make install-req - make install-test - - name: Test - run: make pytest lint: runs-on: ubuntu-20.04 environment: CI diff --git a/README.md b/README.md index f197e552..0b2370bb 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Installation ### Dependencies ### - * python 2.7 (deprecated) // python 3.6 + * python 3.5 * [xmlsec](https://pypi.python.org/pypi/xmlsec) Python bindings for the XML Security Library. * [lxml](https://pypi.python.org/pypi/lxml) Python bindings for the libxml2 and libxslt libraries. * [isodate](https://pypi.python.org/pypi/isodate) An ISO 8601 date/time/ diff --git a/setup.cfg b/setup.cfg index 36fa9534..63f212dd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,3 @@ ignore = E731,W504,E501 max-complexity = 48 max-line-length = 1900 - -[wheel] -python-tag = py27 diff --git a/setup.py b/setup.py index 1c28f73e..fc187da3 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,6 @@ 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', @@ -22,6 +21,7 @@ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', ], + python_requires='>=3.6', license='MIT', url='https://github.com/SAML-Toolkits/python3-saml', packages=['onelogin', 'onelogin/saml2'],