-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Cannot install in docker #515
Comments
Having the same issue in multiple environments with existing PDM installations (on my local Arch Linux machine and in a Ubuntu Focal Docker container). I also get the same issue when running the new PDM install script to setup PDM in the first place. |
It is because PDM is patching an internal class of pip install resolvelib==0.7.0 pdm |
Hi @frostming, thanks a lot for the fast reply and the fast fix. I tried both pdm and pdm with your workaraound and both lead to this error : Short traceResolving: new pin colorama 0.4.4
======== Ending round 51 ========
======== Starting round 52 ========
Resolving: new pin pyparsing 3.0.0b2
======== Ending round 52 ========
======== Starting round 53 ========
Preparing isolated env for PEP 517 build...
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 147, in _merge_into_criterion
matches = self._p.find_matches(
TypeError: find_matches() got an unexpected keyword argument 'identifier'
Failed to build package, try parsing project files.
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 77, in log_subprocessor
subprocess.check_call(
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.9', '-Esm', 'pip', 'install', '--ignore-installed', '--prefix', '/tmp/pdm-build-env-eudry9af', '-i', 'https://pypi.org/simple', '-r', '/tmp/pdm-build-reqs-nubfzfj1.txt']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pdm/models/candidates.py", line 188, in get_metadata
built = self.environment.build(ireq, self.hashes, allow_all_wheels)
File "/usr/lib/python3.9/site-packages/pdm/models/environment.py", line 315, in build
return EnvWheelBuilder(ireq.unpacked_source_directory, self).build(output_dir)
File "/usr/lib/python3.9/site-packages/pdm/builders/wheel.py", line 13, in build
self.install(self._build_system["requires"])
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 226, in install
self.subprocess_runner(cmd, isolated=False)
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 191, in subprocess_runner
return log_subprocessor(cmd, cwd, extra_environ=env)
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 85, in log_subprocessor
raise BuildError(f"Call command {cmd} return non-zero status.")
pdm.exceptions.BuildError: Call command ['/usr/bin/python3.9', '-Esm', 'pip', 'install', '--ignore-installed', '--prefix', '/tmp/pdm-build-env-eudry9af', '-i', 'https://pypi.org/simple', '-r', '/tmp/pdm-build-reqs-nubfzfj1.txt'] return non-zero status.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/sbin/pdm", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.9/site-packages/pdm/core.py", line 185, in main
return Core().main(args)
File "/usr/lib/python3.9/site-packages/pdm/core.py", line 146, in main
raise cast(Exception, err).with_traceback(traceback)
File "/usr/lib/python3.9/site-packages/pdm/core.py", line 141, in main
f(options.project, options)
File "/usr/lib/python3.9/site-packages/pdm/cli/commands/install.py", line 38, in handle
actions.do_lock(project, strategy="all")
File "/usr/lib/python3.9/site-packages/pdm/cli/actions.py", line 67, in do_lock
mapping, dependencies, summaries = resolve(
File "/usr/lib/python3.9/site-packages/pdm/resolver/core.py", line 30, in resolve
result = resolver.resolve(requirements, max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 367, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion
criteria = self._get_criteria_to_update(candidate)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 202, in _get_criteria_to_update
for r in self._p.get_dependencies(candidate=candidate):
File "/usr/lib/python3.9/site-packages/pdm/resolver/providers.py", line 87, in get_dependencies
deps, requires_python, summary = self.repository.get_dependencies(candidate)
File "/usr/lib/python3.9/site-packages/pdm/models/repositories.py", line 79, in get_dependencies
requirements, requires_python, summary = getter(candidate)
File "/usr/lib/python3.9/site-packages/pdm/models/repositories.py", line 46, in wrapper
result = func(self, candidate)
File "/usr/lib/python3.9/site-packages/pdm/models/repositories.py", line 185, in _get_dependencies_from_metadata
deps = candidate.get_dependencies_from_metadata()
File "/usr/lib/python3.9/site-packages/pdm/models/candidates.py", line 243, in get_dependencies_from_metadata
metadata = self.get_metadata()
File "/usr/lib/python3.9/site-packages/pdm/models/candidates.py", line 193, in get_metadata
meta_dict = Setup.from_directory(
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 37, in from_directory
return _SetupReader.read_from_directory(dir)
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 59, in read_from_directory
new_result = file_reader(filepath)
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 97, in read_setup_py
extras_require=cls._find_extras_require(setup_call, body),
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 300, in _find_extras_require
extras_require[key.s] = [e.s for e in val.elts]
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 300, in <listcomp>
extras_require[key.s] = [e.s for e in val.elts]
AttributeError: 'JoinedStr' object has no attribute 's'
The command '/bin/sh -c pdm install -v' returned a non-zero code: 1 Full trace (almost, limited by terminal i can paste more if needed) File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 147, in _merge_into_criterion
matches = self._p.find_matches(
TypeError: find_matches() got an unexpected keyword argument 'identifier'
Failed to build package, try parsing project files.
Adding requirement numba>=0.49(from umap-learn 0.5.1)
Found matching candidates:
<Candidate numba 0.52.0rc2 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.2 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.1 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.0 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.0rc1 from https://pypi.org/simple/numba/>
<Candidate numba 0.50.1 from https://pypi.org/simple/numba/>
<Candidate numba 0.50.0 from https://pypi.org/simple/numba/>
<Candidate numba 0.50.0rc1 from https://pypi.org/simple/numba/>
<Candidate numba 0.49.1 from https://pypi.org/simple/numba/>
<Candidate numba 0.49.1rc1 from https://pypi.org/simple/numba/>
... [187 more candidate(s)]
Adding requirement numpy>=1.17(from umap-learn 0.5.1)
Found matching candidates:
<Candidate numpy 1.21.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.3 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.19.5 from https://pypi.org/simple/numpy/>
... [1760 more candidate(s)]
Adding requirement pynndescent>=0.5(from umap-learn 0.5.1)
Found matching candidates:
<Candidate pynndescent 0.5.2 from https://pypi.org/simple/pynndescent/>
<Candidate pynndescent 0.5.1 from https://pypi.org/simple/pynndescent/>
<Candidate pynndescent 0.5.0 from https://pypi.org/simple/pynndescent/>
Adding requirement scikit-learn>=0.22(from umap-learn 0.5.1)
Found matching candidates:
<Candidate scikit-learn 0.24.2 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.0rc1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.dev0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.2 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.0rc1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.22.2.post1 from https://pypi.org/simple/scikit-learn/>
... [827 more candidate(s)]
Adding requirement scipy>=1.0(from umap-learn 0.5.1)
Found matching candidates:
<Candidate scipy 1.6.1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0rc2 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0rc1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.4 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.3 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.2 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.0 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.0rc2 from https://pypi.org/simple/scipy/>
... [645 more candidate(s)]
Resolving: new pin umap-learn 0.5.1
======== Ending round 25 ========
======== Starting round 26 ========
Preparing isolated env for PEP 517 build...
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 147, in _merge_into_criterion
matches = self._p.find_matches(
TypeError: find_matches() got an unexpected keyword argument 'identifier'
Failed to build package, try parsing project files.
Adding requirement joblib>=0.11(from pynndescent 0.5.2)
Found matching candidates:
<Candidate joblib 1.0.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 1.0.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.17.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.16.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.15.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.15.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.14.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.14.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.13.2 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.13.1 from https://pypi.org/simple/joblib/>
... [26 more candidate(s)]
Adding requirement llvmlite>=0.30(from pynndescent 0.5.2)
Found matching candidates:
<Candidate llvmlite 0.36.0rc1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.35.0 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.35.0rc3 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.35.0rc2 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.34.0 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.34.0rc1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.33.0 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.33.0rc1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.32.1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.32.0 from https://pypi.org/simple/llvmlite/>
... [201 more candidate(s)]
Adding requirement numba>=0.51.2(from pynndescent 0.5.2)
Found matching candidates:
<Candidate numba 0.52.0rc2 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.2 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.1 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.0 from https://pypi.org/simple/numba/>
<Candidate numba 0.51.0rc1 from https://pypi.org/simple/numba/>
<Candidate numba 0.50.1 from https://pypi.org/simple/numba/>
<Candidate numba 0.50.0 from https://pypi.org/simple/numba/>
<Candidate numba 0.50.0rc1 from https://pypi.org/simple/numba/>
<Candidate numba 0.49.1 from https://pypi.org/simple/numba/>
<Candidate numba 0.49.1rc1 from https://pypi.org/simple/numba/>
... [187 more candidate(s)]
Adding requirement scikit-learn>=0.18(from pynndescent 0.5.2)
Found matching candidates:
<Candidate scikit-learn 0.24.2 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.0rc1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.dev0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.2 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.0rc1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.22.2.post1 from https://pypi.org/simple/scikit-learn/>
... [827 more candidate(s)]
Adding requirement scipy>=1.0(from pynndescent 0.5.2)
Found matching candidates:
<Candidate scipy 1.6.1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0rc2 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0rc1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.4 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.3 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.2 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.0 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.0rc2 from https://pypi.org/simple/scipy/>
... [645 more candidate(s)]
Resolving: new pin pynndescent 0.5.2
======== Ending round 26 ========
======== Starting round 27 ========
Preparing isolated env for PEP 517 build...
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 147, in _merge_into_criterion
matches = self._p.find_matches(
TypeError: find_matches() got an unexpected keyword argument 'identifier'
Failed to build package, try parsing project files.
Adding requirement nltk(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate nltk 3.6.2 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.6.1 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.6 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.5 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.5b1 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.4.5 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.4.4 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.4.3 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.4.2 from https://pypi.org/simple/nltk/>
<Candidate nltk 3.4.1 from https://pypi.org/simple/nltk/>
... [55 more candidate(s)]
Adding requirement numpy(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate numpy 1.21.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.3 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.19.5 from https://pypi.org/simple/numpy/>
... [1760 more candidate(s)]
Adding requirement scikit-learn(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate scikit-learn 0.24.2 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.0rc1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.24.dev0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.2 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.0 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.23.0rc1 from https://pypi.org/simple/scikit-learn/>
<Candidate scikit-learn 0.22.2.post1 from https://pypi.org/simple/scikit-learn/>
... [827 more candidate(s)]
Adding requirement scipy(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate scipy 1.6.1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0rc2 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.6.0rc1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.4 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.3 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.2 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.1 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.0 from https://pypi.org/simple/scipy/>
<Candidate scipy 1.5.0rc2 from https://pypi.org/simple/scipy/>
... [645 more candidate(s)]
Adding requirement sentencepiece(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate sentencepiece 0.1.96 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.95 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.94 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.92 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.91 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.90 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.86 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.85 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.83 from https://pypi.org/simple/sentencepiece/>
<Candidate sentencepiece 0.1.82 from https://pypi.org/simple/sentencepiece/>
... [533 more candidate(s)]
Adding requirement torch>=1.6.0(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate torch 1.8.0 from https://pypi.org/simple/torch/>
Adding requirement torchvision(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate torchvision 0.10.0 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.9.1 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.9.0 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.8.2 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.8.1 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.8.0 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.7.0 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.6.1 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.6.0 from https://pypi.org/simple/torchvision/>
<Candidate torchvision 0.5.0 from https://pypi.org/simple/torchvision/>
... [150 more candidate(s)]
Adding requirement tqdm(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate tqdm 4.61.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.61.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.60.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.59.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.58.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.57.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.2 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.55.2 from https://pypi.org/simple/tqdm/>
... [250 more candidate(s)]
Adding requirement transformers<5.0.0,>=3.1.0(from sentence-transformers 1.2.0)
Found matching candidates:
<Candidate transformers 4.7.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.6.1 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.6.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.5.1 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.5.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.4.2 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.4.1 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.4.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.3.3 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.3.2 from https://pypi.org/simple/transformers/>
... [91 more candidate(s)]
Resolving: new pin sentence-transformers 1.2.0
======== Ending round 27 ========
======== Starting round 28 ========
Adding requirement retrying>=1.3.3(from plotly 4.14.2)
Found matching candidates:
<Candidate retrying 1.3.3 from https://pypi.org/simple/retrying/>
Adding requirement six(from plotly 4.14.2)
Found matching candidates:
<Candidate six 1.16.0 from https://pypi.org/simple/six/>
<Candidate six 1.15.0 from https://pypi.org/simple/six/>
<Candidate six 1.14.0 from https://pypi.org/simple/six/>
<Candidate six 1.13.0 from https://pypi.org/simple/six/>
<Candidate six 1.12.0 from https://pypi.org/simple/six/>
<Candidate six 1.11.0 from https://pypi.org/simple/six/>
<Candidate six 1.10.0 from https://pypi.org/simple/six/>
<Candidate six 1.9.0 from https://pypi.org/simple/six/>
<Candidate six 1.8.0 from https://pypi.org/simple/six/>
<Candidate six 1.7.3 from https://pypi.org/simple/six/>
... [28 more candidate(s)]
Resolving: new pin plotly 4.14.2
======== Ending round 28 ========
======== Starting round 29 ========
Preparing isolated env for PEP 517 build...
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 147, in _merge_into_criterion
matches = self._p.find_matches(
TypeError: find_matches() got an unexpected keyword argument 'identifier'
Failed to build package, try parsing project files.
Resolving: new pin retrying 1.3.3
======== Ending round 29 ========
======== Starting round 30 ========
Adding requirement llvmlite<0.36,>=0.35.0.dev0(from numba 0.52.0rc2)
Found matching candidates:
<Candidate llvmlite 0.36.0rc1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.35.0 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.35.0rc3 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.35.0rc2 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.34.0 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.34.0rc1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.33.0 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.33.0rc1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.32.1 from https://pypi.org/simple/llvmlite/>
<Candidate llvmlite 0.32.0 from https://pypi.org/simple/llvmlite/>
... [201 more candidate(s)]
Adding requirement numpy>=1.15(from numba 0.52.0rc2)
Found matching candidates:
<Candidate numpy 1.21.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.3 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.19.5 from https://pypi.org/simple/numpy/>
... [1760 more candidate(s)]
Adding requirement setuptools(from numba 0.52.0rc2)
Found matching candidates:
<Candidate setuptools 57.0.0 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 56.2.0 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 56.1.0 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 56.0.0 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 54.2.0 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 54.1.3 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 54.1.2 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 54.1.1 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 54.1.0 from https://pypi.org/simple/setuptools/>
<Candidate setuptools 54.0.0 from https://pypi.org/simple/setuptools/>
... [1035 more candidate(s)]
Resolving: new pin numba 0.52.0rc2
======== Ending round 30 ========
======== Starting round 31 ========
Resolving: new pin joblib 1.0.1
======== Ending round 31 ========
======== Starting round 32 ========
Resolving: new pin six 1.16.0
======== Ending round 32 ========
======== Starting round 33 ========
Resolving: new pin fuzzywuzzy 0.18.0
======== Ending round 33 ========
======== Starting round 34 ========
Adding requirement pillow(from pdf2image 1.16.0)
Found matching candidates:
<Candidate Pillow 8.2.0 from https://pypi.org/simple/pillow/>
<Candidate Pillow 8.1.2 from https://pypi.org/simple/pillow/>
<Candidate Pillow 8.1.1 from https://pypi.org/simple/pillow/>
<Candidate Pillow 8.1.0 from https://pypi.org/simple/pillow/>
<Candidate Pillow 8.0.1 from https://pypi.org/simple/pillow/>
<Candidate Pillow 8.0.0 from https://pypi.org/simple/pillow/>
<Candidate Pillow 7.2.0 from https://pypi.org/simple/pillow/>
<Candidate Pillow 7.1.2 from https://pypi.org/simple/pillow/>
<Candidate Pillow 7.1.1 from https://pypi.org/simple/pillow/>
<Candidate Pillow 7.1.0 from https://pypi.org/simple/pillow/>
... [1239 more candidate(s)]
Resolving: new pin pdf2image 1.16.0
======== Ending round 34 ========
======== Starting round 35 ========
Resolving: new pin llvmlite 0.35.0
======== Ending round 35 ========
======== Starting round 36 ========
Resolving: new pin jellyfish 0.8.2
======== Ending round 36 ========
======== Starting round 37 ========
Adding requirement filelock(from transformers 4.7.0)
Found matching candidates:
<Candidate filelock 3.0.12 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.10 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.9 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.8 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.6 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.4 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.3 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.2 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.0 from https://pypi.org/simple/filelock/>
<Candidate filelock 2.0.13 from https://pypi.org/simple/filelock/>
... [23 more candidate(s)]
Adding requirement huggingface-hub==0.0.8(from transformers 4.7.0)
Found matching candidates:
<Candidate huggingface-hub 0.0.8 from https://pypi.org/simple/huggingface-hub/>
Adding requirement numpy>=1.17(from transformers 4.7.0)
Found matching candidates:
<Candidate numpy 1.21.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.3 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.19.5 from https://pypi.org/simple/numpy/>
... [1760 more candidate(s)]
Adding requirement packaging(from transformers 4.7.0)
Found matching candidates:
<Candidate packaging 20.9 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.8 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.7 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.6 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.5 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.4 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.3 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.2 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.1 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.0 from https://pypi.org/simple/packaging/>
... [60 more candidate(s)]
Adding requirement pyyaml(from transformers 4.7.0)
Found matching candidates:
<Candidate pyyaml 5.4.1 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.4 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.4b2 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.4b1 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.3.1 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.3 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.3b1 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.2 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.2b1 from https://pypi.org/simple/pyyaml/>
<Candidate pyyaml 5.1.2 from https://pypi.org/simple/pyyaml/>
... [241 more candidate(s)]
Adding requirement regex!=2019.12.17(from transformers 4.7.0)
Found matching candidates:
<Candidate regex 2021.4.4 from https://pypi.org/simple/regex/>
<Candidate regex 2021.3.17 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.13 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.28 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.23 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.22 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.15 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.9.27 from https://pypi.org/simple/regex/>
... [2852 more candidate(s)]
Adding requirement requests(from transformers 4.7.0)
Found matching candidates:
<Candidate requests 2.25.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.25.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.24.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.23.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.22.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.21.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.0 from https://pypi.org/simple/requests/>
... [191 more candidate(s)]
Adding requirement sacremoses(from transformers 4.7.0)
Found matching candidates:
<Candidate sacremoses 0.0.45 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.44 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.43 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.42 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.41 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.40 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.39 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.38 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.35 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.34 from https://pypi.org/simple/sacremoses/>
... [33 more candidate(s)]
Adding requirement tokenizers<0.11,>=0.10.1(from transformers 4.7.0)
Found matching candidates:
<Candidate tokenizers 0.10.3 from https://pypi.org/simple/tokenizers/>
<Candidate tokenizers 0.10.2 from https://pypi.org/simple/tokenizers/>
<Candidate tokenizers 0.10.1 from https://pypi.org/simple/tokenizers/>
Adding requirement tqdm>=4.27(from transformers 4.7.0)
Found matching candidates:
<Candidate tqdm 4.61.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.61.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.60.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.59.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.58.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.57.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.2 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.55.2 from https://pypi.org/simple/tqdm/>
... [250 more candidate(s)]
Resolving: new pin transformers 4.7.0
======== Ending round 37 ========
======== Starting round 38 ========
Adding requirement filelock(from huggingface-hub 0.0.8)
Found matching candidates:
<Candidate filelock 3.0.12 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.10 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.9 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.8 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.6 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.4 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.3 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.2 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.0 from https://pypi.org/simple/filelock/>
<Candidate filelock 2.0.13 from https://pypi.org/simple/filelock/>
... [23 more candidate(s)]
Adding requirement requests(from huggingface-hub 0.0.8)
Found matching candidates:
<Candidate requests 2.25.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.25.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.24.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.23.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.22.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.21.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.0 from https://pypi.org/simple/requests/>
... [191 more candidate(s)]
Adding requirement tqdm(from huggingface-hub 0.0.8)
Found matching candidates:
<Candidate tqdm 4.61.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.61.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.60.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.59.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.58.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.57.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.2 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.55.2 from https://pypi.org/simple/tqdm/>
... [250 more candidate(s)]
Resolving: new pin huggingface-hub 0.0.8
======== Ending round 38 ========
======== Starting round 39 ========
Resolving: new pin filelock 3.0.12
======== Ending round 39 ========
======== Starting round 40 ========
Adding requirement regex(from sacremoses 0.0.45)
Found matching candidates:
<Candidate regex 2021.4.4 from https://pypi.org/simple/regex/>
<Candidate regex 2021.3.17 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.13 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.28 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.23 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.22 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.15 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.9.27 from https://pypi.org/simple/regex/>
... [2852 more candidate(s)]
Adding requirement six(from sacremoses 0.0.45)
Found matching candidates:
<Candidate six 1.16.0 from https://pypi.org/simple/six/>
<Candidate six 1.15.0 from https://pypi.org/simple/six/>
<Candidate six 1.14.0 from https://pypi.org/simple/six/>
<Candidate six 1.13.0 from https://pypi.org/simple/six/>
<Candidate six 1.12.0 from https://pypi.org/simple/six/>
<Candidate six 1.11.0 from https://pypi.org/simple/six/>
<Candidate six 1.10.0 from https://pypi.org/simple/six/>
<Candidate six 1.9.0 from https://pypi.org/simple/six/>
<Candidate six 1.8.0 from https://pypi.org/simple/six/>
<Candidate six 1.7.3 from https://pypi.org/simple/six/>
... [28 more candidate(s)]
Adding requirement click(from sacremoses 0.0.45)
Found matching candidates:
<Candidate click 8.0.1 from https://pypi.org/simple/click/>
<Candidate click 8.0.0 from https://pypi.org/simple/click/>
<Candidate click 8.0.0rc1 from https://pypi.org/simple/click/>
<Candidate click 8.0.0a1 from https://pypi.org/simple/click/>
<Candidate click 7.1.2 from https://pypi.org/simple/click/>
<Candidate click 7.1.1 from https://pypi.org/simple/click/>
<Candidate click 7.1 from https://pypi.org/simple/click/>
<Candidate click 7.0 from https://pypi.org/simple/click/>
<Candidate click 6.7 from https://pypi.org/simple/click/>
<Candidate click 6.7.dev0 from https://pypi.org/simple/click/>
... [72 more candidate(s)]
Adding requirement joblib(from sacremoses 0.0.45)
Found matching candidates:
<Candidate joblib 1.0.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 1.0.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.17.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.16.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.15.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.15.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.14.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.14.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.13.2 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.13.1 from https://pypi.org/simple/joblib/>
... [26 more candidate(s)]
Adding requirement tqdm(from sacremoses 0.0.45)
Found matching candidates:
<Candidate tqdm 4.61.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.61.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.60.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.59.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.58.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.57.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.2 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.55.2 from https://pypi.org/simple/tqdm/>
... [250 more candidate(s)]
Resolving: new pin sacremoses 0.0.45
======== Ending round 40 ========
======== Starting round 41 ========
Adding requirement requests(from language-tool-python 2.5.4)
Found matching candidates:
<Candidate requests 2.25.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.25.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.24.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.23.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.22.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.21.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.0 from https://pypi.org/simple/requests/>
... [191 more candidate(s)]
Adding requirement tqdm(from language-tool-python 2.5.4)
Found matching candidates:
<Candidate tqdm 4.61.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.61.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.60.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.59.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.58.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.57.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.2 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.55.2 from https://pypi.org/simple/tqdm/>
... [250 more candidate(s)]
Resolving: new pin language-tool-python 2.5.4
======== Ending round 41 ========
======== Starting round 42 ========
Adding requirement click(from nltk 3.6.2)
Found matching candidates:
<Candidate click 8.0.1 from https://pypi.org/simple/click/>
<Candidate click 8.0.0 from https://pypi.org/simple/click/>
<Candidate click 8.0.0rc1 from https://pypi.org/simple/click/>
<Candidate click 8.0.0a1 from https://pypi.org/simple/click/>
<Candidate click 7.1.2 from https://pypi.org/simple/click/>
<Candidate click 7.1.1 from https://pypi.org/simple/click/>
<Candidate click 7.1 from https://pypi.org/simple/click/>
<Candidate click 7.0 from https://pypi.org/simple/click/>
<Candidate click 6.7 from https://pypi.org/simple/click/>
<Candidate click 6.7.dev0 from https://pypi.org/simple/click/>
... [72 more candidate(s)]
Adding requirement joblib(from nltk 3.6.2)
Found matching candidates:
<Candidate joblib 1.0.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 1.0.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.17.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.16.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.15.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.15.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.14.1 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.14.0 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.13.2 from https://pypi.org/simple/joblib/>
<Candidate joblib 0.13.1 from https://pypi.org/simple/joblib/>
... [26 more candidate(s)]
Adding requirement regex(from nltk 3.6.2)
Found matching candidates:
<Candidate regex 2021.4.4 from https://pypi.org/simple/regex/>
<Candidate regex 2021.3.17 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.13 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.28 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.23 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.22 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.15 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.9.27 from https://pypi.org/simple/regex/>
... [2852 more candidate(s)]
Adding requirement tqdm(from nltk 3.6.2)
Found matching candidates:
<Candidate tqdm 4.61.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.61.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.60.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.59.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.58.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.57.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.2 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.55.2 from https://pypi.org/simple/tqdm/>
... [250 more candidate(s)]
Resolving: new pin nltk 3.6.2
======== Ending round 42 ========
======== Starting round 43 ========
Resolving: new pin tqdm 4.61.1
======== Ending round 43 ========
======== Starting round 44 ========
Adding requirement pyparsing>=2.0.2(from packaging 20.9)
Found matching candidates:
<Candidate pyparsing 3.0.0b2 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 3.0.0b1 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 3.0.0a2 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 3.0.0a1 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 2.4.7 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 2.4.6 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 2.4.5 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 2.4.4 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 2.4.3 from https://pypi.org/simple/pyparsing/>
<Candidate pyparsing 2.4.2 from https://pypi.org/simple/pyparsing/>
... [75 more candidate(s)]
Resolving: new pin packaging 20.9
======== Ending round 44 ========
======== Starting round 45 ========
Adding requirement spacy<4.0.0,>=3.0.0(from spacy-transformers 1.0.3)
Found matching candidates:
<Candidate spacy 3.0.6 from https://pypi.org/simple/spacy/>
<Candidate spacy 3.0.5 from https://pypi.org/simple/spacy/>
<Candidate spacy 3.0.4 from https://pypi.org/simple/spacy/>
<Candidate spacy 3.0.3 from https://pypi.org/simple/spacy/>
<Candidate spacy 3.0.2 from https://pypi.org/simple/spacy/>
<Candidate spacy 3.0.1 from https://pypi.org/simple/spacy/>
<Candidate spacy 3.0.1.dev0 from https://pypi.org/simple/spacy/>
<Candidate spacy 3.0.0 from https://pypi.org/simple/spacy/>
<Candidate spacy 2.3.7 from https://pypi.org/simple/spacy/>
<Candidate spacy 2.3.6 from https://pypi.org/simple/spacy/>
... [202 more candidate(s)]
Adding requirement transformers<4.7.0,>=3.4.0(from spacy-transformers 1.0.3)
Found matching candidates:
<Candidate transformers 4.7.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.6.1 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.6.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.5.1 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.5.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.4.2 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.4.1 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.4.0 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.3.3 from https://pypi.org/simple/transformers/>
<Candidate transformers 4.3.2 from https://pypi.org/simple/transformers/>
... [91 more candidate(s)]
Adding requirement torch>=1.5.0(from spacy-transformers 1.0.3)
Found matching candidates:
<Candidate torch 1.8.0 from https://pypi.org/simple/torch/>
Adding requirement srsly<3.0.0,>=2.4.0(from spacy-transformers 1.0.3)
Found matching candidates:
<Candidate srsly 2.4.1 from https://pypi.org/simple/srsly/>
<Candidate srsly 2.4.0 from https://pypi.org/simple/srsly/>
Adding requirement spacy-alignments<1.0.0,>=0.7.2(from spacy-transformers 1.0.3)
Found matching candidates:
<Candidate spacy-alignments 0.8.3 from https://pypi.org/simple/spacy-alignments/>
<Candidate spacy-alignments 0.7.2 from https://pypi.org/simple/spacy-alignments/>
Resolving: new pin spacy-transformers 1.0.3
======== Ending round 45 ========
======== Starting round 46 ========
Adding requirement catalogue<2.1.0,>=2.0.1(from srsly 2.4.1)
Found matching candidates:
<Candidate catalogue 2.0.4 from https://pypi.org/simple/catalogue/>
<Candidate catalogue 2.0.3 from https://pypi.org/simple/catalogue/>
<Candidate catalogue 2.0.2 from https://pypi.org/simple/catalogue/>
<Candidate catalogue 2.0.1 from https://pypi.org/simple/catalogue/>
Resolving: new pin srsly 2.4.1
======== Ending round 46 ========
======== Starting round 47 ========
Resolving: new pin catalogue 2.0.4
======== Ending round 47 ========
======== Starting round 48 ========
Resolving: new pin spacy-alignments 0.8.3
======== Ending round 48 ========
======== Starting round 49 ========
Adding requirement filelock(from transformers 4.6.1)
Found matching candidates:
<Candidate filelock 3.0.12 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.10 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.9 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.8 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.6 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.4 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.3 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.2 from https://pypi.org/simple/filelock/>
<Candidate filelock 3.0.0 from https://pypi.org/simple/filelock/>
<Candidate filelock 2.0.13 from https://pypi.org/simple/filelock/>
... [23 more candidate(s)]
Adding requirement huggingface-hub==0.0.8(from transformers 4.6.1)
Found matching candidates:
<Candidate huggingface-hub 0.0.8 from https://pypi.org/simple/huggingface-hub/>
Adding requirement numpy>=1.17(from transformers 4.6.1)
Found matching candidates:
<Candidate numpy 1.21.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.21.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.3 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc2 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.20.0rc1 from https://pypi.org/simple/numpy/>
<Candidate numpy 1.19.5 from https://pypi.org/simple/numpy/>
... [1760 more candidate(s)]
Adding requirement packaging(from transformers 4.6.1)
Found matching candidates:
<Candidate packaging 20.9 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.8 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.7 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.6 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.5 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.4 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.3 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.2 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.1 from https://pypi.org/simple/packaging/>
<Candidate packaging 20.0 from https://pypi.org/simple/packaging/>
... [60 more candidate(s)]
Adding requirement regex!=2019.12.17(from transformers 4.6.1)
Found matching candidates:
<Candidate regex 2021.4.4 from https://pypi.org/simple/regex/>
<Candidate regex 2021.3.17 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.13 from https://pypi.org/simple/regex/>
<Candidate regex 2020.11.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.28 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.23 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.22 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.15 from https://pypi.org/simple/regex/>
<Candidate regex 2020.10.11 from https://pypi.org/simple/regex/>
<Candidate regex 2020.9.27 from https://pypi.org/simple/regex/>
... [2852 more candidate(s)]
Adding requirement requests(from transformers 4.6.1)
Found matching candidates:
<Candidate requests 2.25.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.25.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.24.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.23.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.22.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.21.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.20.0 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.1 from https://pypi.org/simple/requests/>
<Candidate requests 2.19.0 from https://pypi.org/simple/requests/>
... [191 more candidate(s)]
Adding requirement sacremoses(from transformers 4.6.1)
Found matching candidates:
<Candidate sacremoses 0.0.45 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.44 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.43 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.42 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.41 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.40 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.39 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.38 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.35 from https://pypi.org/simple/sacremoses/>
<Candidate sacremoses 0.0.34 from https://pypi.org/simple/sacremoses/>
... [33 more candidate(s)]
Adding requirement tokenizers<0.11,>=0.10.1(from transformers 4.6.1)
Found matching candidates:
<Candidate tokenizers 0.10.3 from https://pypi.org/simple/tokenizers/>
<Candidate tokenizers 0.10.2 from https://pypi.org/simple/tokenizers/>
<Candidate tokenizers 0.10.1 from https://pypi.org/simple/tokenizers/>
Adding requirement tqdm>=4.27(from transformers 4.6.1)
Found matching candidates:
<Candidate tqdm 4.61.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.61.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.60.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.59.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.58.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.57.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.2 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.1 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.56.0 from https://pypi.org/simple/tqdm/>
<Candidate tqdm 4.55.2 from https://pypi.org/simple/tqdm/>
... [250 more candidate(s)]
Resolving: new pin transformers 4.6.1
======== Ending round 49 ========
======== Starting round 50 ========
Adding requirement colorama; platform_system == "Windows"(from click 8.0.1)
Found matching candidates:
<Candidate colorama 0.4.4 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.4.3 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.4.2 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.4.1 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.4.0 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.3.9 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.3.8 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.3.7 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.3.6 from https://pypi.org/simple/colorama/>
<Candidate colorama 0.3.5 from https://pypi.org/simple/colorama/>
... [74 more candidate(s)]
Resolving: new pin click 8.0.1
======== Ending round 50 ========
======== Starting round 51 ========
Resolving: new pin colorama 0.4.4
======== Ending round 51 ========
======== Starting round 52 ========
Resolving: new pin pyparsing 3.0.0b2
======== Ending round 52 ========
======== Starting round 53 ========
Preparing isolated env for PEP 517 build...
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 147, in _merge_into_criterion
matches = self._p.find_matches(
TypeError: find_matches() got an unexpected keyword argument 'identifier'
Failed to build package, try parsing project files.
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 77, in log_subprocessor
subprocess.check_call(
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.9', '-Esm', 'pip', 'install', '--ignore-installed', '--prefix', '/tmp/pdm-build-env-eudry9af', '-i', 'https://pypi.org/simple', '-r', '/tmp/pdm-build-reqs-nubfzfj1.txt']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pdm/models/candidates.py", line 188, in get_metadata
built = self.environment.build(ireq, self.hashes, allow_all_wheels)
File "/usr/lib/python3.9/site-packages/pdm/models/environment.py", line 315, in build
return EnvWheelBuilder(ireq.unpacked_source_directory, self).build(output_dir)
File "/usr/lib/python3.9/site-packages/pdm/builders/wheel.py", line 13, in build
self.install(self._build_system["requires"])
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 226, in install
self.subprocess_runner(cmd, isolated=False)
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 191, in subprocess_runner
return log_subprocessor(cmd, cwd, extra_environ=env)
File "/usr/lib/python3.9/site-packages/pdm/builders/base.py", line 85, in log_subprocessor
raise BuildError(f"Call command {cmd} return non-zero status.")
pdm.exceptions.BuildError: Call command ['/usr/bin/python3.9', '-Esm', 'pip', 'install', '--ignore-installed', '--prefix', '/tmp/pdm-build-env-eudry9af', '-i', 'https://pypi.org/simple', '-r', '/tmp/pdm-build-reqs-nubfzfj1.txt'] return non-zero status.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/sbin/pdm", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.9/site-packages/pdm/core.py", line 185, in main
return Core().main(args)
File "/usr/lib/python3.9/site-packages/pdm/core.py", line 146, in main
raise cast(Exception, err).with_traceback(traceback)
File "/usr/lib/python3.9/site-packages/pdm/core.py", line 141, in main
f(options.project, options)
File "/usr/lib/python3.9/site-packages/pdm/cli/commands/install.py", line 38, in handle
actions.do_lock(project, strategy="all")
File "/usr/lib/python3.9/site-packages/pdm/cli/actions.py", line 67, in do_lock
mapping, dependencies, summaries = resolve(
File "/usr/lib/python3.9/site-packages/pdm/resolver/core.py", line 30, in resolve
result = resolver.resolve(requirements, max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 367, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion
criteria = self._get_criteria_to_update(candidate)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 202, in _get_criteria_to_update
for r in self._p.get_dependencies(candidate=candidate):
File "/usr/lib/python3.9/site-packages/pdm/resolver/providers.py", line 87, in get_dependencies
deps, requires_python, summary = self.repository.get_dependencies(candidate)
File "/usr/lib/python3.9/site-packages/pdm/models/repositories.py", line 79, in get_dependencies
requirements, requires_python, summary = getter(candidate)
File "/usr/lib/python3.9/site-packages/pdm/models/repositories.py", line 46, in wrapper
result = func(self, candidate)
File "/usr/lib/python3.9/site-packages/pdm/models/repositories.py", line 185, in _get_dependencies_from_metadata
deps = candidate.get_dependencies_from_metadata()
File "/usr/lib/python3.9/site-packages/pdm/models/candidates.py", line 243, in get_dependencies_from_metadata
metadata = self.get_metadata()
File "/usr/lib/python3.9/site-packages/pdm/models/candidates.py", line 193, in get_metadata
meta_dict = Setup.from_directory(
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 37, in from_directory
return _SetupReader.read_from_directory(dir)
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 59, in read_from_directory
new_result = file_reader(filepath)
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 97, in read_setup_py
extras_require=cls._find_extras_require(setup_call, body),
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 300, in _find_extras_require
extras_require[key.s] = [e.s for e in val.elts]
File "/usr/lib/python3.9/site-packages/pdm/models/setup.py", line 300, in <listcomp>
extras_require[key.s] = [e.s for e in val.elts]
AttributeError: 'JoinedStr' object has no attribute 's'
The command '/bin/sh -c pdm install -v' returned a non-zero code: 1 |
Did you do a fresh-install? You should upgrade to pdm 1.6.4 and resolvelib 0.7.1 respectively |
My bad, I copy-pasted the above comment with resolvlib 1.7.0 (I should've double-checked). I replaced it with 1.7.1 I did a fresh install by removing It works except that I'm stuck in either an infinite dependency resolving loop or get the here is my dependency list if you want to try to reproduce (the only constrain is on torch):
Thanks again for your precious time ! |
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Use a docker file to install pdm and bring the project to production.
Docker file :
Actual behavior
Getting a
Note that pdm install works locally on my machine (which is also on archlinux).
Expected behavior
Build the image without problems and run pdm in a container
Environment Information
Cannot run
pdm info
or other pdm related command as it leads to the same error (shown above)Note that I need the archlinux image as I'm also installing tools (like java, llvm10), etc... so I cannot use the official pdm image.
I suspect that the pip version was updated and pdm isn't working with the new one maybe something like pypa/pip#9188
The text was updated successfully, but these errors were encountered: