From f8ecaca63bd17d5308fbaa2394575d3933d98349 Mon Sep 17 00:00:00 2001 From: finswimmer Date: Tue, 4 Oct 2022 19:28:29 +0200 Subject: [PATCH] fix: fix failing tests due to updated list of available pythons (#6561) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Randy Döring <30527984+radoering@users.noreply.github.com> --- poetry.lock | 8 ++++---- pyproject.toml | 4 ++-- tests/masonry/builders/test_editable_builder.py | 1 + tests/test_factory.py | 1 + 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 0a65c276ca0..c8db7c57f84 100644 --- a/poetry.lock +++ b/poetry.lock @@ -525,9 +525,9 @@ importlib-metadata = {version = ">=1.7.0", markers = "python_version < \"3.8\""} [package.source] type = "git" -url = "https://github.com/dimbleby/poetry-core.git" -reference = "canonicalize-extras" -resolved_reference = "9f58ecf8dddbafd38a2b4f2367a5f0f1d8ff25f4" +url = "https://github.com/finswimmer/core.git" +reference = "fix/available-pythons" +resolved_reference = "5e133e5547949ec5e0c469dda9231cc850eb83bd" [[package]] name = "poetry-plugin-export" @@ -958,7 +958,7 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>= [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "1bde59127c0958c1a4b0d097e29478841141558832d05e70b6dd97a8d2388364" +content-hash = "c7bdae481aa10cd023f9e00b8fd737bae086a828b670f6899e98968bdd587d3c" [metadata.files] attrs = [ diff --git a/pyproject.toml b/pyproject.toml index 87bfa95a04a..d4e362e28ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,8 +77,8 @@ urllib3 = "^1.26.0" pre-commit = "^2.6" [tool.poetry.group.test.dependencies] -# TODO: remove as soon as poetry-core with poetry-core#476 is available -poetry-core = { git = "https://github.com/dimbleby/poetry-core.git", branch = "canonicalize-extras" } +# TODO: remove when bumping poetry-core to 1.3 +poetry-core = { git = "https://github.com/finswimmer/core.git", branch = "fix/available-pythons" } deepdiff = "^5.0" flatdict = "^4.0.1" httpretty = "^1.0" diff --git a/tests/masonry/builders/test_editable_builder.py b/tests/masonry/builders/test_editable_builder.py index d8375198417..d8733154ceb 100644 --- a/tests/masonry/builders/test_editable_builder.py +++ b/tests/masonry/builders/test_editable_builder.py @@ -148,6 +148,7 @@ def test_builder_installs_proper_files_for_standard_packages( Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Software Development :: Build Tools Classifier: Topic :: Software Development :: Libraries :: Python Modules Project-URL: Documentation, https://python-poetry.org/docs diff --git a/tests/test_factory.py b/tests/test_factory.py index 348de29ff11..e264d51f735 100644 --- a/tests/test_factory.py +++ b/tests/test_factory.py @@ -132,6 +132,7 @@ def test_create_poetry(): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules", ]