Skip to content

Instantly share code, notes, and snippets.

@hwalinga
Created September 14, 2020 10:53
Show Gist options
  • Save hwalinga/b2bc4f2425c69cfafb836790e737d65a to your computer and use it in GitHub Desktop.
Save hwalinga/b2bc4f2425c69cfafb836790e737d65a to your computer and use it in GitHub Desktop.
Using virtualenv: /home/hielke/.cache/pypoetry/virtualenvs/demap-kqoNszLJ-py3.8
PyPI: 31 packages found for pint *
Using version ^0.16 for Pint
Updating dependencies
Resolving dependencies...
1: fact: demap is 0.1.0
1: derived: demap
0: Duplicate dependencies for pint
1: fact: demap depends on django (^2.2.13)
1: fact: demap depends on django-filter (^2.2.0)
1: fact: demap depends on django-npm (^1.0.0)
1: fact: demap depends on djangorestframework (^3.11.0)
1: fact: demap depends on djangorestframework-simplejwt (*)
1: fact: demap depends on markdown (^3.2.1)
1: fact: demap depends on matplotlib (^3.3.0)
1: fact: demap depends on numpy (^1.19.0)
1: fact: demap depends on scipy (^1.4.1)
1: fact: demap depends on mod_wsgi (^4.7.1)
1: fact: demap depends on psycopg2 (^2.8.4)
1: fact: demap depends on psycopg2-binary (^2.8.4)
1: fact: demap depends on django-reset-migrations (^0.4.0)
1: fact: demap depends on django-admin-numeric-filter (*)
1: fact: demap depends on drf-yasg (^1.17.1)
1: fact: demap depends on djangorestframework-csv (^2.1.0)
1: fact: demap depends on django-extensions (^3.0.5)
1: fact: demap depends on docutils (^0.16)
1: fact: demap depends on quantulum3 (^0.7.5)
1: fact: demap depends on pint (^0.15)
1: fact: demap depends on Pint (^0.16)
1: fact: demap depends on django-computedfields (0.1.3 git)
1: fact: demap depends on autopep8 (^1.5.3)
1: fact: demap depends on flake8 (^3.7.9)
1: fact: demap depends on mypy (0.770)
1: fact: demap depends on pytest-cov (^2.8.1)
1: fact: demap depends on pytest-django (^3.8.0)
1: fact: demap depends on pylint-django (^2.0.15)
1: fact: demap depends on pylint (^2.5.3)
1: fact: demap depends on isort (^4.3.21)
1: fact: demap depends on django-stubs (^1.5.0)
1: fact: demap depends on autopep8 (^1.5.3)
1: fact: demap depends on flake8 (^3.7.9)
1: fact: demap depends on mypy (0.770)
1: fact: demap depends on pytest-cov (^2.8.1)
1: fact: demap depends on pytest-django (^3.8.0)
1: fact: demap depends on pylint-django (^2.0.15)
1: fact: demap depends on pylint (^2.5.3)
1: fact: demap depends on isort (^4.3.21)
1: fact: demap depends on django-stubs (^1.5.0)
1: selecting demap (0.1.0)
1: derived: django-stubs (^1.5.0)
1: derived: isort (^4.3.21)
1: derived: pylint (^2.5.3)
1: derived: pylint-django (^2.0.15)
1: derived: pytest-django (^3.8.0)
1: derived: pytest-cov (^2.8.1)
1: derived: mypy (0.770)
1: derived: flake8 (^3.7.9)
1: derived: autopep8 (^1.5.3)
1: derived: django-computedfields (0.1.3 git)
1: derived: Pint (^0.16)
1: conflict: demap depends on pint (^0.15)
1: ! not pint (^0.15) is satisfied by Pint (^0.16)
1: ! which is caused by "demap depends on Pint (^0.16)"
1: ! thus: version solving failed
1: Version solving took 5.435 seconds.
1: Tried 1 solutions.
Stack trace:
8 ~/.local/lib/python3.7/site-packages/clikit/console_application.py:131 in run
129│ parsed_args = resolved_command.args
130│
→ 131│ status_code = command.handle(parsed_args, io)
132│ except KeyboardInterrupt:
133│ status_code = 1
7 ~/.local/lib/python3.7/site-packages/clikit/api/command/command.py:120 in handle
118│ def handle(self, args, io): # type: (Args, IO) -> int
119│ try:
→ 120│ status_code = self._do_handle(args, io)
121│ except KeyboardInterrupt:
122│ if io.is_debug():
6 ~/.local/lib/python3.7/site-packages/clikit/api/command/command.py:171 in _do_handle
169│ handler_method = self._config.handler_method
170│
→ 171│ return getattr(handler, handler_method)(args, io, self)
172│
173│ def __repr__(self): # type: () -> str
5 ~/.local/lib/python3.7/site-packages/cleo/commands/command.py:92 in wrap_handle
90│ self._command = command
91│
→ 92│ return self.handle()
93│
94│ def handle(self): # type: () -> Optional[int]
4 ~/.local/lib/python3.7/site-packages/poetry/console/commands/add.py:169 in handle
167│
168│ try:
→ 169│ status = self._installer.run()
170│ except Exception:
171│ self.poetry.file.write(original_content)
3 ~/.local/lib/python3.7/site-packages/poetry/installation/installer.py:99 in run
97│ local_repo = Repository()
98│
→ 99│ return self._do_install(local_repo)
100│
101│ def dry_run(self, dry_run=True): # type: (bool) -> Installer
2 ~/.local/lib/python3.7/site-packages/poetry/installation/installer.py:205 in _do_install
203│ )
204│
→ 205│ ops = solver.solve(use_latest=self._whitelist)
206│ else:
207│ self._io.write_line("Installing dependencies from lock file")
1 ~/.local/lib/python3.7/site-packages/poetry/puzzle/solver.py:65 in solve
63│ with self._provider.progress():
64│ start = time.time()
→ 65│ packages, depths = self._solve(use_latest=use_latest)
66│ end = time.time()
67│
SolverProblemError
Because demap depends on both pint (^0.15) and Pint (^0.16), version solving failed.
at ~/.local/lib/python3.7/site-packages/poetry/puzzle/solver.py:222 in _solve
218│ packages = result.packages
219│ except OverrideNeeded as e:
220│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
221│ except SolveFailure as e:
→ 222│ raise SolverProblemError(e)
223│
224│ graph = self._build_graph(self._package, packages)
225│
226│ depths = []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment