Conversation
|
I think forks just need to merge from the main master branch for versioning to be correct? The versions are updated when the release happens. |
|
So merging from the upstream master did no work. dependencies = [
'pymatgen@git+https://github.com/jmmshn/pymatgen#egg=master',
'jobflow@git+https://github.com/jmmshn/jobflow@main#egg=main',
'atomate2@git+https://github.com/jmmshn/atomate2@main#egg=main'
]Without |
|
I am not sure how the pyproject fixes this problem? You need to pull from origin/master for the version to be updated. |
|
So the problem was that if I forked However, if you have that branch as a dependency, it will cause pip resolve issues since the version number/name is wrong despite the code being correct. This morning all three branches were up-to-date in code but not in tags. For |
|
This is a pretty niche issue since most people aren't doing production runs while changing multiple packages. |
Allow proper versioning for forked repos
I'm not 100% sure how the current version numbering is updated for
pymatgenbut it's not able to update the number properly for forks. The forks seem to keep a much older version number (from before the forking)This creates problems if you have the forked repo as a dependency in a requirement.txt file.
This should fix that issue.