nest-simulator
nest-simulator copied to clipboard
PyNEST's `setup.py` version does not comply with PEP440
Describe the bug
The setup.py produced by CMake contains invalid version specifiers such as python-cmake@6b17f32b1 which do not comply with PEP440 and lead to warnings in #1959 :
/home/robin/.pyenv/versions/3.9.0/envs/nest/lib/python3.9/site-packages/setuptools/dist.py:472: UserWarning: The version specified ('python-cmake@6b17f32b1') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI.
Fixed in NEST 3, closing.
Issue automatically marked stale!
- A sanitized version should be made available to Python, during release workflows, to be packaged.
- It should be immediately clear from the Python version whether it is an official release
- Append a monotonically increasing
devtag to all source builds ran by users.
- Append a monotonically increasing
- Full version debugging info should be made readily available from the Python API
nest.version_info(), so that the need forgit-branch@git-commitis filled in (for profiling, benchmarking, debugging, issue reporting).
Issue automatically marked stale!
Issue automatically marked stale!