localstack icon indicating copy to clipboard operation
localstack copied to clipboard

bug: Fixed dependency for dill leads to issued while resolving dependencies

Open laakejs opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

During dependency resolving with poetry I get an error, because localstack-core requires Dill in version 0.3.2

So, because localstack-ext (2.1.0) depends on localstack-core (2.1.0) and localstack-core (2.1.0) depends on dill (0.3.2), localstack (>=2.1.0,<3.0.0) requires dill (0.3.2).

This causes problems, for example when I try to install a new version of pylint in the same virtual environment.

And because pylint (2.17.4) depends on dill (>=0.3.6), pylint (>=2.17.3,<3.0.0) requires dill (>=0.3.6).

Expected Behavior

For libraries it is usually better to allow a range of internal dependencies rather than a specific version.

Could you upgrade the dependencies for dill to a range instead?

How are you starting LocalStack?

Custom (please describe below)

Steps To Reproduce

create a new venv with poetry

poetry new test
cd test
poetry add pylint
poetry add localstack

Environment

- OS: Ubuntu 20.04 (WSL)

Anything else?

No response

laakejs avatar Jun 06 '23 10:06 laakejs

Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide.

localstack-bot avatar Jun 06 '23 10:06 localstack-bot

Find available versions below dill==0.3.2 , pylint==2.14.5

lllong33 avatar Aug 02 '23 03:08 lllong33

any update on this issue, this issue is still preventing us from upgrading pylint image

GauravMF avatar May 16 '24 04:05 GauravMF