question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please allow some flexibility for dependency versions

See original GitHub issue

For 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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
karaskcommented, Feb 8, 2022

I noticed that I already did relax everything except ecdsa.

0reactions
comtomcommented, Mar 14, 2022

thanks I think is good for now. I’m closing this issue

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found