From d6299f4d81a0c536f1970b442c4e02412b8afc47 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sat, 19 Oct 2024 18:27:51 -0400 Subject: [PATCH] PR cleanup --- pipenv/environments.py | 2 +- pipenv/routines/update.py | 4 +--- tests/integration/test_install_uri.py | 3 --- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pipenv/environments.py b/pipenv/environments.py index 47f29c83f8..e424b9e6bc 100644 --- a/pipenv/environments.py +++ b/pipenv/environments.py @@ -374,7 +374,7 @@ def __init__(self) -> None: self.PIPENV_TEST_INDEX = get_from_env("TEST_INDEX", check_for_negation=False) # Internal, for testing the resolver without using subprocess - self.PIPENV_RESOLVER_PARENT_PYTHON = get_from_env("e") + self.PIPENV_RESOLVER_PARENT_PYTHON = get_from_env("RESOLVER_PARENT_PYTHON") # Internal, tells Pipenv about the surrounding environment. self.PIPENV_USE_SYSTEM = False diff --git a/pipenv/routines/update.py b/pipenv/routines/update.py index 0a4e78cc84..42762d7df2 100644 --- a/pipenv/routines/update.py +++ b/pipenv/routines/update.py @@ -155,8 +155,6 @@ def upgrade( sys.exit(0) # Resolve package to generate constraints of new package data - # raise Exception(requested_packages[pipfile_category]) - upgrade_lock_data = venv_resolve_deps( requested_packages[pipfile_category], which=project._which, @@ -168,7 +166,7 @@ def upgrade( pypi_mirror=pypi_mirror, ) if not upgrade_lock_data: - click.echo("Nothing to upgrade II!") + click.echo("Nothing to upgrade!") sys.exit(0) complete_packages = project.parsed_pipfile.get(pipfile_category, {}) diff --git a/tests/integration/test_install_uri.py b/tests/integration/test_install_uri.py index eafebb7b0b..9ec971639d 100644 --- a/tests/integration/test_install_uri.py +++ b/tests/integration/test_install_uri.py @@ -144,9 +144,6 @@ def test_install_named_index_alias(pipenv_instance_private_pypi): @pytest.mark.index @pytest.mark.install @pytest.mark.needs_internet -@pytest.mark.skipif( - sys.version_info >= (3, 14), reason="Package does not work with Python 3.12" -) def test_install_specifying_index_url(pipenv_instance_private_pypi): with pipenv_instance_private_pypi() as p: with open(p.pipfile_path, "w") as f: