Skip to content

Commit

Permalink
Merge pull request #101 from reingart/py311
Browse files Browse the repository at this point in the history
Build in Python 3.11 - ticket #99
  • Loading branch information
reingart authored Feb 25, 2023
2 parents 41066d4 + ab028a9 commit 7a6d8e5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [2.7, 3.9]
python-version: [2.7, 3.9, 3.11]

steps:
- uses: actions/checkout@v2
Expand Down
15 changes: 9 additions & 6 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
pytest==4.6.11; python_version <= '2.7'
pytest==6.2.3; python_version > '3'
pytest==7.2.0; python_version > '3'
pytest-html==1.22.1; python_version <= '2.7'
pytest-html==3.1.1; python_version > '3'
pytest-vcr==1.0.2
pytest-cov==2.12.1
pytest-freezegun==0.4.2
pytest-html==3.2.0; python_version > '3'
pytest-vcr==1.0.2; python_version <= '2.7'
pytest-cov==2.12.1; python_version <= '2.7'
pytest-freezegun==0.4.2; python_version <= '2.7'
pytest-vcr==1.0.2; python_version > '3'
pytest-cov==4.0.0; python_version > '3'
pytest-freezegun==0.4.2; python_version > '3'
pytest-mock==2.0.0; python_version <= '2.7'
pytest-mock==3.6.1; python_version > '2.7'
pytest-mock==3.10.0; python_version > '2.7'
pywin32==304; sys_platform == "win32" and python_version > '3'
py2exe==0.11.1.1; sys_platform == "win32" and python_version > '3'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
httplib2==0.9.2; python_version <= '2.7'
httplib2==0.20.4; python_version > '3'
pysimplesoap==1.08.14; python_version <= '2.7'
git+https://github.com/pysimplesoap/pysimplesoap.git@stable_py3k#pysimplesoap; python_version > '3'
git+https://github.com/pysimplesoap/pysimplesoap.git@py311#pysimplesoap; python_version > '3'
cryptography==3.3.2; python_version <= '2.7'
cryptography==3.4.7; python_version > '3'
fpdf>=1.7.2
Expand Down
2 changes: 1 addition & 1 deletion ws_sr_padron.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def main():

if "--csv" in sys.argv:
csv_reader = csv.reader(
open("tests/entrada.csv", "rU"), dialect="excel", delimiter=","
open("tests/entrada.csv", "r"), dialect="excel", delimiter=","
)
csv_writer = csv.writer(open("salida.csv", "w"), dialect="excel", delimiter=",")
encabezado = next(csv_reader)
Expand Down

0 comments on commit 7a6d8e5

Please sign in to comment.