pyproject and submodule dependencies
I was running the script generate_python_dependencies.sh
and run into some issues, namely for the package astroid
:
Could not find a version that matches astroid==2.13.2,==2.5.1,>=2.5.1 (from nomad-lab (pyproject.toml))
...
astroid==2.5.1 (from nomad-lab (pyproject.toml))
astroid==2.13.2 (from -r requirements.txt (line 20))
astroid>=2.5.1 (from nexusutils (dependencies/parsers/nexus/pyproject.toml))
I am still working on what is the best solution (I will push some changes to #1156 (closed), but feel free to solve this before that branch is merged; edit: it seems the pip install with requirements.txt didnt work).
A couple of details: python3.8 was used in nexus (but this shouldn't be a problem, I think), I was checking whether setting astroid>=
and typed-ast>=
solves the issue, but no:
Could not find a version that matches typed-ast<1.5.0,<2.0,==1.5.4,>=1.4.0,>=1.4.2 (from nomad-lab (pyproject.toml))
Tried: 0.5, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.0, 1.1.1, 1.1.1, 1.1.2, 1.1.2, 1.2.0, 1.2.0, 1.3.0, 1.3.0, 1.3.1, 1.3.1, 1.3.2, 1.3.2, 1.3.4, 1.3.4, 1.3.5, 1.3.5, 1.4.0, 1.4.0, 1.4.1, 1.4.1, 1.4.2, 1.4.2, 1.4.3, 1.4.3, 1.5.0, 1.5.0, 1.5.1, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.3, 1.5.4, 1.5.4
There are incompatible versions in the resolved dependencies:
typed-ast>=1.4.2 (from nomad-lab (pyproject.toml))
typed-ast>=1.4.2 (from nexusutils (dependencies/parsers/nexus/pyproject.toml))
typed-ast==1.5.4 (from -r requirements.txt (line 250))
typed-ast<1.5.0,>=1.4.0 (from mypy==0.730->nomad-lab (pyproject.toml))
typed-ast<2.0,>=1.4.0 (from astroid==2.13.2->nomad-lab (pyproject.toml))