Comments (8)
This looks like an issue with your setup, rather than issue with suez.
Did you run poetry install
?
from suez.
Did you run poetry install ?
Yes I installed poetry, as per the docs, and then ran poetry install
.
from suez.
I fixed it by making these changes to pyproject.toml
. I don't really know what I'm doing with Python configs though so not sure if it's the correct way or not.
[tool.poetry.dependencies]
python = ">=3.6.2,<4.0"
rich = "^10.2.2"
click = "^8.0.1"
dataclasses = {version = "^0.7", python = "~3.6.1"}
from suez.
Added in 300dfee
Can you please confirm the commit works for you?
from suez.
Added in 300dfee
Can you please confirm the commit works for you?
No it doesn't.
The python = ">=3.6.2,<4.0"
line is what fixes it. The dataclasses
line turns out not to be necessary, at least for me.
from suez.
python = "^3.6"
is equivalent to python = ">=3.6.0,<4.0"
python = "~3.6"
is equivalent to python = ">=3.6.0,<3.7.0"
It seems there is something weird with your setup, but since you were able to fix it, I am closing this issue. Thanks for the report.
from suez.
python = "^3.6" is equivalent to python = ">=3.6.0,<4.0"
python = "~3.6" is equivalent to python = ">=3.6.0,<3.7.0"
Beats me, I just did what poetry
recommended, see below. I doubt it's my environment as the behaviour is identical on two separate machines. At least it's documented here now in case anyone else has the same issue.
$ poetry update
Updating dependencies
Resolving dependencies... (0.0s)
SolverProblemError
The current project's Python requirement (>=3.6,<4.0) is not compatible with some of the required packages Python requirement:
- black requires Python >=3.6.2, so it will not be satisfied for Python >=3.6,<3.6.2
- black requires Python >=3.6.2, so it will not be satisfied for Python >=3.6,<3.6.2
Because no versions of black match >21.5b2,<21.6b0 || >21.6b0,<22.0
and black (21.5b2) requires Python >=3.6.2, black is forbidden.
So, because black (21.6b0) requires Python >=3.6.2
and suez depends on black (^21.5b2), version solving failed.
at ~/.poetry/lib/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` or `markers` properties
For black, a possible solution would be to set the `python` property to ">=3.6.2,<4.0"
For black, a possible solution would be to set the `python` property to ">=3.6.2,<4.0"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
from suez.
Makes sense, the error above is completely new and unrelated to dataclasses.
It is related to black and I fixed that in d078dee
Thanks!
from suez.
Related Issues (20)
- edge not foud HOT 2
- ZeroDivisionError when running without channels HOT 1
- connecting to remote node? HOT 6
- TypeError: unsupported format string passed to NoneType.__format__ HOT 2
- ZeroDivisionError while node syncing HOT 3
- Latest c-lightning no longer has last_tx_fee, but does have last_tx_fee_msat
- Confirming: is it dangerous to interrupt the script (e.g., via CTRL+C)? HOT 2
- Remote Node / Umbrel HOT 3
- Display in Min & Max HTLCs HOT 4
- Use RPC instead of lncli HOT 3
- No module named 'virtualenv.seed.via_app_data' HOT 4
- Parallel channels for Core Ligthning are not displayed HOT 2
- Version for Terminal Web Scores HOT 1
- Terminal Web v3 HOT 1
- Inaccurate local fees calculation HOT 2
- Add arguments to show only public or only private channels HOT 6
- corelightning + suez HOT 18
- CLN - Command "setchannelfee" is deprecated HOT 3
- Add lightning-network as a topic to this repository HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suez.