Skip to content

Instantly share code, notes, and snippets.

@notatallshaw
Created August 21, 2023 07:33
Show Gist options
  • Save notatallshaw/f39c7986aa81fb05ee3a710787484551 to your computer and use it in GitHub Desktop.
Save notatallshaw/f39c7986aa81fb05ee3a710787484551 to your computer and use it in GitHub Desktop.
Pip Debug Output
(.venv) damian@You-Are-My-Sunshine:~/issue134$ python -m pip download -r requirements.txt -d downloads --debug
Collecting pandas (from -r requirements.txt (line 1))
Obtaining dependency information for pandas from https://files.pythonhosted.org/packages/9e/0d/91a9fd2c202f2b1d97a38ab591890f86480ecbb596cbc56d035f6f23fdcc/pandas-2.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached pandas-2.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Collecting pystac (from -r requirements.txt (line 2))
File was already downloaded /home/damian/issue134/downloads/pystac-1.8.3-py3-none-any.whl
Collecting pystac-client (from -r requirements.txt (line 3))
Obtaining dependency information for pystac-client from https://files.pythonhosted.org/packages/44/20/3a594b416f0b8ea2942d08bbbdc6a491441fcd720a6dc87668865ea33f32/pystac_client-0.7.2-py3-none-any.whl.metadata
Using cached pystac_client-0.7.2-py3-none-any.whl.metadata (5.3 kB)
Collecting sat-stac (from -r requirements.txt (line 4))
File was already downloaded /home/damian/issue134/downloads/sat-stac-0.4.1.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting python-dateutil>=2.8.2 (from pandas->-r requirements.txt (line 1))
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2020.1 (from pandas->-r requirements.txt (line 1))
File was already downloaded /home/damian/issue134/downloads/pytz-2023.3-py2.py3-none-any.whl
Collecting tzdata>=2022.1 (from pandas->-r requirements.txt (line 1))
Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting numpy>=1.20.3 (from pandas->-r requirements.txt (line 1))
File was already downloaded /home/damian/issue134/downloads/numpy-1.25.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Collecting requests>=2.28.2 (from pystac-client->-r requirements.txt (line 3))
File was already downloaded /home/damian/issue134/downloads/requests-2.31.0-py3-none-any.whl
INFO: pip is looking at multiple versions of sat-stac to determine which version is compatible with other requirements. This could take a while.
Collecting sat-stac (from -r requirements.txt (line 4))
Using cached sat-stac-0.4.0.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.3.3.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.3.2.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.3.1.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.3.0.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.2.0.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.1.3.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
INFO: pip is still looking at multiple versions of sat-stac to determine which version is compatible with other requirements. This could take a while.
Using cached sat-stac-0.1.2.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.1.1.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached sat-stac-0.1.0.tar.gz (16 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pystac-client (from -r requirements.txt (line 3))
Obtaining dependency information for pystac-client from https://files.pythonhosted.org/packages/ca/9e/7fb66f245a576766baacf8d1e73440b87375a19d40aaf1484f553da4ff8b/pystac_client-0.7.1-py3-none-any.whl.metadata
Using cached pystac_client-0.7.1-py3-none-any.whl.metadata (5.3 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Obtaining dependency information for pystac-client from https://files.pythonhosted.org/packages/b6/53/6ba858cad5001b05100a3ade49d11058179b0325e185d4ed4262ecc28df8/pystac_client-0.7.0-py3-none-any.whl.metadata
Using cached pystac_client-0.7.0-py3-none-any.whl.metadata (5.3 kB)
File was already downloaded /home/damian/issue134/downloads/pystac_client-0.6.1-py3-none-any.whl
Using cached pystac_client-0.6.0-py3-none-any.whl (30 kB)
Using cached pystac_client-0.5.1-py3-none-any.whl (29 kB)
Using cached pystac_client-0.5.0-py3-none-any.whl (29 kB)
Using cached pystac_client-0.4.0-py3-none-any.whl (24 kB)
Using cached pystac_client-0.3.5-py3-none-any.whl (19 kB)
Using cached pystac_client-0.3.4-py3-none-any.whl (19 kB)
Using cached pystac_client-0.3.3-py3-none-any.whl (19 kB)
Using cached pystac_client-0.3.2-py3-none-any.whl (19 kB)
Collecting pystac (from -r requirements.txt (line 2))
Using cached pystac-1.2.0-py3-none-any.whl (132 kB)
Collecting pystac-client (from -r requirements.txt (line 3))
Using cached pystac_client-0.3.1-py3-none-any.whl (27 kB)
Using cached pystac_client-0.3.0-py3-none-any.whl (25 kB)
Collecting pystac (from -r requirements.txt (line 2))
Using cached pystac-1.1.0-py3-none-any.whl (201 kB)
Collecting pystac-client (from -r requirements.txt (line 3))
Using cached pystac_client-0.2.0-py3-none-any.whl (27 kB)
Collecting requests~=2.25.1 (from pystac-client->-r requirements.txt (line 3))
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting pystac-client (from -r requirements.txt (line 3))
Using cached pystac_client-0.1.1-py3-none-any.whl (34 kB)
Collecting pystac (from -r requirements.txt (line 2))
Using cached pystac-0.5.6-py3-none-any.whl (136 kB)
Collecting pystac-client (from -r requirements.txt (line 3))
Using cached pystac_client-0.1.0-py3-none-any.whl (33 kB)
Collecting pystac (from -r requirements.txt (line 2))
Obtaining dependency information for pystac from https://files.pythonhosted.org/packages/d2/e7/cbf54bd764999d5bcc09d17d7a8de08ce22fbcb8cbe934deb0e3cafb1778/pystac-1.8.2-py3-none-any.whl.metadata
Using cached pystac-1.8.2-py3-none-any.whl.metadata (6.3 kB)
Obtaining dependency information for pystac from https://files.pythonhosted.org/packages/08/e4/3e66e30c9c76cb0ac4328af498dd3e900fd7a63bc31edc8323e21c2abe61/pystac-1.8.1-py3-none-any.whl.metadata
Using cached pystac-1.8.1-py3-none-any.whl.metadata (6.3 kB)
Using cached pystac-1.7.3-py3-none-any.whl (150 kB)
Using cached pystac-1.7.2-py3-none-any.whl (154 kB)
Using cached pystac-1.7.1-py3-none-any.whl (153 kB)
Using cached pystac-1.7.0-py3-none-any.whl (153 kB)
Using cached pystac-1.6.1-py3-none-any.whl (146 kB)
INFO: pip is looking at multiple versions of pystac-client to determine which version is compatible with other requirements. This could take a while.
INFO: pip is still looking at multiple versions of pystac-client to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
ERROR: Cannot install -r requirements.txt (line 3) and pystac because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested pystac
pystac-client 0.6.1 depends on pystac>=1.7.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py:316 │
│ in _backjump │
│ │
│ 313 │ │ │ │ # Retrieve the last candidate pin and known incompatibilities. │
│ 314 │ │ │ │ try: │
│ 315 │ │ │ │ │ broken_state = self._states.pop() │
│ ❱ 316 │ │ │ │ │ name, candidate = broken_state.mapping.popitem() │
│ 317 │ │ │ │ except (IndexError, KeyError): │
│ 318 │ │ │ │ │ raise ResolutionImpossible(causes) │
│ 319 │ │ │ │ current_dependencies = { │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ broken_state = State( │ │
│ │ │ mapping=OrderedDict(), │ │
│ │ │ criteria={ │ │
│ │ │ │ 'pandas': Criterion((SpecifierRequirement('pandas'), │ │
│ │ via=None)), │ │
│ │ │ │ 'pystac': Criterion((SpecifierRequirement('pystac'), │ │
│ │ via=None)), │ │
│ │ │ │ 'pystac-client': │ │
│ │ Criterion((SpecifierRequirement('pystac-client'), via=None)), │ │
│ │ │ │ 'sat-stac': Criterion((SpecifierRequirement('sat-stac'), │ │
│ │ via=None)) │ │
│ │ │ }, │ │
│ │ │ backtrack_causes=[] │ │
│ │ ) │ │
│ │ candidate = LinkCandidate('https://files.pythonhosted.org/packages/9e/0d/91a9fd2… │ │
│ │ (from https://pypi.org/simple/pandas/) (requires-python:>=3.8)') │ │
│ │ causes = [ │ │
│ │ │ RequirementInformation( │ │
│ │ │ │ requirement=SpecifierRequirement('pystac'), │ │
│ │ │ │ parent=None │ │
│ │ │ ), │ │
│ │ │ RequirementInformation( │ │
│ │ │ │ requirement=SpecifierRequirement('pystac>=1.7.0'), │ │
│ │ │ │ │ │
│ │ parent=LinkCandidate('https://files.pythonhosted.org/packages/4c/99/… │ │
│ │ (from https://pypi.org/simple/pystac-client/) │ │
│ │ (requires-python:>=3.8)') │ │
│ │ │ ) │ │
│ │ ] │ │
│ │ current_dependencies = { │ │
│ │ │ '<Python from Requires-Python>', │ │
│ │ │ 'tzdata', │ │
│ │ │ 'numpy', │ │
│ │ │ 'pytz', │ │
│ │ │ 'python-dateutil' │ │
│ │ } │ │
│ │ incompatible_deps = {'pystac', 'pystac-client'} │ │
│ │ incompatible_reqs = <itertools.chain object at 0x7f9e2c8b3100> │ │
│ │ incompatible_state = False │ │
│ │ name = 'pandas' │ │
│ │ self = <pip._vendor.resolvelib.resolvers.Resolution object at │ │
│ │ 0x7f9e2cfd8fa0> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: 'dictionary is empty'
During handling of the above exception, another exception occurred:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/reso │
│ lver.py:92 in resolve │
│ │
│ 89 │ │ │
│ 90 │ │ try: │
│ 91 │ │ │ limit_how_complex_resolution_can_be = 200000 │
│ ❱ 92 │ │ │ result = self._result = resolver.resolve( │
│ 93 │ │ │ │ collected.requirements, max_rounds=limit_how_complex_resolution_can_be │
│ 94 │ │ │ ) │
│ 95 │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ check_supported_wheels = True │ │
│ │ collected = CollectedRootRequirements( │ │
│ │ │ requirements=[ │ │
│ │ │ │ SpecifierRequirement('pandas'), │ │
│ │ │ │ SpecifierRequirement('pystac'), │ │
│ │ │ │ SpecifierRequirement('pystac-client'), │ │
│ │ │ │ SpecifierRequirement('sat-stac') │ │
│ │ │ ], │ │
│ │ │ constraints={}, │ │
│ │ │ user_requested={ │ │
│ │ │ │ 'pandas': 0, │ │
│ │ │ │ 'pystac': 1, │ │
│ │ │ │ 'pystac-client': 2, │ │
│ │ │ │ 'sat-stac': 3 │ │
│ │ │ } │ │
│ │ ) │ │
│ │ error = DistributionNotFound('ResolutionImpossible: for help │ │
│ │ visit │ │
│ │ https://pip.pypa.io/en/latest/topics/dependency-resol… │ │
│ │ limit_how_complex_resolution_can_be = 200000 │ │
│ │ provider = <pip._internal.resolution.resolvelib.provider.PipProv… │ │
│ │ object at 0x7f9e2cfd8d30> │ │
│ │ reporter = <pip._internal.resolution.resolvelib.reporter.PipRepo… │ │
│ │ object at 0x7f9e2cfd8ee0> │ │
│ │ resolver = <pip._vendor.resolvelib.resolvers.Resolver object at │ │
│ │ 0x7f9e2cfd8f40> │ │
│ │ root_reqs = [ │ │
│ │ │ <InstallRequirement object: pandas (from -r │ │
│ │ requirements.txt (line 1)) editable=False>, │ │
│ │ │ <InstallRequirement object: pystac (from -r │ │
│ │ requirements.txt (line 2)) editable=False>, │ │
│ │ │ <InstallRequirement object: pystac-client (from -r │ │
│ │ requirements.txt (line 3)) editable=False>, │ │
│ │ │ <InstallRequirement object: sat-stac (from -r │ │
│ │ requirements.txt (line 4)) editable=False> │ │
│ │ ] │ │
│ │ self = <pip._internal.resolution.resolvelib.resolver.Resolver │ │
│ │ object at 0x7f9e2d07b460> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py:546 │
│ in resolve │
│ │
│ 543 │ │ │ `max_rounds` argument. │
│ 544 │ │ """ │
│ 545 │ │ resolution = Resolution(self.provider, self.reporter) │
│ ❱ 546 │ │ state = resolution.resolve(requirements, max_rounds=max_rounds) │
│ 547 │ │ return _build_result(state) │
│ 548 │
│ │
│ ╭─────────────────────────────────────── locals ────────────────────────────────────────╮ │
│ │ max_rounds = 200000 │ │
│ │ requirements = [ │ │
│ │ │ SpecifierRequirement('pandas'), │ │
│ │ │ SpecifierRequirement('pystac'), │ │
│ │ │ SpecifierRequirement('pystac-client'), │ │
│ │ │ SpecifierRequirement('sat-stac') │ │
│ │ ] │ │
│ │ resolution = <pip._vendor.resolvelib.resolvers.Resolution object at 0x7f9e2cfd8fa0> │ │
│ │ self = <pip._vendor.resolvelib.resolvers.Resolver object at 0x7f9e2cfd8f40> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py:434 │
│ in resolve │
│ │
│ 431 │ │ │ │ # Backjump if pinning fails. The backjump process puts us in │
│ 432 │ │ │ │ # an unpinned state, so we can work on it in the next round. │
│ 433 │ │ │ │ self._r.resolving_conflicts(causes=causes) │
│ ❱ 434 │ │ │ │ success = self._backjump(causes) │
│ 435 │ │ │ │ self.state.backtrack_causes[:] = causes │
│ 436 │ │ │ │ │
│ 437 │ │ │ │ # Dead ends everywhere. Give up. │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ causes = [ │ │
│ │ │ RequirementInformation( │ │
│ │ │ │ requirement=SpecifierRequirement('pystac'), │ │
│ │ │ │ parent=None │ │
│ │ │ ), │ │
│ │ │ RequirementInformation( │ │
│ │ │ │ requirement=SpecifierRequirement('pystac>=1.7.0'), │ │
│ │ │ │ │ │
│ │ parent=LinkCandidate('https://files.pythonhosted.org/packages/4c/… │ │
│ │ (from https://pypi.org/simple/pystac-client/) │ │
│ │ (requires-python:>=3.8)') │ │
│ │ │ ) │ │
│ │ ] │ │
│ │ failure_causes = [ │ │
│ │ │ Criterion((SpecifierRequirement('pystac'), via=None), │ │
│ │ (SpecifierRequirement('pystac>=1.7.0'), │ │
│ │ via=LinkCandidate('https://files.pythonhosted.org/packages/4c/99/… │ │
│ │ (from https://pypi.org/simple/pystac-client/) │ │
│ │ (requires-python:>=3.8)'))) │ │
│ │ ] │ │
│ │ max_rounds = 200000 │ │
│ │ name = 'pystac-client' │ │
│ │ newly_unsatisfied_names = set() │ │
│ │ r = SpecifierRequirement('sat-stac') │ │
│ │ requirements = [ │ │
│ │ │ SpecifierRequirement('pandas'), │ │
│ │ │ SpecifierRequirement('pystac'), │ │
│ │ │ SpecifierRequirement('pystac-client'), │ │
│ │ │ SpecifierRequirement('sat-stac') │ │
│ │ ] │ │
│ │ round_index = 328 │ │
│ │ satisfied_names = {'pandas', 'pystac', '<Python from Requires-Python>'} │ │
│ │ self = <pip._vendor.resolvelib.resolvers.Resolution object at │ │
│ │ 0x7f9e2cfd8fa0> │ │
│ │ success = True │ │
│ │ unsatisfied_names = [ │ │
│ │ │ 'pystac-client', │ │
│ │ │ 'sat-stac', │ │
│ │ │ 'python-dateutil', │ │
│ │ │ 'pytz', │ │
│ │ │ 'tzdata', │ │
│ │ │ 'numpy' │ │
│ │ ] │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py:318 │
│ in _backjump │
│ │
│ 315 │ │ │ │ │ broken_state = self._states.pop() │
│ 316 │ │ │ │ │ name, candidate = broken_state.mapping.popitem() │
│ 317 │ │ │ │ except (IndexError, KeyError): │
│ ❱ 318 │ │ │ │ │ raise ResolutionImpossible(causes) │
│ 319 │ │ │ │ current_dependencies = { │
│ 320 │ │ │ │ │ self._p.identify(d) │
│ 321 │ │ │ │ │ for d in self._p.get_dependencies(candidate) │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ broken_state = State( │ │
│ │ │ mapping=OrderedDict(), │ │
│ │ │ criteria={ │ │
│ │ │ │ 'pandas': Criterion((SpecifierRequirement('pandas'), │ │
│ │ via=None)), │ │
│ │ │ │ 'pystac': Criterion((SpecifierRequirement('pystac'), │ │
│ │ via=None)), │ │
│ │ │ │ 'pystac-client': │ │
│ │ Criterion((SpecifierRequirement('pystac-client'), via=None)), │ │
│ │ │ │ 'sat-stac': Criterion((SpecifierRequirement('sat-stac'), │ │
│ │ via=None)) │ │
│ │ │ }, │ │
│ │ │ backtrack_causes=[] │ │
│ │ ) │ │
│ │ candidate = LinkCandidate('https://files.pythonhosted.org/packages/9e/0d/91a9fd2… │ │
│ │ (from https://pypi.org/simple/pandas/) (requires-python:>=3.8)') │ │
│ │ causes = [ │ │
│ │ │ RequirementInformation( │ │
│ │ │ │ requirement=SpecifierRequirement('pystac'), │ │
│ │ │ │ parent=None │ │
│ │ │ ), │ │
│ │ │ RequirementInformation( │ │
│ │ │ │ requirement=SpecifierRequirement('pystac>=1.7.0'), │ │
│ │ │ │ │ │
│ │ parent=LinkCandidate('https://files.pythonhosted.org/packages/4c/99/… │ │
│ │ (from https://pypi.org/simple/pystac-client/) │ │
│ │ (requires-python:>=3.8)') │ │
│ │ │ ) │ │
│ │ ] │ │
│ │ current_dependencies = { │ │
│ │ │ '<Python from Requires-Python>', │ │
│ │ │ 'tzdata', │ │
│ │ │ 'numpy', │ │
│ │ │ 'pytz', │ │
│ │ │ 'python-dateutil' │ │
│ │ } │ │
│ │ incompatible_deps = {'pystac', 'pystac-client'} │ │
│ │ incompatible_reqs = <itertools.chain object at 0x7f9e2c8b3100> │ │
│ │ incompatible_state = False │ │
│ │ name = 'pandas' │ │
│ │ self = <pip._vendor.resolvelib.resolvers.Resolution object at │ │
│ │ 0x7f9e2cfd8fa0> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('pystac'), parent=None),
RequirementInformation(requirement=SpecifierRequirement('pystac>=1.7.0'),
parent=LinkCandidate('https://files.pythonhosted.org/packages/4c/99/c7b19b8198f714fb00d57908a447216ecad5c815f357f848ed066c9a170b/pystac_client-0.6.1-py3-none-an
y.whl (from https://pypi.org/simple/pystac-client/) (requires-python:>=3.8)'))]
The above exception was the direct cause of the following exception:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /usr/lib/python3.9/runpy.py:197 in _run_module_as_main │
│ │
│ 194 │ main_globals = sys.modules["__main__"].__dict__ │
│ 195 │ if alter_argv: │
│ 196 │ │ sys.argv[0] = mod_spec.origin │
│ ❱ 197 │ return _run_code(code, main_globals, None, │
│ 198 │ │ │ │ │ "__main__", mod_spec) │
│ 199 │
│ 200 def run_module(mod_name, init_globals=None, │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ alter_argv = True │ │
│ │ code = <code object <module> at 0x7f9e2eb55a80, file │ │
│ │ "/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__.py", │ │
│ │ line 1> │ │
│ │ main_globals = { │ │
│ │ │ '__name__': '__main__', │ │
│ │ │ '__doc__': None, │ │
│ │ │ '__package__': 'pip', │ │
│ │ │ '__loader__': <_frozen_importlib_external.SourceFileLoader object at │ │
│ │ 0x7f9e2ec0a970>, │ │
│ │ │ '__spec__': ModuleSpec(name='pip.__main__', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLoader object at │ │
│ │ 0x7f9e2ec0a970>, │ │
│ │ origin='/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__… │ │
│ │ │ '__annotations__': {}, │ │
│ │ │ '__builtins__': <module 'builtins' (built-in)>, │ │
│ │ │ '__file__': │ │
│ │ '/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__.py', │ │
│ │ │ '__cached__': │ │
│ │ '/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__pycache__/__m… │ │
│ │ │ 'os': <module 'os' from '/usr/lib/python3.9/os.py'>, │ │
│ │ │ ... +2 │ │
│ │ } │ │
│ │ mod_name = 'pip.__main__' │ │
│ │ mod_spec = ModuleSpec(name='pip.__main__', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLoader object at │ │
│ │ 0x7f9e2ec0a970>, │ │
│ │ origin='/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__… │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/lib/python3.9/runpy.py:87 in _run_code │
│ │
│ 84 │ │ │ │ │ __loader__ = loader, │
│ 85 │ │ │ │ │ __package__ = pkg_name, │
│ 86 │ │ │ │ │ __spec__ = mod_spec) │
│ ❱ 87 │ exec(code, run_globals) │
│ 88 │ return run_globals │
│ 89 │
│ 90 def _run_module_code(code, init_globals=None, │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ cached = '/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__pycache__/__m… │ │
│ │ code = <code object <module> at 0x7f9e2eb55a80, file │ │
│ │ "/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__.py", │ │
│ │ line 1> │ │
│ │ fname = '/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__.py' │ │
│ │ init_globals = None │ │
│ │ loader = <_frozen_importlib_external.SourceFileLoader object at 0x7f9e2ec0a970> │ │
│ │ mod_name = '__main__' │ │
│ │ mod_spec = ModuleSpec(name='pip.__main__', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLoader object at │ │
│ │ 0x7f9e2ec0a970>, │ │
│ │ origin='/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__… │ │
│ │ pkg_name = 'pip' │ │
│ │ run_globals = { │ │
│ │ │ '__name__': '__main__', │ │
│ │ │ '__doc__': None, │ │
│ │ │ '__package__': 'pip', │ │
│ │ │ '__loader__': <_frozen_importlib_external.SourceFileLoader object at │ │
│ │ 0x7f9e2ec0a970>, │ │
│ │ │ '__spec__': ModuleSpec(name='pip.__main__', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLoader object at │ │
│ │ 0x7f9e2ec0a970>, │ │
│ │ origin='/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__… │ │
│ │ │ '__annotations__': {}, │ │
│ │ │ '__builtins__': <module 'builtins' (built-in)>, │ │
│ │ │ '__file__': │ │
│ │ '/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__.py', │ │
│ │ │ '__cached__': │ │
│ │ '/home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__pycache__/__m… │ │
│ │ │ 'os': <module 'os' from '/usr/lib/python3.9/os.py'>, │ │
│ │ │ ... +2 │ │
│ │ } │ │
│ │ script_name = None │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/__main__.py:24 in <module> │
│ │
│ 21 if __name__ == "__main__": │
│ 22 │ from pip._internal.cli.main import main as _main │
│ 23 │ │
│ ❱ 24 │ sys.exit(_main()) │
│ 25 │
│ │
│ ╭─────────────────────── locals ────────────────────────╮ │
│ │ _main = <function main at 0x7f9e2ea01310> │ │
│ │ os = <module 'os' from '/usr/lib/python3.9/os.py'> │ │
│ │ sys = <module 'sys' (built-in)> │ │
│ ╰───────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_internal/cli/main.py:79 in main │
│ │
│ 76 │ │ logger.debug("Ignoring error %s when setting locale", e) │
│ 77 │ command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) │
│ 78 │ │
│ ❱ 79 │ return command.main(cmd_args) │
│ 80 │
│ │
│ ╭─────────────────────────────────────── locals ────────────────────────────────────────╮ │
│ │ args = ['download', '-r', 'requirements.txt', '-d', 'downloads', '--debug'] │ │
│ │ cmd_args = ['-r', 'requirements.txt', '-d', 'downloads', '--debug'] │ │
│ │ cmd_name = 'download' │ │
│ │ command = <pip._internal.commands.download.DownloadCommand object at 0x7f9e2d4cffd0> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_internal/cli/base_command.py:101 in │
│ main │
│ │
│ 98 │ def main(self, args: List[str]) -> int: │
│ 99 │ │ try: │
│ 100 │ │ │ with self.main_context(): │
│ ❱ 101 │ │ │ │ return self._main(args) │
│ 102 │ │ finally: │
│ 103 │ │ │ logging.shutdown() │
│ 104 │
│ │
│ ╭───────────────────────────────────── locals ──────────────────────────────────────╮ │
│ │ args = ['-r', 'requirements.txt', '-d', 'downloads', '--debug'] │ │
│ │ self = <pip._internal.commands.download.DownloadCommand object at 0x7f9e2d4cffd0> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_internal/cli/base_command.py:234 in │
│ _main │
│ │
│ 231 │ │ │ else: │
│ 232 │ │ │ │ run = self.run │
│ 233 │ │ │ │ rich_traceback.install(show_locals=True) │
│ ❱ 234 │ │ │ return run(options, args) │
│ 235 │ │ finally: │
│ 236 │ │ │ self.handle_pip_version_check(options) │
│ 237 │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ always_enabled_features = set() │ │
│ │ args = [] │ │
│ │ intercepts_unhandled_exc = <function Command._main.<locals>.intercepts_unhandled_exc at │ │
│ │ 0x7f9e2ea79940> │ │
│ │ level_number = 20 │ │
│ │ options = <Values at 0x7f9e2d12d790: {'help': None, 'debug_mode': True, │ │
│ │ 'isolated_mode': False, 'require_venv': False, 'python': None, │ │
│ │ 'verbose': 0, 'version': None, 'quiet': 0, 'log': None, │ │
│ │ 'no_input': False, 'keyring_provider': 'auto', 'proxy': '', │ │
│ │ 'retries': 5, 'timeout': 15, 'exists_action': [], │ │
│ │ 'trusted_hosts': [], 'cert': None, 'client_cert': None, │ │
│ │ 'cache_dir': '/home/damian/.cache/pip', │ │
│ │ 'disable_pip_version_check': False, 'no_color': False, │ │
│ │ 'no_python_version_warning': False, 'features_enabled': [], │ │
│ │ 'deprecated_features_enabled': [], 'constraints': [], │ │
│ │ 'requirements': ['requirements.txt'], 'ignore_dependencies': │ │
│ │ False, 'global_options': None, 'format_control': │ │
│ │ FormatControl(set(), set()), 'prefer_binary': False, 'src_dir': │ │
│ │ '/home/damian/issue134/.venv/src', 'pre': False, │ │
│ │ 'require_hashes': False, 'progress_bar': 'on', 'build_isolation': │ │
│ │ True, 'use_pep517': None, 'check_build_deps': False, │ │
│ │ 'ignore_requires_python': None, 'download_dir': │ │
│ │ '/home/damian/issue134/downloads', 'platforms': None, │ │
│ │ 'python_version': None, 'implementation': None, 'abis': None, │ │
│ │ 'index_url': 'https://pypi.org/simple', 'extra_index_urls': [], │ │
│ │ 'no_index': False, 'find_links': [], 'no_clean': False, │ │
│ │ 'ignore_installed': True, 'editables': []}> │ │
│ │ run = <bound method with_cleanup.<locals>.wrapper of │ │
│ │ <pip._internal.commands.download.DownloadCommand object at │ │
│ │ 0x7f9e2d4cffd0>> │ │
│ │ self = <pip._internal.commands.download.DownloadCommand object at │ │
│ │ 0x7f9e2d4cffd0> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_internal/cli/req_command.py:248 in │
│ wrapper │
│ │
│ 245 │ │ │ configure_tempdir_registry(self.tempdir_registry) │
│ 246 │ │ │
│ 247 │ │ try: │
│ ❱ 248 │ │ │ return func(self, options, args) │
│ 249 │ │ except PreviousBuildDirError: │
│ 250 │ │ │ # This kind of conflict can occur when the user passes an explicit │
│ 251 │ │ │ # build directory with a pre-existing folder. In that case we do │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ args = [] │ │
│ │ configure_tempdir_registry = <function with_cleanup.<locals>.configure_tempdir_registry at │ │
│ │ 0x7f9e2d17f1f0> │ │
│ │ func = <function DownloadCommand.run at 0x7f9e2d17f160> │ │
│ │ options = <Values at 0x7f9e2d12d790: {'help': None, 'debug_mode': True, │ │
│ │ 'isolated_mode': False, 'require_venv': False, 'python': None, │ │
│ │ 'verbose': 0, 'version': None, 'quiet': 0, 'log': None, │ │
│ │ 'no_input': False, 'keyring_provider': 'auto', 'proxy': '', │ │
│ │ 'retries': 5, 'timeout': 15, 'exists_action': [], │ │
│ │ 'trusted_hosts': [], 'cert': None, 'client_cert': None, │ │
│ │ 'cache_dir': '/home/damian/.cache/pip', │ │
│ │ 'disable_pip_version_check': False, 'no_color': False, │ │
│ │ 'no_python_version_warning': False, 'features_enabled': [], │ │
│ │ 'deprecated_features_enabled': [], 'constraints': [], │ │
│ │ 'requirements': ['requirements.txt'], 'ignore_dependencies': │ │
│ │ False, 'global_options': None, 'format_control': │ │
│ │ FormatControl(set(), set()), 'prefer_binary': False, 'src_dir': │ │
│ │ '/home/damian/issue134/.venv/src', 'pre': False, │ │
│ │ 'require_hashes': False, 'progress_bar': 'on', │ │
│ │ 'build_isolation': True, 'use_pep517': None, │ │
│ │ 'check_build_deps': False, 'ignore_requires_python': None, │ │
│ │ 'download_dir': '/home/damian/issue134/downloads', 'platforms': │ │
│ │ None, 'python_version': None, 'implementation': None, 'abis': │ │
│ │ None, 'index_url': 'https://pypi.org/simple', │ │
│ │ 'extra_index_urls': [], 'no_index': False, 'find_links': [], │ │
│ │ 'no_clean': False, 'ignore_installed': True, 'editables': []}> │ │
│ │ self = <pip._internal.commands.download.DownloadCommand object at │ │
│ │ 0x7f9e2d4cffd0> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_internal/commands/download.py:132 │
│ in run │
│ │
│ 129 │ │ │
│ 130 │ │ self.trace_basic_info(finder) │
│ 131 │ │ │
│ ❱ 132 │ │ requirement_set = resolver.resolve(reqs, check_supported_wheels=True) │
│ 133 │ │ │
│ 134 │ │ downloaded: List[str] = [] │
│ 135 │ │ for req in requirement_set.requirements.values(): │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ args = [] │ │
│ │ build_tracker = <pip._internal.operations.build.build_tracker.BuildTracker object at │ │
│ │ 0x7f9e2d139670> │ │
│ │ directory = <repr-error 'Attempted to access deleted path: /tmp/pip-download-nclc_kxg'> │ │
│ │ finder = <pip._internal.index.package_finder.PackageFinder object at 0x7f9e2d1397c0> │ │
│ │ options = <Values at 0x7f9e2d12d790: {'help': None, 'debug_mode': True, │ │
│ │ 'isolated_mode': False, 'require_venv': False, 'python': None, 'verbose': 0, │ │
│ │ 'version': None, 'quiet': 0, 'log': None, 'no_input': False, │ │
│ │ 'keyring_provider': 'auto', 'proxy': '', 'retries': 5, 'timeout': 15, │ │
│ │ 'exists_action': [], 'trusted_hosts': [], 'cert': None, 'client_cert': None, │ │
│ │ 'cache_dir': '/home/damian/.cache/pip', 'disable_pip_version_check': False, │ │
│ │ 'no_color': False, 'no_python_version_warning': False, 'features_enabled': │ │
│ │ [], 'deprecated_features_enabled': [], 'constraints': [], 'requirements': │ │
│ │ ['requirements.txt'], 'ignore_dependencies': False, 'global_options': None, │ │
│ │ 'format_control': FormatControl(set(), set()), 'prefer_binary': False, │ │
│ │ 'src_dir': '/home/damian/issue134/.venv/src', 'pre': False, │ │
│ │ 'require_hashes': False, 'progress_bar': 'on', 'build_isolation': True, │ │
│ │ 'use_pep517': None, 'check_build_deps': False, 'ignore_requires_python': │ │
│ │ None, 'download_dir': '/home/damian/issue134/downloads', 'platforms': None, │ │
│ │ 'python_version': None, 'implementation': None, 'abis': None, 'index_url': │ │
│ │ 'https://pypi.org/simple', 'extra_index_urls': [], 'no_index': False, │ │
│ │ 'find_links': [], 'no_clean': False, 'ignore_installed': True, 'editables': │ │
│ │ []}> │ │
│ │ preparer = <pip._internal.operations.prepare.RequirementPreparer object at │ │
│ │ 0x7f9e2d07b370> │ │
│ │ reqs = [ │ │
│ │ │ <InstallRequirement object: pandas (from -r requirements.txt (line 1)) │ │
│ │ editable=False>, │ │
│ │ │ <InstallRequirement object: pystac (from -r requirements.txt (line 2)) │ │
│ │ editable=False>, │ │
│ │ │ <InstallRequirement object: pystac-client (from -r requirements.txt │ │
│ │ (line 3)) editable=False>, │ │
│ │ │ <InstallRequirement object: sat-stac (from -r requirements.txt (line 4)) │ │
│ │ editable=False> │ │
│ │ ] │ │
│ │ resolver = <pip._internal.resolution.resolvelib.resolver.Resolver object at │ │
│ │ 0x7f9e2d07b460> │ │
│ │ self = <pip._internal.commands.download.DownloadCommand object at 0x7f9e2d4cffd0> │ │
│ │ session = <pip._internal.network.session.PipSession object at 0x7f9e2d247c40> │ │
│ │ target_python = <pip._internal.models.target_python.TargetPython object at 0x7f9e2d0987c0> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/damian/issue134/.venv/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/reso │
│ lver.py:101 in resolve │
│ │
│ 98 │ │ │ │ cast("ResolutionImpossible[Requirement, Candidate]", e), │
│ 99 │ │ │ │ collected.constraints, │
│ 100 │ │ │ ) │
│ ❱ 101 │ │ │ raise error from e │
│ 102 │ │ │
│ 103 │ │ req_set = RequirementSet(check_supported_wheels=check_supported_wheels) │
│ 104 │ │ for candidate in result.mapping.values(): │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ check_supported_wheels = True │ │
│ │ collected = CollectedRootRequirements( │ │
│ │ │ requirements=[ │ │
│ │ │ │ SpecifierRequirement('pandas'), │ │
│ │ │ │ SpecifierRequirement('pystac'), │ │
│ │ │ │ SpecifierRequirement('pystac-client'), │ │
│ │ │ │ SpecifierRequirement('sat-stac') │ │
│ │ │ ], │ │
│ │ │ constraints={}, │ │
│ │ │ user_requested={ │ │
│ │ │ │ 'pandas': 0, │ │
│ │ │ │ 'pystac': 1, │ │
│ │ │ │ 'pystac-client': 2, │ │
│ │ │ │ 'sat-stac': 3 │ │
│ │ │ } │ │
│ │ ) │ │
│ │ error = DistributionNotFound('ResolutionImpossible: for help │ │
│ │ visit │ │
│ │ https://pip.pypa.io/en/latest/topics/dependency-resol… │ │
│ │ limit_how_complex_resolution_can_be = 200000 │ │
│ │ provider = <pip._internal.resolution.resolvelib.provider.PipProv… │ │
│ │ object at 0x7f9e2cfd8d30> │ │
│ │ reporter = <pip._internal.resolution.resolvelib.reporter.PipRepo… │ │
│ │ object at 0x7f9e2cfd8ee0> │ │
│ │ resolver = <pip._vendor.resolvelib.resolvers.Resolver object at │ │
│ │ 0x7f9e2cfd8f40> │ │
│ │ root_reqs = [ │ │
│ │ │ <InstallRequirement object: pandas (from -r │ │
│ │ requirements.txt (line 1)) editable=False>, │ │
│ │ │ <InstallRequirement object: pystac (from -r │ │
│ │ requirements.txt (line 2)) editable=False>, │ │
│ │ │ <InstallRequirement object: pystac-client (from -r │ │
│ │ requirements.txt (line 3)) editable=False>, │ │
│ │ │ <InstallRequirement object: sat-stac (from -r │ │
│ │ requirements.txt (line 4)) editable=False> │ │
│ │ ] │ │
│ │ self = <pip._internal.resolution.resolvelib.resolver.Resolver │ │
│ │ object at 0x7f9e2d07b460> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
DistributionNotFound: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment