Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipenv can't lock after installing package from private Python repo in Google Artifact Registry #4799

Closed
nibuddg opened this issue Oct 1, 2021 · 4 comments
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.

Comments

@nibuddg
Copy link

nibuddg commented Oct 1, 2021

Issue description

After installing a simple proof-of-concept package, poc, from a private Python Repo in Google Artifact Registry, I run pipenv lock to update Pipfile.lock, but the lock fails with pipenv.exceptions.ResolutionFailure.

Interestingly, I am able to install and lock pip's sampleproject from my same Python Repo in Google Artifact Registry.

Steps to Replicate

  1. Used twine to upload my poc package to my private repo in Google Artifact Registry
  2. Created a new pipenv environment and run pipenv shell
  3. Installed keyrings.google-artifactregistry-auth in the virtual environment
  4. Installed poc with pipenv install --skip-lock -i https://us-central1-python.pkg.dev/my-project/quickstart-python-repo/simple/ poc
  5. Tried locking with pipenv lock

Expected result

I expect a simple update to the lockfile. My poc package has just one dependency: numpy. No other packages in the environment require numpy, so I am confident there is no issue with conflicting requirements.

NOTE
sampleproject also has a single requirement: peppercorn. I've tried installing and locking sampleproject with peppercorn also being present in my private repo, and not being present. In both cases I am able to install and successfully lock.

This leads me to think that perhaps there is something weird about how I've constructed my package, since the sampleproject package can install perfectly well, regardless of whether its dependencies exist with it on my private repo, or elsewhere on the standard pypi repo. In case it's relevant, I'm attaching a zip file containing the poc package files as it is after running python setup.py sdist bdist_wheel: python-quickstart.zip

Actual result

When I run pipenv lock --verbose this is what I see:

(with-pipenv) ➜  with-pipenv pipenv lock --verbose                                                                                          
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
⠙ Locking...
                          ROUND 1                           
✘ Locking Failed! 
Current constraints:
  keyrings.google-artifactregistry-auth (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 3))
  poc (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 2))
  sampleproject (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 4))

Finding the best candidates:
  found candidate keyrings.google-artifactregistry-auth==0.0.3 (constraint was <any>)
Traceback (most recent call last):
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 825, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 180, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 260, in _resolve_one_round
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 260, in <setcomp>
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 319, in get_best_match
    best_match = self.repository.find_best_match(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 205, in find_best_match
    raise NoCandidateFound(ireq, all_candidates, self.finder)
pipenv.patched.piptools.exceptions.NoCandidateFound: Could not find a version that matches poc (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 2))
No versions found
Was https://pypi.org/simple reachable?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 764, in <module>
    main()
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 758, in main
    _main(parsed.pre, parsed.clear, parsed.verbose, parsed.system, parsed.write,
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 741, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 702, in resolve_packages
    results, resolver = resolve(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 684, in resolve
    return resolve_deps(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 1397, in resolve_deps
    results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 1110, in actually_resolve_deps
    resolver.resolve()
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 835, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: Could not find a version that matches poc (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 2))
No versions found
Was https://pypi.org/simple reachable?
ROUND 1                           
Current constraints:
  keyrings.google-artifactregistry-auth (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 3))
  poc (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 2))
  sampleproject (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 4))

Finding the best candidates:
  found candidate keyrings.google-artifactregistry-auth==0.0.3 (constraint was <any>)
