From 017bc152d2a8eb90e3382398e1f92b58e63ee012 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 (cherry picked from commit f8ecaca63bd17d5308fbaa2394575d3933d98349) 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 bfcab243a4b..649d5bbfa96 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" @@ -973,7 +973,7 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>= [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "f6d04fb01a63cdeac3c23c84bb4643c8afedded564c3e5ef63c221729c096a1a" +content-hash = "02cfab148d91936e79f5e042af4094f79df96ada9ff3682f61855b753086ca6e" [metadata.files] attrs = [ diff --git a/pyproject.toml b/pyproject.toml index 2f1bd9846b1..e51d60cb66f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,8 +77,8 @@ tox = "^3.18" 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", ]