Please allow some flexibility for dependency versions
See original GitHub issueFor projects that depend on the libraries that bitconutils uses, it is very possible that there are conflicting dependencies causing the project to fail to install. With pip install usually it only prints a warning in the terminal, but if the main project uses pipenv or poetry such a conflict will prevent to install any dependency.
Reason of this issue is in setup.py. Instead of:
install_requires=[
'base58check==1.0.2',
'ecdsa==0.17.0',
'sympy==1.3',
'python-bitcoinrpc==1.0'
],
can be
install_requires=[
'base58check>=1.0.0,<1.0.3',
'ecdsa>=0.12.0,<0.18.0',
'sympy>=1.2,<1.4',
'python-bitcoinrpc>=1.0',<2.0
],
These ranges should be replaced too in requirements.txt
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
PSA: Please specify precise dependency versions in Cargo.toml
Such overly-flexible version is very likely to be wrong, because it allows Cargo to use a completely different version from the version that...
Read more >PSA: Please specify precise dependency versions in Cargo.toml
I've heard talk of a variant where it only selects minimal versions for your direct dependencies. This will help in verifying your version ......
Read more >More flexible dependencies, please · Issue #181 - GitHub
I'm trying to utilize this library in a script with urllib3 version that is not compatible with rembg version because the compatibility is ......
Read more >versions in elixir dependencies - Stack Overflow
So, to have some flexibility people usually do "~> 1.2.3" or "~> 1.2" if they trust the package using proper semantic versioning.
Read more >Introducing Central Package Management - The NuGet Blog
Dependency management is a core feature of NuGet. ... Inside, you can define each of the respective package versions required of your ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I noticed that I already did relax everything except ecdsa.
thanks I think is good for now. I’m closing this issue