Skip to content

Commit d2b8f22

Browse files
P403n1x87mabdinur
andauthored
ci: drop Ci runs for 3.6 (#200)
Co-authored-by: Munir Abdinur <[email protected]>
1 parent 886dbf8 commit d2b8f22

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
strategy:
5656
matrix:
5757
os: [ubuntu-latest, macos-latest]
58-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", pypy-3.7]
58+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.7]
5959
runs-on: ${{ matrix.os }}
6060
steps:
6161
- uses: actions/checkout@v2

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ be used to test large test matrices with ease.
2121
System Requirements
2222
-------------------
2323

24-
riot supports Python 3.6+ and can be run with CPython or PyPy.
24+
riot supports Python 3.7+ and can be run with CPython or PyPy.
2525

2626

2727
Installation
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
deprecations:
3+
- |
4+
Drop support for python 3.6

riotfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Venv(
77
name="test",
88
command="pytest -n auto --dist loadscope {cmdargs}",
9-
pys=["3.6", "3.7", "3.8", "3.9", "3.10"],
9+
pys=["3.7", "3.8", "3.9", "3.10", "3.11"],
1010
pkgs={
1111
"pytest": latest,
1212
"pytest-cov": latest,

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
author_email="[email protected]",
1313
classifiers=[
1414
"Programming Language :: Python",
15-
"Programming Language :: Python :: 3.6",
1615
"Programming Language :: Python :: 3.7",
1716
"Programming Language :: Python :: 3.8",
1817
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
2020
],
2121
entry_points={"console_scripts": ["riot = riot.__main__:main"]},
2222
long_description=long_description,
2323
long_description_content_type="text/markdown",
2424
license="Apache 2",
2525
packages=find_packages(exclude=["tests*"]),
2626
package_data={"riot": ["py.typed"]},
27-
python_requires=">=3.6",
27+
python_requires=">=3.7",
2828
install_requires=[
2929
"dataclasses; python_version<'3.7'",
3030
"click>=7",

tests/test_unit.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ def _run_pip_install(package: str, venv: Dict[str, str]) -> None:
9797
@pytest.mark.parametrize(
9898
"v1,v2,equal",
9999
[
100-
(3.6, 3.6, True),
101-
(3.6, "3.6", True),
102-
("3.6", "3.6", True),
103-
("3.6", 3.6, True),
104-
(3.6, 3.7, False),
105-
(3.6, "3.7", False),
100+
(3.7, 3.7, True),
101+
(3.7, "3.7", True),
102+
("3.7", "3.7", True),
103+
("3.7", 3.7, True),
104+
(3.8, 3.7, False),
105+
(3.8, "3.7", False),
106106
(3.7, 3.7, True),
107107
(3, 3, True),
108108
(3, "3", True),

0 commit comments

Comments
 (0)