Traceback (most recent call last):
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 825, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 180, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 260, in _resolve_one_round
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 260, in <setcomp>
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 319, in get_best_match
    best_match = self.repository.find_best_match(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 205, in find_best_match
    raise NoCandidateFound(ireq, all_candidates, self.finder)
pipenv.patched.piptools.exceptions.NoCandidateFound: Could not find a version that matches poc (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 2))
No versions found
Was https://pypi.org/simple reachable?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 764, in <module>
    main()
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 758, in main
    _main(parsed.pre, parsed.clear, parsed.verbose, parsed.system, parsed.write,
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 741, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 702, in resolve_packages
    results, resolver = resolve(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/resolver.py", line 684, in resolve
    return resolve_deps(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 1397, in resolve_deps
    results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 1110, in actually_resolve_deps
    resolver.resolve()
  File "/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv/utils.py", line 835, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: Could not find a version that matches poc (from -r /tmp/pipenvbej_ih0orequirements/pipenv-bsbdg8rz-constraints.txt (line 2))
No versions found
Was https://pypi.org/simple reachable?

(with-pipenv) ➜ with-pipenv pipenv --support

$ pipenv --support

Pipenv version: '2021.5.29'

Pipenv location: '/home/nathanbudd/.local/lib/python3.8/site-packages/pipenv'

Python location: '/usr/bin/python3'

Python installations found:

  • 3.9.5: /home/nathanbudd/.local/share/virtualenvs/with-pipenv-l5yzpNOn/bin/python3.9
  • 3.9.5: /home/nathanbudd/.local/share/virtualenvs/with-pipenv-l5yzpNOn/bin/python3
  • 3.9.5: /home/nathanbudd/.local/share/virtualenvs/with-pipenv-l5yzpNOn/bin/python3.9
  • 3.9.5: /home/nathanbudd/.local/share/virtualenvs/with-pipenv-l5yzpNOn/bin/python3
  • 3.9.5: /usr/bin/python3.9
  • 3.9.5: /bin/python3.9
  • 3.8.10: /usr/bin/python3.8
  • 3.8.10: /usr/bin/python3
  • 3.8.10: /bin/python3.8
  • 3.8.10: /bin/python3
  • 2.7.18: /usr/bin/python2.7
  • 2.7.18: /usr/bin/python2
  • 2.7.18: /bin/python2.7
  • 2.7.18: /bin/python2

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.8.10',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '5.8.0-44-generic',
 'platform_system': 'Linux',
 'platform_version': '#50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021',
 'python_full_version': '3.8.10',
 'python_version': '3.8',
 'sys_platform': 'linux'}

System environment variables:

  • GJS_DEBUG_TOPICS
  • SSH_AUTH_SOCK
  • SESSION_MANAGER
  • GNOME_TERMINAL_SCREEN
  • SSH_AGENT_PID
  • XDG_CURRENT_DESKTOP
  • LANG
  • LANGUAGE
  • DEFAULTS_PATH
  • DISPLAY
  • COLORTERM
  • QT_IM_MODULE
  • GPG_AGENT_INFO
  • DESKTOP_SESSION
  • USER
  • XDG_MENU_PREFIX
  • HOME
  • GJS_DEBUG_OUTPUT
  • DBUS_SESSION_BUS_ADDRESS
  • PWD
  • GTK_MODULES
  • _
  • XDG_CONFIG_DIRS
  • XDG_SESSION_DESKTOP
  • JOURNAL_STREAM
  • WINDOWPATH
  • GNOME_DESKTOP_SESSION_ID
  • MANAGERPID
  • MANDATORY_PATH
  • LOGNAME
  • GNOME_TERMINAL_SERVICE
  • VTE_VERSION
  • PATH
  • XDG_RUNTIME_DIR
  • QT_ACCESSIBILITY
  • XMODIFIERS
  • XDG_SESSION_TYPE
  • GNOME_SHELL_SESSION_MODE
  • USERNAME
  • SHELL
  • INVOCATION_ID
  • SHLVL
  • XAUTHORITY
  • XDG_DATA_DIRS
  • XDG_SESSION_CLASS
  • TERM
  • GDMSESSION
  • IM_CONFIG_PHASE
  • OLDPWD
  • ZSH
  • PAGER
  • LESS
  • LSCOLORS
  • LS_COLORS
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONDONTWRITEBYTECODE
  • PIP_PYTHON_PATH
  • PIPENV_ACTIVE
  • VIRTUAL_ENV
  • PS1
  • PIP_SHIMS_BASE_MODULE
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

  • PIPENV_ACTIVE: 1

Debug–specific environment variables:

  • PATH: /home/nathanbudd/.local/share/virtualenvs/with-pipenv-l5yzpNOn/bin:/home/nathanbudd/.poetry/bin:/home/nathanbudd/.local/bin:/home/nathanbudd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/nathanbudd/.dotnet/tools
  • SHELL: /bin/bash
  • LANG: en_CA.UTF-8
  • PWD: /home/nathanbudd/dev/test/car-python-quickstart/with-pipenv
  • VIRTUAL_ENV: /home/nathanbudd/.local/share/virtualenvs/with-pipenv-l5yzpNOn

Contents of Pipfile ('/home/nathanbudd/dev/test/car-python-quickstart/with-pipenv/Pipfile'):

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
"keyrings.google-artifactregistry-auth" = "*"
sampleproject = {version = "*", index = "https://us-central1-python.pkg.dev/nathan-budd/quickstart-python-repo/simple/"}
poc = {version = "*", index = "https://us-central1-python.pkg.dev/nathan-budd/quickstart-python-repo/simple/"}

[dev-packages]

[requires]
python_version = "3.9"

Contents of Pipfile.lock ('/home/nathanbudd/dev/test/car-python-quickstart/with-pipenv/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "dcdd190140ce03cbefcea1fe7b0be58872b0bbd7fb51a4acdfc43c0db9196a1d"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.9"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "cachetools": {
            "hashes": [
                "sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693",
                "sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1"
            ],
            "markers": "python_version ~= '3.5'",
            "version": "==4.2.4"
        },
        "certifi": {
            "hashes": [
                "sha256:2bbf76fd432960138b3ef6dda3dde0544f27cbf8546c458e60baf371917ba9ee",
                "sha256:50b1e4f8446b06f41be7dd6338db18e0990601dce795c2b1686458aa7e8fa7d8"
            ],
            "version": "==2021.5.30"
        },
        "cffi": {
            "hashes": [
                "sha256:06c54a68935738d206570b20da5ef2b6b6d92b38ef3ec45c5422c0ebaf338d4d",
                "sha256:0c0591bee64e438883b0c92a7bed78f6290d40bf02e54c5bf0978eaf36061771",
                "sha256:19ca0dbdeda3b2615421d54bef8985f72af6e0c47082a8d26122adac81a95872",
                "sha256:22b9c3c320171c108e903d61a3723b51e37aaa8c81255b5e7ce102775bd01e2c",
                "sha256:26bb2549b72708c833f5abe62b756176022a7b9a7f689b571e74c8478ead51dc",
                "sha256:33791e8a2dc2953f28b8d8d300dde42dd929ac28f974c4b4c6272cb2955cb762",
                "sha256:3c8d896becff2fa653dc4438b54a5a25a971d1f4110b32bd3068db3722c80202",
                "sha256:4373612d59c404baeb7cbd788a18b2b2a8331abcc84c3ba40051fcd18b17a4d5",
                "sha256:487d63e1454627c8e47dd230025780e91869cfba4c753a74fda196a1f6ad6548",
                "sha256:48916e459c54c4a70e52745639f1db524542140433599e13911b2f329834276a",
                "sha256:4922cd707b25e623b902c86188aca466d3620892db76c0bdd7b99a3d5e61d35f",
                "sha256:55af55e32ae468e9946f741a5d51f9896da6b9bf0bbdd326843fec05c730eb20",
                "sha256:57e555a9feb4a8460415f1aac331a2dc833b1115284f7ded7278b54afc5bd218",
                "sha256:5d4b68e216fc65e9fe4f524c177b54964af043dde734807586cf5435af84045c",
                "sha256:64fda793737bc4037521d4899be780534b9aea552eb673b9833b01f945904c2e",
                "sha256:6d6169cb3c6c2ad50db5b868db6491a790300ade1ed5d1da29289d73bbe40b56",
                "sha256:7bcac9a2b4fdbed2c16fa5681356d7121ecabf041f18d97ed5b8e0dd38a80224",
                "sha256:80b06212075346b5546b0417b9f2bf467fea3bfe7352f781ffc05a8ab24ba14a",
                "sha256:818014c754cd3dba7229c0f5884396264d51ffb87ec86e927ef0be140bfdb0d2",
                "sha256:8eb687582ed7cd8c4bdbff3df6c0da443eb89c3c72e6e5dcdd9c81729712791a",
                "sha256:99f27fefe34c37ba9875f224a8f36e31d744d8083e00f520f133cab79ad5e819",
                "sha256:9f3e33c28cd39d1b655ed1ba7247133b6f7fc16fa16887b120c0c670e35ce346",
                "sha256:a8661b2ce9694ca01c529bfa204dbb144b275a31685a075ce123f12331be790b",
                "sha256:a9da7010cec5a12193d1af9872a00888f396aba3dc79186604a09ea3ee7c029e",
                "sha256:aedb15f0a5a5949ecb129a82b72b19df97bbbca024081ed2ef88bd5c0a610534",
                "sha256:b315d709717a99f4b27b59b021e6207c64620790ca3e0bde636a6c7f14618abb",
                "sha256:ba6f2b3f452e150945d58f4badd92310449876c4c954836cfb1803bdd7b422f0",
                "sha256:c33d18eb6e6bc36f09d793c0dc58b0211fccc6ae5149b808da4a62660678b156",
                "sha256:c9a875ce9d7fe32887784274dd533c57909b7b1dcadcc128a2ac21331a9765dd",
                "sha256:c9e005e9bd57bc987764c32a1bee4364c44fdc11a3cc20a40b93b444984f2b87",
                "sha256:d2ad4d668a5c0645d281dcd17aff2be3212bc109b33814bbb15c4939f44181cc",
                "sha256:d950695ae4381ecd856bcaf2b1e866720e4ab9a1498cba61c602e56630ca7195",
                "sha256:e22dcb48709fc51a7b58a927391b23ab37eb3737a98ac4338e2448bef8559b33",
                "sha256:e8c6a99be100371dbb046880e7a282152aa5d6127ae01783e37662ef73850d8f",
                "sha256:e9dc245e3ac69c92ee4c167fbdd7428ec1956d4e754223124991ef29eb57a09d",
                "sha256:eb687a11f0a7a1839719edd80f41e459cc5366857ecbed383ff376c4e3cc6afd",
                "sha256:eb9e2a346c5238a30a746893f23a9535e700f8192a68c07c0258e7ece6ff3728",
                "sha256:ed38b924ce794e505647f7c331b22a693bee1538fdf46b0222c4717b42f744e7",
                "sha256:f0010c6f9d1a4011e429109fda55a225921e3206e7f62a0c22a35344bfd13cca",
                "sha256:f0c5d1acbfca6ebdd6b1e3eded8d261affb6ddcf2186205518f1428b8569bb99",
                "sha256:f10afb1004f102c7868ebfe91c28f4a712227fe4cb24974350ace1f90e1febbf",
                "sha256:f174135f5609428cc6e1b9090f9268f5c8935fddb1b25ccb8255a2d50de6789e",
                "sha256:f3ebe6e73c319340830a9b2825d32eb6d8475c1dac020b4f0aa774ee3b898d1c",
                "sha256:f627688813d0a4140153ff532537fbe4afea5a3dffce1f9deb7f91f848a832b5",
                "sha256:fd4305f86f53dfd8cd3522269ed7fc34856a8ee3709a5e28b2836b2db9d4cd69"
            ],
            "version": "==1.14.6"
        },
        "charset-normalizer": {
            "hashes": [
                "sha256:5d209c0a931f215cee683b6445e2d77677e7e75e159f78def0db09d68fafcaa6",
                "sha256:5ec46d183433dcbd0ab716f2d7f29d8dee50505b3fdb40c6b985c7c4f5a3591f"
            ],
            "markers": "python_version >= '3'",
            "version": "==2.0.6"
        },
        "cryptography": {
            "hashes": [
                "sha256:07bb7fbfb5de0980590ddfc7f13081520def06dc9ed214000ad4372fb4e3c7f6",
                "sha256:18d90f4711bf63e2fb21e8c8e51ed8189438e6b35a6d996201ebd98a26abbbe6",
                "sha256:1ed82abf16df40a60942a8c211251ae72858b25b7421ce2497c2eb7a1cee817c",
                "sha256:22a38e96118a4ce3b97509443feace1d1011d0571fae81fc3ad35f25ba3ea999",
                "sha256:2d69645f535f4b2c722cfb07a8eab916265545b3475fdb34e0be2f4ee8b0b15e",
                "sha256:4a2d0e0acc20ede0f06ef7aa58546eee96d2592c00f450c9acb89c5879b61992",
                "sha256:54b2605e5475944e2213258e0ab8696f4f357a31371e538ef21e8d61c843c28d",
                "sha256:7075b304cd567694dc692ffc9747f3e9cb393cc4aa4fb7b9f3abd6f5c4e43588",
                "sha256:7b7ceeff114c31f285528ba8b390d3e9cfa2da17b56f11d366769a807f17cbaa",
                "sha256:7eba2cebca600a7806b893cb1d541a6e910afa87e97acf2021a22b32da1df52d",
                "sha256:928185a6d1ccdb816e883f56ebe92e975a262d31cc536429041921f8cb5a62fd",
                "sha256:9933f28f70d0517686bd7de36166dda42094eac49415459d9bdf5e7df3e0086d",
                "sha256:a688ebcd08250eab5bb5bca318cc05a8c66de5e4171a65ca51db6bd753ff8953",
                "sha256:abb5a361d2585bb95012a19ed9b2c8f412c5d723a9836418fab7aaa0243e67d2",
                "sha256:c10c797ac89c746e488d2ee92bd4abd593615694ee17b2500578b63cad6b93a8",
                "sha256:ced40344e811d6abba00295ced98c01aecf0c2de39481792d87af4fa58b7b4d6",
                "sha256:d57e0cdc1b44b6cdf8af1d01807db06886f10177469312fbde8f44ccbb284bc9",
                "sha256:d99915d6ab265c22873f1b4d6ea5ef462ef797b4140be4c9d8b179915e0985c6",
                "sha256:eb80e8a1f91e4b7ef8b33041591e6d89b2b8e122d787e87eeb2b08da71bb16ad",
                "sha256:ebeddd119f526bcf323a89f853afb12e225902a24d29b55fe18dd6fcb2838a76"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==35.0.0"
        },
        "google-auth": {
            "hashes": [
                "sha256:2a92b485afed5292946b324e91fcbe03db277ee4cb64c998c6cfa66d4af01dee",
                "sha256:6dc8173abd50f25b6e62fc5b42802c96fc7cd9deb9bfeeb10a79f5606225cdf4"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==2.2.1"
        },
        "idna": {
            "hashes": [
                "sha256:14475042e284991034cb48e06f6851428fb14c4dc953acd9be9a5e95c7b6dd7a",
                "sha256:467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3"
            ],
            "markers": "python_version >= '3'",
            "version": "==3.2"
        },
        "importlib-metadata": {
            "hashes": [
                "sha256:b618b6d2d5ffa2f16add5697cf57a46c76a56229b0ed1c438322e4e95645bd15",
                "sha256:f284b3e11256ad1e5d03ab86bb2ccd6f5339688ff17a4d797a0fe7df326f23b1"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==4.8.1"
        },
        "jeepney": {
            "hashes": [
                "sha256:1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac",
                "sha256:fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f"
            ],
            "markers": "sys_platform == 'linux'",
            "version": "==0.7.1"
        },
        "keyring": {
            "hashes": [
                "sha256:6334aee6073db2fb1f30892697b1730105b5e9a77ce7e61fca6b435225493efe",
                "sha256:bd2145a237ed70c8ce72978b497619ddfcae640b6dcf494402d5143e37755c6e"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==23.2.1"
        },
        "keyrings.google-artifactregistry-auth": {
            "hashes": [
                "sha256:54f69bc1755b1778bfbc62dd6b9a6c872579db2929c010341582043ce6c9db35",
                "sha256:abbda4133107876a948f5ac8da2513fefa47280ca17be48dc7b0c226175d1922"
            ],
            "index": "pypi",
            "version": "==0.0.3"
        },
        "peppercorn": {
            "hashes": [
                "sha256:46125cad688a9cf3b08e463bcb797891ee73ece93602a8ea6f14e40d1042d454",
                "sha256:96d7681d7a04545cfbaf2c6fb66de67b29cfc42421aa263e4c78f2cbb85be4c6"
            ],
            "version": "==0.6"
        },
        "pluggy": {
            "hashes": [
                "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159",
                "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==1.0.0"
        },
        "pyasn1": {
            "hashes": [
                "sha256:014c0e9976956a08139dc0712ae195324a75e142284d5f87f1a87ee1b068a359",
                "sha256:03840c999ba71680a131cfaee6fab142e1ed9bbd9c693e285cc6aca0d555e576",
                "sha256:0458773cfe65b153891ac249bcf1b5f8f320b7c2ce462151f8fa74de8934becf",
                "sha256:08c3c53b75eaa48d71cf8c710312316392ed40899cb34710d092e96745a358b7",
                "sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d",
                "sha256:5c9414dcfede6e441f7e8f81b43b34e834731003427e5b09e4e00e3172a10f00",
                "sha256:6e7545f1a61025a4e58bb336952c5061697da694db1cae97b116e9c46abcf7c8",
                "sha256:78fa6da68ed2727915c4767bb386ab32cdba863caa7dbe473eaae45f9959da86",
                "sha256:7ab8a544af125fb704feadb008c99a88805126fb525280b2270bb25cc1d78a12",
                "sha256:99fcc3c8d804d1bc6d9a099921e39d827026409a58f2a720dcdb89374ea0c776",
                "sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba",
                "sha256:e89bf84b5437b532b0803ba5c9a5e054d21fec423a89952a74f87fa2c9b7bce2",
                "sha256:fec3e9d8e36808a28efb59b489e4528c10ad0f480e57dcc32b4de5c9d8c9fdf3"
            ],
            "version": "==0.4.8"
        },
        "pyasn1-modules": {
            "hashes": [
                "sha256:0845a5582f6a02bb3e1bde9ecfc4bfcae6ec3210dd270522fee602365430c3f8",
                "sha256:0fe1b68d1e486a1ed5473f1302bd991c1611d319bba158e98b106ff86e1d7199",
                "sha256:15b7c67fabc7fc240d87fb9aabf999cf82311a6d6fb2c70d00d3d0604878c811",
                "sha256:426edb7a5e8879f1ec54a1864f16b882c2837bfd06eee62f2c982315ee2473ed",
                "sha256:65cebbaffc913f4fe9e4808735c95ea22d7a7775646ab690518c056784bc21b4",
                "sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e",
                "sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74",
                "sha256:a99324196732f53093a84c4369c996713eb8c89d360a496b599fb1a9c47fc3eb",
                "sha256:b80486a6c77252ea3a3e9b1e360bc9cf28eaac41263d173c032581ad2f20fe45",
                "sha256:c29a5e5cc7a3f05926aff34e097e84f8589cd790ce0ed41b67aed6857b26aafd",
                "sha256:cbac4bc38d117f2a49aeedec4407d23e8866ea4ac27ff2cf7fb3e5b570df19e0",
                "sha256:f39edd8c4ecaa4556e989147ebf219227e2cd2e8a43c7e7fcb1f1c18c5fd6a3d",
                "sha256:fe0644d9ab041506b62782e92b06b8c68cca799e1a9636ec398675459e031405"
            ],
            "version": "==0.2.8"
        },
        "pycparser": {
            "hashes": [
                "sha256:2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0",
                "sha256:7582ad22678f0fcd81102833f60ef8d0e57288b6b5fb00323d101be910e35705"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
            "version": "==2.20"
        },
        "requests": {
            "hashes": [
                "sha256:6c1246513ecd5ecd4528a0906f910e8f0f9c6b8ec72030dc9fd154dc1a6efd24",
                "sha256:b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'",
            "version": "==2.26.0"
        },
        "rsa": {
            "hashes": [
                "sha256:78f9a9bf4e7be0c5ded4583326e7461e3a3c5aae24073648b4bdfa797d78c9d2",
                "sha256:9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9"
            ],
            "markers": "python_version >= '3.5' and python_version < '4'",
            "version": "==4.7.2"
        },
        "sampleproject": {
            "hashes": [
                "sha256:2b0c55537193b792098977fdb62f0acbaeb2c3cfc56d0e24ccab775201462e04",
                "sha256:d99de34ffae5515db43916ec47380d3c603e9dead526f96581b48c070cc816d3"
            ],
            "index": "https://us-central1-python.pkg.dev/nathan-budd/quickstart-python-repo/simple/",
            "version": "==2.0.0"
        },
        "secretstorage": {
            "hashes": [
                "sha256:422d82c36172d88d6a0ed5afdec956514b189ddbfb72fefab0c8a1cee4eaf71f",
                "sha256:fd666c51a6bf200643495a04abb261f83229dcb6fd8472ec393df7ffc8b6f195"
            ],
            "markers": "sys_platform == 'linux'",
            "version": "==3.3.1"
        },
        "urllib3": {
            "hashes": [
                "sha256:4987c65554f7a2dbf30c18fd48778ef124af6fab771a377103da0585e2336ece",
                "sha256:c4fdf4019605b6e5423637e01bc9fe4daef873709a7973e195ceba0a62bbc844"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'",
            "version": "==1.26.7"
        },
        "zipp": {
            "hashes": [
                "sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832",
                "sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==3.6.0"
        }
    },
    "develop": {}
}
@nibuddg
Copy link
Author

nibuddg commented Oct 1, 2021

Interestingly, the install and lock of my poc package succeeds if I install it dfirectly from a local wheel file: pipenv install pkg/poc-0.2.0-py3-none-any.whl

@rbeyweiss-cloudflight
Copy link

I am facing the same problem and wonder if you have found a reasonable workaround other than installing via the wheel file itself?

@nibuddg
Copy link
Author

nibuddg commented Nov 15, 2021

Another workaround could be to also have a requirements.txt, which you use with pip install -r requirements.txt after setting up the environment first via pipenv. Pip doesn't have an issue installing stuff from a private registry, but I'm not sure this is any better/worse than the other workaround

@matteius
Copy link
Member

matteius commented Dec 19, 2021

Related thread with an alternative workaround, and another user interested in fixing this: #4706

Closing this issue as a duplicate.

@matteius matteius added the Type: Duplicate This issue is a duplicate of an already-existing issue. label Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.
Projects
None yet
Development

No branches or pull requests

3 participants