Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
parameters:
job_name: ubuntu18_cpython
image_name: ubuntu-18.04
python_versions: ['3.6', '3.7', '3.8', '3.9', '3.10']
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11']
test_suites:
all: |
source venv/bin/activate
Expand All @@ -21,7 +21,7 @@ jobs:
parameters:
job_name: ubuntu20_cpython
image_name: ubuntu-20.04
python_versions: ['3.6', '3.7', '3.8', '3.9', '3.10']
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11']
test_suites:
all: |
source venv/bin/activate
Expand All @@ -31,7 +31,7 @@ jobs:
parameters:
job_name: macos1015_cpython
image_name: macos-10.15
python_versions: ['3.6', '3.7', '3.8', '3.9', '3.10']
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11']
test_suites:
all: |
source venv/bin/activate
Expand All @@ -41,7 +41,7 @@ jobs:
parameters:
job_name: macos11_cpython
image_name: macos-11
python_versions: ['3.7', '3.8', '3.9', '3.10']
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11']
test_suites:
all: |
source venv/bin/activate
Expand All @@ -51,7 +51,7 @@ jobs:
parameters:
job_name: win2019_cpython
image_name: windows-2019
python_versions: ['3.6', '3.7', '3.8', '3.9', '3.10']
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11']
test_suites:
all: |
call venv\Scripts\activate.bat
Expand All @@ -61,7 +61,7 @@ jobs:
parameters:
job_name: win2022_cpython
image_name: windows-2022
python_versions: ['3.7', '3.8', '3.9', '3.10']
python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11']
test_suites:
all: |
call venv\Scripts\activate.bat
Expand Down
8 changes: 4 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ execnet==1.9.0
importlib-metadata==4.8.1
iniconfig==1.1.1
pluggy==1.0.0
py==1.10.0
pytest==6.2.5
pytest-forked==1.3.0
pytest-xdist==2.4.0
py==1.11.0
pytest==7.2.0
pytest-forked==1.4.0
pytest-xdist==3.2.0
toml==0.10.2
typing-extensions==3.10.0.2
zipp==3.6.0
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ zip_safe = false

setup_requires = setuptools_scm[toml] >= 4

python_requires = >=3.6.*
python_requires = >=3.7

install_requires =
attrs
Expand Down
4 changes: 3 additions & 1 deletion tests/test_rpm_vercmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ def create_test_function(ver1, ver2, expected, name):
"""

def test_rpm_version(self):
print(f"testing (ver1={ver1}, ver2={ver2}, expected=expected{expected}")
ver1_str = str(ver1).encode("utf-8")
ver2_str = str(ver2).encode("utf-8")
print(f"testing (ver1={ver1_str}, ver2={ver2_str}, expected=expected{expected}")
result = vercmp.vercmp(ver1, ver2)
if result != expected:
assert result == (expected, ver1, ver2)
Expand Down