Skip to content

Commit

Permalink
ci.yml: Upgraded poetry to 1.6.1
Browse files Browse the repository at this point in the history
Getting some weird SolverProblemError failures related to sshtunnel ^0.4.0 ,
Possibly related to python-poetry/poetry#1614 :

```
Creating virtualenv couchbase-cluster-admin-Zcl4Ty5o-py3.8 in /home/runner/.cache/pypoetry/virtualenvs
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.

  SolverProblemError

  Because couchbase-cluster-admin depends on sshtunnel (^0.4.0) which doesn't match any versions, version solving failed.

  at /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/poetry/puzzle/solver.py:241 in _solve
      237│             packages = result.packages
      238│         except OverrideNeeded as e:
      239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
      240│         except SolveFailure as e:
    → 241│             raise SolverProblemError(e)
      242│
      243│         results = dict(
      244│             depth_first_search(
      245│                 PackageNode(self._package, packages), aggregate_package_nodes
Error: Process completed with exit code 1.
```
  • Loading branch information
cosimo committed Oct 17, 2023
1 parent 199d11c commit 5d8ea1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.8"]
poetry-version: ["1.1.15"]
poetry-version: ["1.6.1"]

runs-on: ubuntu-latest

Expand Down

0 comments on commit 5d8ea1a

Please sign in to comment.