check-python-versions 0.22.1__tar.gz → 0.23.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/CHANGES.rst +10 -0
- {check-python-versions-0.22.1/src/check_python_versions.egg-info → check_python_versions-0.23.0}/PKG-INFO +20 -4
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/README.rst +2 -2
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/release.mk +4 -4
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/setup.cfg +0 -6
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/setup.py +1 -1
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/__init__.py +1 -1
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/cli.py +11 -3
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/parsers/poetry_version_spec.py +1 -7
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/parsers/requires_python.py +1 -7
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/versions.py +1 -1
- {check-python-versions-0.22.1 → check_python_versions-0.23.0/src/check_python_versions.egg-info}/PKG-INFO +20 -4
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions.egg-info/SOURCES.txt +0 -1
- check_python_versions-0.23.0/src/check_python_versions.egg-info/requires.txt +2 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/test_cli.py +28 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tox.ini +1 -1
- check-python-versions-0.22.1/appveyor.yml +0 -33
- check-python-versions-0.22.1/src/check_python_versions.egg-info/requires.txt +0 -5
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/.coveragerc +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/.gitignore +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/.pre-commit-hooks.yaml +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/CLASSIFIERS +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/LICENSE +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/MANIFEST.in +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/Makefile +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/check-python-versions +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/pytest.ini +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/__main__.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/parsers/__init__.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/parsers/classifiers.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/parsers/ini.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/parsers/python.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/parsers/yaml.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/__init__.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/all.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/appveyor.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/base.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/github.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/manylinux.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/pyproject.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/setup_py.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/tox.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/sources/travis.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/utils.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions.egg-info/dependency_links.txt +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions.egg-info/entry_points.txt +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions.egg-info/not-zip-safe +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions.egg-info/top_level.txt +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/__init__.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/conftest.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_classifiers.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_ini.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_poetry_version_spec.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_python.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_requires_python.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_yaml.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_appveyor.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_github.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_manylinux.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_pyproject.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_setup_py.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_tox.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_travis.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/test___main__.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/test_utils.py +0 -0
- {check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/test_versions.py +0 -0
@@ -1,6 +1,16 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
0.23.0 (2025-10-14)
|
5
|
+
-------------------
|
6
|
+
|
7
|
+
- Add support for Python 3.14: treat it as a released version, run CI tests on
|
8
|
+
3.14.
|
9
|
+
|
10
|
+
- New option ``--allow-non-packages`` so you can automate tox.ini or GitHub
|
11
|
+
workflow updates in projects that are not Python packages.
|
12
|
+
|
13
|
+
|
4
14
|
0.22.1 (2024-10-09)
|
5
15
|
-------------------
|
6
16
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: check-python-versions
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.23.0
|
4
4
|
Summary: Compare supported Python versions in setup.py vs tox.ini et al.
|
5
5
|
Home-page: https://github.com/mgedmin/check-python-versions
|
6
6
|
Author: Marius Gedminas
|
@@ -21,11 +21,27 @@ Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
23
23
|
Classifier: Programming Language :: Python :: 3.13
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
24
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
25
26
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
26
27
|
Requires-Python: >=3.8
|
27
28
|
Description-Content-Type: text/x-rst
|
28
29
|
License-File: LICENSE
|
30
|
+
Requires-Dist: pyyaml
|
31
|
+
Requires-Dist: tomlkit
|
32
|
+
Dynamic: author
|
33
|
+
Dynamic: author-email
|
34
|
+
Dynamic: classifier
|
35
|
+
Dynamic: description
|
36
|
+
Dynamic: description-content-type
|
37
|
+
Dynamic: home-page
|
38
|
+
Dynamic: keywords
|
39
|
+
Dynamic: license
|
40
|
+
Dynamic: license-file
|
41
|
+
Dynamic: project-url
|
42
|
+
Dynamic: requires-dist
|
43
|
+
Dynamic: requires-python
|
44
|
+
Dynamic: summary
|
29
45
|
|
30
46
|
check-python-versions
|
31
47
|
=====================
|
@@ -38,7 +54,7 @@ check-python-versions
|
|
38
54
|
:target: https://pypi.org/project/check-python-versions/
|
39
55
|
:alt: Supported Python versions
|
40
56
|
|
41
|
-
.. image:: https://github.com/mgedmin/check-python-versions/workflows/build/badge.svg?branch=master
|
57
|
+
.. image:: https://github.com/mgedmin/check-python-versions/actions/workflows/build.yml/badge.svg?branch=master
|
42
58
|
:target: https://github.com/mgedmin/check-python-versions/actions
|
43
59
|
:alt: Build status
|
44
60
|
|
@@ -413,6 +429,6 @@ Add the following snippet to your ``.pre-commit-config.yaml``.
|
|
413
429
|
|
414
430
|
repos:
|
415
431
|
- repo: https://github.com/mgedmin/check-python-versions
|
416
|
-
rev: "0.
|
432
|
+
rev: "0.23.0"
|
417
433
|
hooks:
|
418
434
|
- id: check-python-versions
|
@@ -9,7 +9,7 @@ check-python-versions
|
|
9
9
|
:target: https://pypi.org/project/check-python-versions/
|
10
10
|
:alt: Supported Python versions
|
11
11
|
|
12
|
-
.. image:: https://github.com/mgedmin/check-python-versions/workflows/build/badge.svg?branch=master
|
12
|
+
.. image:: https://github.com/mgedmin/check-python-versions/actions/workflows/build.yml/badge.svg?branch=master
|
13
13
|
:target: https://github.com/mgedmin/check-python-versions/actions
|
14
14
|
:alt: Build status
|
15
15
|
|
@@ -384,6 +384,6 @@ Add the following snippet to your ``.pre-commit-config.yaml``.
|
|
384
384
|
|
385
385
|
repos:
|
386
386
|
- repo: https://github.com/mgedmin/check-python-versions
|
387
|
-
rev: "0.
|
387
|
+
rev: "0.23.0"
|
388
388
|
hooks:
|
389
389
|
- id: check-python-versions
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# release.mk version 2.
|
1
|
+
# release.mk version 2.2.3 (2024-10-10)
|
2
2
|
#
|
3
3
|
# Helpful Makefile rules for releasing Python packages.
|
4
4
|
# https://github.com/mgedmin/python-project-skel
|
@@ -12,7 +12,7 @@ DISTCHECK_DIFF_OPTS ?= $(DISTCHECK_DIFF_DEFAULT_OPTS)
|
|
12
12
|
|
13
13
|
# These should be fine
|
14
14
|
PYTHON ?= python3
|
15
|
-
PYPI_PUBLISH ?= rm -rf dist && $(PYTHON)
|
15
|
+
PYPI_PUBLISH ?= rm -rf dist && $(PYTHON) -m build && twine check dist/* && twine upload dist/*
|
16
16
|
LATEST_RELEASE_MK_URL = https://raw.githubusercontent.com/mgedmin/python-project-skel/master/release.mk
|
17
17
|
DISTCHECK_DIFF_DEFAULT_OPTS = -x PKG-INFO -x setup.cfg -x '*.egg-info' -x .github -I'^\#'
|
18
18
|
|
@@ -44,7 +44,7 @@ help:
|
|
44
44
|
|
45
45
|
.PHONY: dist
|
46
46
|
dist:
|
47
|
-
$(PYTHON)
|
47
|
+
$(PYTHON) -m build
|
48
48
|
|
49
49
|
# Provide a default 'make check' to be the same as 'make test', since that's
|
50
50
|
# what 80% of my projects use, but make it possible to override. Now
|
@@ -79,7 +79,7 @@ endif
|
|
79
79
|
|
80
80
|
.PHONY: distcheck-sdist
|
81
81
|
distcheck-sdist: dist
|
82
|
-
pkg_and_version=`$(PYTHON) setup.py --name`-`$(PYTHON) setup.py --version` && \
|
82
|
+
pkg_and_version=`$(PYTHON) setup.py --name|tr A-Z.- a-z__`-`$(PYTHON) setup.py --version` && \
|
83
83
|
rm -rf tmp && \
|
84
84
|
mkdir tmp && \
|
85
85
|
$(VCS_EXPORT) && \
|
@@ -57,6 +57,7 @@ setup(
|
|
57
57
|
'Programming Language :: Python :: 3.11',
|
58
58
|
'Programming Language :: Python :: 3.12',
|
59
59
|
'Programming Language :: Python :: 3.13',
|
60
|
+
'Programming Language :: Python :: 3.14',
|
60
61
|
'Programming Language :: Python :: Implementation :: CPython',
|
61
62
|
'Programming Language :: Python :: Implementation :: PyPy',
|
62
63
|
],
|
@@ -72,7 +73,6 @@ setup(
|
|
72
73
|
install_requires=[
|
73
74
|
'pyyaml',
|
74
75
|
'tomlkit',
|
75
|
-
'typing_extensions; python_version < "3.8"',
|
76
76
|
],
|
77
77
|
zip_safe=False,
|
78
78
|
)
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/cli.py
RENAMED
@@ -370,6 +370,10 @@ def _main() -> None:
|
|
370
370
|
parser.add_argument('--skip-non-packages', action='store_true',
|
371
371
|
help='skip arguments that are not Python packages'
|
372
372
|
' without warning about them')
|
373
|
+
parser.add_argument('--allow-non-packages', action='store_true',
|
374
|
+
help='try to work on directories that are not Python'
|
375
|
+
' packages but have a tox.ini'
|
376
|
+
' or .github/workflows')
|
373
377
|
parser.add_argument('--only', metavar='FILES',
|
374
378
|
help='check only the specified files'
|
375
379
|
' (comma-separated list, e.g.'
|
@@ -399,6 +403,9 @@ def _main() -> None:
|
|
399
403
|
parser.error("argument --add: not allowed with argument --update")
|
400
404
|
if args.update and args.drop:
|
401
405
|
parser.error("argument --drop: not allowed with argument --update")
|
406
|
+
if args.skip_non_packages and args.allow_non_packages:
|
407
|
+
parser.error("use either --skip-non-packages or --allow-non-packages,"
|
408
|
+
" not both")
|
402
409
|
if args.diff and not (args.update or args.add or args.drop):
|
403
410
|
parser.error(
|
404
411
|
"argument --diff: not allowed without --update/--add/--drop")
|
@@ -431,9 +438,10 @@ def _main() -> None:
|
|
431
438
|
if n:
|
432
439
|
print("\n")
|
433
440
|
print(f"{path}:\n")
|
434
|
-
if not
|
435
|
-
|
436
|
-
|
441
|
+
if not args.allow_non_packages:
|
442
|
+
if not check_package(path):
|
443
|
+
mismatches.append(path)
|
444
|
+
continue
|
437
445
|
replacements = {}
|
438
446
|
if args.add or args.drop or args.update:
|
439
447
|
replacements = update_versions(
|
@@ -6,7 +6,7 @@ https://python-poetry.org/docs/dependency-specification/#version-constraints
|
|
6
6
|
"""
|
7
7
|
|
8
8
|
import re
|
9
|
-
from typing import Callable, Dict, List, Optional, Tuple, Union
|
9
|
+
from typing import Callable, Dict, List, Optional, Tuple, TypedDict, Union
|
10
10
|
|
11
11
|
from ..utils import warn
|
12
12
|
from ..versions import (
|
@@ -17,12 +17,6 @@ from ..versions import (
|
|
17
17
|
)
|
18
18
|
|
19
19
|
|
20
|
-
try:
|
21
|
-
from typing import TypedDict
|
22
|
-
except ImportError: # pragma: nocover
|
23
|
-
from typing_extensions import TypedDict
|
24
|
-
|
25
|
-
|
26
20
|
def parse_poetry_version_constraint(
|
27
21
|
s: str,
|
28
22
|
name: str = "tool.poetry.dependencies.python",
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Tools for manipulating requires-python PyPI classifiers.
|
3
3
|
"""
|
4
4
|
import re
|
5
|
-
from typing import Callable, Dict, List, Optional, Tuple, Union
|
5
|
+
from typing import Callable, Dict, List, Optional, Tuple, TypedDict, Union
|
6
6
|
|
7
7
|
from ..utils import warn
|
8
8
|
from ..versions import (
|
@@ -13,12 +13,6 @@ from ..versions import (
|
|
13
13
|
)
|
14
14
|
|
15
15
|
|
16
|
-
try:
|
17
|
-
from typing import TypedDict
|
18
|
-
except ImportError: # pragma: nocover
|
19
|
-
from typing_extensions import TypedDict
|
20
|
-
|
21
|
-
|
22
16
|
def parse_python_requires(
|
23
17
|
s: str,
|
24
18
|
name: str = "python_requires",
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/versions.py
RENAMED
@@ -11,7 +11,7 @@ from typing import Collection, List, NamedTuple, Optional, Set, Union
|
|
11
11
|
|
12
12
|
MAX_PYTHON_1_VERSION = 6 # i.e. 1.6
|
13
13
|
MAX_PYTHON_2_VERSION = 7 # i.e. 2.7
|
14
|
-
CURRENT_PYTHON_3_VERSION =
|
14
|
+
CURRENT_PYTHON_3_VERSION = 14 # i.e. 3.14
|
15
15
|
|
16
16
|
MAX_MINOR_FOR_MAJOR = {
|
17
17
|
1: MAX_PYTHON_1_VERSION,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: check-python-versions
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.23.0
|
4
4
|
Summary: Compare supported Python versions in setup.py vs tox.ini et al.
|
5
5
|
Home-page: https://github.com/mgedmin/check-python-versions
|
6
6
|
Author: Marius Gedminas
|
@@ -21,11 +21,27 @@ Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
23
23
|
Classifier: Programming Language :: Python :: 3.13
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
24
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
25
26
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
26
27
|
Requires-Python: >=3.8
|
27
28
|
Description-Content-Type: text/x-rst
|
28
29
|
License-File: LICENSE
|
30
|
+
Requires-Dist: pyyaml
|
31
|
+
Requires-Dist: tomlkit
|
32
|
+
Dynamic: author
|
33
|
+
Dynamic: author-email
|
34
|
+
Dynamic: classifier
|
35
|
+
Dynamic: description
|
36
|
+
Dynamic: description-content-type
|
37
|
+
Dynamic: home-page
|
38
|
+
Dynamic: keywords
|
39
|
+
Dynamic: license
|
40
|
+
Dynamic: license-file
|
41
|
+
Dynamic: project-url
|
42
|
+
Dynamic: requires-dist
|
43
|
+
Dynamic: requires-python
|
44
|
+
Dynamic: summary
|
29
45
|
|
30
46
|
check-python-versions
|
31
47
|
=====================
|
@@ -38,7 +54,7 @@ check-python-versions
|
|
38
54
|
:target: https://pypi.org/project/check-python-versions/
|
39
55
|
:alt: Supported Python versions
|
40
56
|
|
41
|
-
.. image:: https://github.com/mgedmin/check-python-versions/workflows/build/badge.svg?branch=master
|
57
|
+
.. image:: https://github.com/mgedmin/check-python-versions/actions/workflows/build.yml/badge.svg?branch=master
|
42
58
|
:target: https://github.com/mgedmin/check-python-versions/actions
|
43
59
|
:alt: Build status
|
44
60
|
|
@@ -413,6 +429,6 @@ Add the following snippet to your ``.pre-commit-config.yaml``.
|
|
413
429
|
|
414
430
|
repos:
|
415
431
|
- repo: https://github.com/mgedmin/check-python-versions
|
416
|
-
rev: "0.
|
432
|
+
rev: "0.23.0"
|
417
433
|
hooks:
|
418
434
|
- id: check-python-versions
|
@@ -739,6 +739,34 @@ def test_main_skip_non_packages(monkeypatch, capsys, tmp_path):
|
|
739
739
|
assert capsys.readouterr().out == ''
|
740
740
|
|
741
741
|
|
742
|
+
def test_main_allow_non_packages(monkeypatch, capsys, tmp_path):
|
743
|
+
monkeypatch.setattr(sys, 'argv', [
|
744
|
+
'check-python-versions', '--allow-non-packages', str(tmp_path),
|
745
|
+
])
|
746
|
+
with pytest.raises(SystemExit) as exc_info:
|
747
|
+
cpv.main()
|
748
|
+
assert (
|
749
|
+
capsys.readouterr().out + str(exc_info.value) + '\n'
|
750
|
+
).replace(str(tmp_path), 'tmp') == textwrap.dedent("""\
|
751
|
+
no file with version information found
|
752
|
+
|
753
|
+
mismatch!
|
754
|
+
""")
|
755
|
+
|
756
|
+
|
757
|
+
def test_main_conflicting_non_packages_options(monkeypatch, capsys, tmp_path):
|
758
|
+
monkeypatch.setattr(sys, 'argv', [
|
759
|
+
'check-python-versions', '--skip-non-packages', '--allow-non-packages',
|
760
|
+
str(tmp_path),
|
761
|
+
])
|
762
|
+
with pytest.raises(SystemExit):
|
763
|
+
cpv.main()
|
764
|
+
assert (
|
765
|
+
'use either --skip-non-packages or --allow-non-packages, not both'
|
766
|
+
in capsys.readouterr().err
|
767
|
+
)
|
768
|
+
|
769
|
+
|
742
770
|
def test_main_single(monkeypatch, capsys, tmp_path):
|
743
771
|
monkeypatch.setattr(sys, 'argv', [
|
744
772
|
'check-python-versions',
|
@@ -1,33 +0,0 @@
|
|
1
|
-
version: build-{build}-{branch}
|
2
|
-
|
3
|
-
environment:
|
4
|
-
matrix:
|
5
|
-
# https://www.appveyor.com/docs/installed-software#python lists available
|
6
|
-
# versions
|
7
|
-
- PYTHON: "C:\\Python38"
|
8
|
-
- PYTHON: "C:\\Python39"
|
9
|
-
- PYTHON: "C:\\Python310"
|
10
|
-
- PYTHON: "C:\\Python311"
|
11
|
-
- PYTHON: "C:\\Python312"
|
12
|
-
- PYTHON: "C:\\Python313"
|
13
|
-
|
14
|
-
init:
|
15
|
-
- "echo %PYTHON%"
|
16
|
-
|
17
|
-
install:
|
18
|
-
- ps: |
|
19
|
-
if (-not (Test-Path $env:PYTHON)) {
|
20
|
-
curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1
|
21
|
-
.\install_python.ps1
|
22
|
-
}
|
23
|
-
- ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" }
|
24
|
-
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
25
|
-
- python --version
|
26
|
-
- pip install -U virtualenv # upgrade pip in tox's virtualenvs
|
27
|
-
- pip install setuptools # the test suite needs the system python to have setuptools
|
28
|
-
- pip install tox
|
29
|
-
|
30
|
-
build: off
|
31
|
-
|
32
|
-
test_script:
|
33
|
-
- tox -e py
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/__main__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/src/check_python_versions/utils.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_classifiers.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/parsers/test_requires_python.py
RENAMED
File without changes
|
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_appveyor.py
RENAMED
File without changes
|
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_manylinux.py
RENAMED
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_pyproject.py
RENAMED
File without changes
|
{check-python-versions-0.22.1 → check_python_versions-0.23.0}/tests/sources/test_setup_py.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|