You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on reproducible builds for openSUSE, I found that
our python-quantities package always had variations in _codata.py
This can be fixed with
--- a/setup.py+++ b/setup.py@@ -24,7 +24,6 @@ class data(Command):
with open('quantities/constants/_codata.py', 'w') as f:
f.write('# THIS FILE IS AUTOMATICALLY GENERATED\n')
f.write('# ANY CHANGES MADE HERE WILL BE LOST\n')
- f.write(f'# LAST GENERATED: {datetime.now()}\n\n')
f.write('physical_constants = {}\n\n')
for line in data:
name = line[:55].rstrip().replace('mag.','magnetic')
While working on reproducible builds for openSUSE, I found that
our
python-quantities
package always had variations in_codata.py
This can be fixed with
or with a more complex patch to allow to override the build date https://reproducible-builds.org/docs/source-date-epoch/#python
The text was updated successfully, but these errors were encountered: