Skip to content

Commit

Permalink
Merge pull request #298 from akx/py310
Browse files Browse the repository at this point in the history
Python 3.10 support
  • Loading branch information
bzvestey authored Feb 18, 2022
2 parents f313715 + 66f367d commit 7638495
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,28 @@

name: Python package

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [2.7,3.5,3.6,3.7, 3.8,3.9]

python-version:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -27,6 +39,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -U setuptools
sudo apt-get update -qq
sudo apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev
make install-req
Expand All @@ -39,7 +52,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- uses: actions/cache@v2
with:
path: ~/.cache/pip
Expand All @@ -48,6 +61,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -U setuptools
sudo apt-get update -qq
sudo apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev
make install-req
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ TESTS=tests/src/OneLogin/saml2_tests
SOURCES=$(MAIN_SOURCE) $(DEMOS) $(TESTS)

install-req:
$(PIP) install --upgrade 'setuptools<45.0.0'
$(PIP) install .

install-test:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
author='OneLogin',
author_email='support@onelogin.com',
Expand Down

0 comments on commit 7638495

Please sign in to comment.