-
-
Save arthi-navenio/d0ee9cbe8e36c949a8329a33cbc6fcce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(olp-slam-dev-py3.9) ➜ olp-slam-dev git:(lam-1079-testing-olp-in-local) ✗ poetry install -vvv | |
Loading configuration file /home/arthiarumugam/.config/pypoetry/config.toml | |
Loading configuration file /home/arthiarumugam/.config/pypoetry/auth.toml | |
Adding repository jfrog-pypi (https://navenio.jfrog.io/artifactory/api/pypi/pypi/simple) and setting it as the default one | |
Deactivating the PyPI repository | |
Using virtualenv: /home/arthiarumugam/.cache/pypoetry/virtualenvs/olp-slam-dev-1GN7gHjN-py3.9 | |
Project environment contains an empty path in sys_path, ignoring. | |
Installing dependencies from lock file | |
Warning: poetry.lock is not consistent with pyproject.toml. You may be getting improper dependencies. Run `poetry lock [--no-update]` to fix it. | |
Finding the necessary packages for the current system | |
Source (poetry-repo): 0 packages found for navenio-sauce-scripts 20220916.9 | |
Falling back to installed packages to discover metadata for navenio-sauce-scripts | |
Found 0 compatible packages for navenio-sauce-scripts | |
Stack trace: | |
4 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/puzzle/solver.py:151 in _solve | |
149│ | |
150│ try: | |
→ 151│ result = resolve_version( | |
152│ self._package, self._provider, locked=locked, use_latest=use_latest | |
153│ ) | |
3 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/mixology/__init__.py:24 in resolve_version | |
22│ solver = VersionSolver(root, provider, locked=locked, use_latest=use_latest) | |
23│ | |
→ 24│ return solver.solve() | |
25│ | |
2 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/mixology/version_solver.py:126 in solve | |
124│ next: str | None = self._root.name | |
125│ while next is not None: | |
→ 126│ self._propagate(next) | |
127│ next = self._choose_package_version() | |
128│ | |
1 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/mixology/version_solver.py:165 in _propagate | |
163│ # where that incompatibility will allow us to derive new assignments | |
164│ # that avoid the conflict. | |
→ 165│ root_cause = self._resolve_conflict(incompatibility) | |
166│ | |
167│ # Back jumping erases all the assignments we did at the previous | |
SolveFailure | |
Because olp-slam-dev depends on navenio-sauce-scripts (20220916.9) which doesn't match any versions, version solving failed. | |
at ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/mixology/version_solver.py:364 in _resolve_conflict | |
360│ ) | |
361│ self._log(f'! which is caused by "{most_recent_satisfier.cause}"') | |
362│ self._log(f"! thus: {incompatibility}") | |
363│ | |
→ 364│ raise SolveFailure(incompatibility) | |
365│ | |
366│ def _choose_package_version(self) -> str | None: | |
367│ """ | |
368│ Tries to select a version of a required package. | |
The following error occurred when trying to handle this error: | |
Stack trace: | |
11 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/cleo/application.py:329 in run | |
327│ | |
328│ try: | |
→ 329│ exit_code = self._run(io) | |
330│ except Exception as e: | |
331│ if not self._catch_exceptions: | |
10 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/console/application.py:185 in _run | |
183│ self._load_plugins(io) | |
184│ | |
→ 185│ exit_code: int = super()._run(io) | |
186│ return exit_code | |
187│ | |
9 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/cleo/application.py:423 in _run | |
421│ io.input.set_stream(stream) | |
422│ | |
→ 423│ exit_code = self._run_command(command, io) | |
424│ self._running_command = None | |
425│ | |
8 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/cleo/application.py:465 in _run_command | |
463│ | |
464│ if error is not None: | |
→ 465│ raise error | |
466│ | |
467│ return event.exit_code | |
7 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/cleo/application.py:449 in _run_command | |
447│ | |
448│ if event.command_should_run(): | |
→ 449│ exit_code = command.run(io) | |
450│ else: | |
451│ exit_code = ConsoleCommandEvent.RETURN_CODE_DISABLED | |
6 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/cleo/commands/base_command.py:119 in run | |
117│ io.input.validate() | |
118│ | |
→ 119│ status_code = self.execute(io) | |
120│ | |
121│ if status_code is None: | |
5 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/cleo/commands/command.py:83 in execute | |
81│ | |
82│ try: | |
→ 83│ return self.handle() | |
84│ except KeyboardInterrupt: | |
85│ return 1 | |
4 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/console/commands/install.py:145 in handle | |
143│ self.installer.verbose(self.io.is_verbose()) | |
144│ | |
→ 145│ return_code = self.installer.run() | |
146│ | |
147│ if return_code != 0: | |
3 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/installation/installer.py:114 in run | |
112│ self._execute_operations = False | |
113│ | |
→ 114│ return self._do_install() | |
115│ | |
116│ def dry_run(self, dry_run: bool = True) -> Installer: | |
2 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/installation/installer.py:316 in _do_install | |
314│ | |
315│ with solver.use_environment(self._env): | |
→ 316│ ops = solver.solve(use_latest=self._whitelist).calculate_operations( | |
317│ with_uninstalls=self._requires_synchronization, | |
318│ synchronize=self._requires_synchronization, | |
1 ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/puzzle/solver.py:73 in solve | |
71│ with self._provider.progress(): | |
72│ start = time.time() | |
→ 73│ packages, depths = self._solve(use_latest=use_latest) | |
74│ end = time.time() | |
75│ | |
SolverProblemError | |
Because olp-slam-dev depends on navenio-sauce-scripts (20220916.9) which doesn't match any versions, version solving failed. | |
at ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/puzzle/solver.py:159 in _solve | |
155│ packages = result.packages | |
156│ except OverrideNeeded as e: | |
157│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest) | |
158│ except SolveFailure as e: | |
→ 159│ raise SolverProblemError(e) | |
160│ | |
161│ combined_nodes = depth_first_search(PackageNode(self._package, packages)) | |
162│ results = dict(aggregate_package_nodes(nodes) for nodes in combined_nodes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment