Problem description:
I’ve recently rebuild a Python-repl from a Github repository since it was still listed as a bash repl (deleted the old one and imported it fresh). Every time I use the Run
button now, the system is unsuccessfully attempting to install the gardener-cicd-libs
package. Non of the files in the repl use that package, it’s a native Python repl without any packages installed. (I don’t even know what the package does.) I don’t have that problem with any other Python repl, even if I import them from Github. Also, it doesn’t happen when I run the file from the console.
Expected behavior:
When using the Run
button only the resp. program should run, nothing else.
Actual behavior:
Poetry tries to install the gardener-cicd-libs
package and the following message appears:
Replit: Updating package configuration
→ python3 -m poetry add gardener-cicd-libs
Using version ^1.1953.0 for gardener-cicd-libsUpdating dependencies
Resolving dependencies…SolverProblemError
The current project’s Python requirement (>=3.8,<4.0) is not compatible with some of the required packages Python requirement:
- gardener-cicd-libs requires Python >=3.9.*, so it will not be satisfied for Python >=3.8,<3.9Because no versions of gardener-cicd-libs match >1.1953.0,<2.0.0
and gardener-cicd-libs (1.1953.0) requires Python >=3.9.*, gardener-cicd-libs is forbidden.
So, because repl-nix-morsels depends on gardener-cicd-libs (^1.1953.0), version solving failed.at venv/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• Check your dependencies Python requirement: The Python requirement can be specified via the
python
ormarkers
propertiesFor gardener-cicd-libs, a possible solution would be to set the
python
property to “>=3.9,<4.0”exit status 1
Replit: Package operation failed.
Steps to reproduce:
I don’t know if you can run the repl?
Bug appears at this link:
https://replit.com/@Timsbim/Morsels#current.py
Browser/OS/Device:
Independent of Browser/OS/Device