Undertone0809 / P3G

πŸš€Python Packages Project Generator-Your next Python package needs a bleeding-edge project structure.
MIT License
51 stars 6 forks source link

Safety not working in poetry enviroment #116

Open ulig123 opened 1 month ago

ulig123 commented 1 month ago

πŸ› Bug Report

The issue occurs when the user wants to install safety. Safety depends on the safety-schema package version 0.0.2. This package depends on ruamel-yaml 0.18,6 which depends on ruamel-yaml-clib >=0.2.7. Poetry however cannot select this package even though it is installed in the site-packages.

πŸ”¬ How To Reproduce

Steps to reproduce the behavior:

  1. Add safety version 3.2.4 to pyproject.toml as dev dependency
  2. Reproduce poetry.lock using poetry update -vvv to log information about the dependency resolve process
  3. Dependency Resolve Process ends in infinite loop, since ruamel-yaml-clib cant be selected.

Code sample

image

Environment

python --version

Screenshots

image

github-actions[bot] commented 1 month ago

Hello @ulig123, thanks for your first issue and interest in our work 😊!

If this is a bug report, please provide screenshots, relevant logs and minimum viable code to reproduce your issue, which will help us debug the problem.

Undertone0809 commented 1 month ago

Thanks for your feedback. But it doesn't seem to have anything to do with p3g? Providing more information if you think I was wrong.