Skip to content

Commit

Permalink
Update test show for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jan 15, 2024
1 parent 03617d2 commit d74ff54
Show file tree
Hide file tree
Showing 8 changed files with 1,657 additions and 2 deletions.
12 changes: 11 additions & 1 deletion tests/test_cli/test_show.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# stdlib
import sys

# 3rd party
import pytest
from coincidence.regressions import AdvancedFileRegressionFixture
Expand Down Expand Up @@ -71,7 +74,14 @@ def test_changelog(
pytest.param("3.8", marks=only_version(3.8, reason="Output differs on Python 3.8")),
pytest.param("3.9", marks=only_version(3.9, reason="Output differs on Python 3.9")),
pytest.param("3.10", marks=only_version("3.10", "Output differs on Python 3.10")),
pytest.param("3.11+", marks=min_version("3.11", "Output differs on Python 3.11+")),
pytest.param(
"3.11+",
marks=pytest.mark.skipif(
sys.version_info[:2] not in {(3, 11), (3, 11)},
reason="Output differs on Python 3.11&12"
)
),
pytest.param("3.13+", marks=min_version("3.13", "Output differs on Python 3.13")),
]
)

Expand Down
2 changes: 2 additions & 0 deletions tests/test_cli/test_show_/test_requirements_3_11__.tree
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ repo_helper==2020.12.18
│ │ │ └── rpds-py>=0.7.0
│ │ └── rpds-py>=0.7.1
│ ├── ruamel.yaml>=0.16.12
│ │ └── ruamel.yaml.clib>=0.2.7; platform_python_implementation == "CPython" and python_version < "3.13"
│ ├── typing-extensions>=3.7.4.3
│ └── typing-inspect>=0.6.0
│ ├── mypy-extensions>=0.3.0
Expand Down Expand Up @@ -479,6 +480,7 @@ repo_helper==2020.12.18
│ ├── idna<4,>=2.5
│ └── urllib3<3,>=1.21.1
├── ruamel.yaml>=0.17.4
│ └── ruamel.yaml.clib>=0.2.7; platform_python_implementation == "CPython" and python_version < "3.13"
├── shippinglabel>=1.7.1
│ ├── apeye>=1.0.0
│ │ ├── apeye-core>=1.0.0b2
Expand Down
784 changes: 784 additions & 0 deletions tests/test_cli/test_show_/test_requirements_3_13__.tree

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ repo_helper==2020.12.18
├── referencing>=0.31.0
├── requests>=2.27.1
├── rpds-py>=0.7.1
├── ruamel-yaml-clib>=0.2.7; platform_python_implementation == "CPython" and python_version < "3.13"
├── ruamel.yaml>=0.17.4
├── shippinglabel>=1.7.1
├── shippinglabel-conda>=0.1.0
Expand Down
62 changes: 62 additions & 0 deletions tests/test_cli/test_show_/test_requirements_concise_3_13__.tree
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
repo_helper==2020.12.18
├── apeye>=1.2.0
├── apeye-core>=1.0.0b2
├── astatine>=0.3.1
├── asttokens>=2.0.4
├── attr-utils>=0.5.5
├── attrs>=22.2.0
├── certifi>=2017.4.17
├── charset-normalizer<4,>=2
├── click==7.1.2
├── colorful>=0.4.0
├── configconfig>=0.5.0
├── consolekit>=1.4.1
├── cssutils>=2.2.0
├── deprecation>=2.1.0
├── deprecation-alias>=0.3.2
├── dict2css>=0.2.0
├── dist-meta>=0.5.0
├── dom-toml>=0.5.0
├── domdf-python-tools>=3.8.0
├── dulwich!=0.20.7,!=0.20.8,!=0.20.9,>=0.20.5
├── filelock>=3.0.12
├── first>=2.0.2
├── formate>=0.7.0
├── handy-archives>=0.1.0
├── idna<4,>=2.5
├── importlib-metadata>=6.6.0
├── isort>=5.5.2
├── jinja2>=2.11.3
├── jsonschema>=3.2.0
├── jsonschema-specifications>=2023.03.6
├── markupsafe>=2.0
├── mistletoe>=0.7.2
├── mkrecipe>=0.3.0
├── mypy-extensions>=0.3.0
├── natsort>=7.1.1
├── packaging>=21.3
├── platformdirs>=3.5.1
├── prettyprinter>=0.18.0
├── pygments>=2.2.0
├── pypi-json>=0.2.1
├── pyproject-parser>=0.6.0
├── referencing>=0.31.0
├── requests>=2.27.1
├── rpds-py>=0.7.1
├── ruamel.yaml>=0.17.4
├── shippinglabel>=1.7.1
├── shippinglabel-conda>=0.1.0
├── shippinglabel-pypi>=0.1.0
├── six
├── southwark>=0.7.1
├── tabulate>=0.8.8
├── toml>=0.10.2
├── tomli>=2.0.1
├── toolz>=0.11.1
├── typing-extensions!=3.10.0.1,!=4.7.0,>=4.0.0
├── typing-inspect>=0.6.0
├── urllib3<3,>=1.25
├── whey>=0.0.17
├── yapf>=0.30.0
├── yapf-isort>=0.5.2
└── zipp>=0.5
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ repo_helper==2020.12.18
│ │ │ └── rpds-py>=0.7.0
│ │ └── rpds-py>=0.7.1
│ ├── ruamel.yaml>=0.16.12
│ │ └── ruamel.yaml.clib>=0.2.7; platform_python_implementation == "CPython" and python_version < "3.13"
│ ├── typing-extensions>=3.7.4.3
│ └── typing-inspect>=0.6.0
│ ├── mypy-extensions>=0.3.0
Expand Down Expand Up @@ -479,6 +480,7 @@ repo_helper==2020.12.18
│ ├── idna<4,>=2.5
│ └── urllib3<3,>=1.21.1
├── ruamel.yaml>=0.17.4
│ └── ruamel.yaml.clib>=0.2.7; platform_python_implementation == "CPython" and python_version < "3.13"
├── shippinglabel>=1.7.1
│ ├── apeye>=1.0.0
│ │ ├── apeye-core>=1.0.0b2
Expand Down

0 comments on commit d74ff54

Please sign in to comment.