Materials-Data-Science-and-Informatics / metador-core

Core of Metador, the FAIR metadata-first research data management framework.
MIT License
4 stars 0 forks source link

Invalid constraint (PEP 440)? #48

Closed Jas2Ma closed 2 years ago

Jas2Ma commented 2 years ago

I tried to add metador-core to my poetry project. It is working fine with poetry v1.2.0, but with poetry v1.2.1 poetry install fails. Take a look here for details: https://github.com/python-poetry/poetry/issues/6571

I have checked all my own packages I import and they are working fine with poetry v1.2.1, so I assume it is failing due to metador-core.

apirogov commented 2 years ago

Could not reproduce with poetry 1.2.1 and metador-core as git dependency in a fresh poetry project... So I would suggest to look into your own pyproject.toml specifics.

I will close this, feel free to reopen if you can demonstrate that the problem is in metador-core

Also maybe comment your solution if you find one either way, for others facing a similar issue :)

Jas2Ma commented 2 years ago

The error seems to be connected to some older dependencies. Deleting the poetry.lock-file and install the project worked just fine.