Skip to content

Commit

Permalink
remove references to python 2.7 (#398)
Browse files Browse the repository at this point in the history
Co-authored-by: Sixto Martin <[email protected]>
  • Loading branch information
deronnax and pitbulk authored Jun 17, 2024
1 parent 6c1fbd8 commit 2970d8e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 28 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
ignore = E731,W504,E501
max-complexity = 48
max-line-length = 1900

[wheel]
python-tag = py27
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'],
Expand Down

0 comments on commit 2970d8e

Please sign in to comment.