-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build+ci: make local, gh, and Jenkins envs identical #2019
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Dmitry Shemetov <dshemetov@ucdavis.edu>
Co-authored-by: Dmitry Shemetov <dshemetov@ucdavis.edu>
* pandas[excel]<2 doesn't work, go back to xlrd and comment * add mock to changehc * add requests * remove setup.py from template
92ee419
to
cfb451b
Compare
* pin pip==23.0.1 everywhere * remove pip install calls from ci and deploy, make sure all dependencies are listed in pyproject.toml or setup.py and installed by the Makefile * remove wheel from dependencies, only needed wheel for bdist_wheel command, which setuptools>=70.1 provides
983454b
to
8a72ca0
Compare
need to add changes nhsn since nhsn was added in the new release |
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: MIT", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to change this to "License :: OSI Approved :: MIT License"; fixing the merge conflict should fix this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should keep this... I know previously we wanted to convert all the setup.py into pyproject.toml, but I rememeber the release where we converted delphi_utils setup.py into pyproject.toml has some hiccups....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had some issues using the pyproject.toml for nhsn and ended up just using the setup.py. since this codebase will be replaced, I think it's better to keep setup.py and have it consistent with the other indicators
Description
An attempt to get our Python environments consistent across: local, Github CI, and Jenkins builds.
Changelog
make venv
did not upgrade pip. Jenkins pinned pip to 23.0.1. To make this consistent, CI now callsmake venv
andmake venv
installs pip==23.0.1.make install
.pylint
andpytest
were already listed in every indicator'ssetup.py
andpydocstyle
was haphardly listed, so I removed the install command from CI, and addedpydocstyle
to the rest of the indicators.pip install numpy
command since each indicator either explicitly lists it as a dependency or transitively through Pandas, so I removed that line.Associated Issue(s)