Skip to content

Commit

Permalink
PR cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Oct 19, 2024
1 parent 52cda2f commit d6299f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pipenv/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions pipenv/routines/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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, {})
Expand Down
3 changes: 0 additions & 3 deletions tests/integration/test_install_uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d6299f4

Please sign in to comment.