Closed brycegbrazen closed 11 months ago
Looks like we need to add a tiny bit of new code here.
@JeanChristopheMorinPerso mentioned we could just get the current version with importlib_metadata.version('rez-pip')
This is fixed in the latest version.
When running
rez-pip2
on any package, therez_pip_version
metadata is missing from the producedpackage.py
file.This metadata is shown to be present in the docs but does not appear in produced
package.py
files.Environment
To Reproduce
rez-pip
rez-pip2 semver==3.0.2
(can also tryrequests==2.31.0
or any other package at all)Expected Behavior
rez_pip_version
metadata present inpip
attribute ofpackage.py
.Actual Behavior
rez_pip_version
is missing frompip
attribute ofpackage.py