An attempt to get our Python environments consistent across: local, Github CI, and Jenkins builds.
Changelog
CI would just upgrade pip to the latest sometimes. make venv did not upgrade pip. Jenkins pinned pip to 23.0.1. To make this consistent, CI now calls make venv and make venv installs pip==23.0.1.
CI installed pydocstyle pylint pytest separately from calling make install. pylint and pytest were already listed in every indicator's setup.py and pydocstyle was haphardly listed, so I removed the install command from CI, and added pydocstyle to the rest of the indicators.
Jenkins had an unnecessary pip install numpy command since each indicator either explicitly lists it as a dependency or transitively through Pandas, so I removed that line.
twine and build are needed to build and publish _delphi_utils and were only installed in the release CI. Added that to the [dev] section of _delphi_utils dependencies instead and removed the CI-specific line.
wheel had a separate install in many places, but we only need it for the bdist_wheel command, which setuptools>=70.1 provides (see historical note), so I removed it and added the setuptools>=70.1 version requirement to _delphi_utils build environment.
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)