Skip to content

Commit 2970d8e

Browse files
deronnaxpitbulk
andauthored
remove references to python 2.7 (#398)
Co-authored-by: Sixto Martin <pitbulk@gmail.com>
1 parent 6c1fbd8 commit 2970d8e

File tree

4 files changed

+2
-28
lines changed

4 files changed

+2
-28
lines changed

.github/workflows/python-package.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,6 @@ jobs:
4646
make install-test
4747
- name: Test
4848
run: make pytest
49-
test_py2:
50-
runs-on: ubuntu-20.04
51-
container:
52-
image: python:2.7.18-buster
53-
strategy:
54-
fail-fast: false
55-
steps:
56-
- uses: actions/checkout@v3
57-
- uses: actions/cache@v2
58-
with:
59-
path: ~/.cache/pip
60-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
61-
restore-keys: |
62-
${{ runner.os }}-pip-
63-
- name: Install dependencies
64-
run: |
65-
pip install -U setuptools
66-
apt-get update -qq
67-
apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev
68-
make install-req
69-
make install-test
70-
- name: Test
71-
run: make pytest
7249
lint:
7350
runs-on: ubuntu-20.04
7451
environment: CI

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Installation
9090

9191
### Dependencies ###
9292

93-
* python 2.7 (deprecated) // python 3.6
93+
* python 3.5
9494
* [xmlsec](https://pypi.python.org/pypi/xmlsec) Python bindings for the XML Security Library.
9595
* [lxml](https://pypi.python.org/pypi/lxml) Python bindings for the libxml2 and libxslt libraries.
9696
* [isodate](https://pypi.python.org/pypi/isodate) An ISO 8601 date/time/

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22
ignore = E731,W504,E501
33
max-complexity = 48
44
max-line-length = 1900
5-
6-
[wheel]
7-
python-tag = py27

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
'Intended Audience :: Developers',
1414
'Intended Audience :: System Administrators',
1515
'Operating System :: OS Independent',
16-
'Programming Language :: Python :: 2.7',
1716
'Programming Language :: Python :: 3.6',
1817
'Programming Language :: Python :: 3.7',
1918
'Programming Language :: Python :: 3.8',
@@ -22,6 +21,7 @@
2221
'Programming Language :: Python :: 3.11',
2322
'Programming Language :: Python :: 3.12',
2423
],
24+
python_requires='>=3.6',
2525
license='MIT',
2626
url='https://github.com/SAML-Toolkits/python3-saml',
2727
packages=['onelogin', 'onelogin/saml2'],

0 commit comments

Comments
 (0)