Add py-mlflow and its dependencies#34463
Conversation
|
Hi @heerener! I noticed that the following package(s) don't yet have maintainers:
Are you interested in adopting any of these package(s)? If so, simply add the following to the package class: maintainers = ["heerener"]If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with $ spack blame py-databricks-cliThank you for your help! Please don't add maintainers without their consent. You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer. |
tldahlgren
left a comment
There was a problem hiding this comment.
The ending year for the copyright for each package needs to be corrected (2020->2022). More importantly, there is a typo for py-databricks-cli pypi value.
var/spack/repos/builtin/packages/py-prometheus-flask-exporter/package.py
Outdated
Show resolved
Hide resolved
var/spack/repos/builtin/packages/py-querystring-parser/package.py
Outdated
Show resolved
Hide resolved
|
You'll also need to replace single quotes with double to pass the |
adamjstewart
left a comment
There was a problem hiding this comment.
Style tests (single quotes instead of double quotes) can be fixed with spack style --fix -t black on the command line or @spackbot fix style on this PR. There's also a way to automatically update the licenses but I don't remember it.
var/spack/repos/builtin/packages/py-prometheus-flask-exporter/package.py
Outdated
Show resolved
Hide resolved
var/spack/repos/builtin/packages/py-querystring-parser/package.py
Outdated
Show resolved
Hide resolved
Process review remarks, add missing dependencies, add skinny variant
Co-authored-by: Tamara Dahlgren <[email protected]> Co-authored-by: Adam J. Stewart <[email protected]>
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fix==> Running style checks on spack
selected: isort, mypy, black, flake8
==> Modified files
var/spack/repos/builtin/packages/py-databricks-cli/package.py
var/spack/repos/builtin/packages/py-gunicorn/package.py
var/spack/repos/builtin/packages/py-importlib-metadata/package.py
var/spack/repos/builtin/packages/py-mlflow/package.py
var/spack/repos/builtin/packages/py-prometheus-flask-exporter/package.py
var/spack/repos/builtin/packages/py-pyarrow/package.py
var/spack/repos/builtin/packages/py-querystring-parser/package.py
var/spack/repos/builtin/packages/py-shap/package.py
var/spack/repos/builtin/packages/py-waitress/package.py
==> Running isort checks
isort checks were clean
==> Running mypy checks
lib/spack/llnl/util/lang.py:1064: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
lib/spack/spack/util/timer.py:68: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
lib/spack/spack/build_environment.py:291: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
lib/spack/spack/bootstrap/_common.py:52: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
Success: no issues found in 571 source files
mypy checks were clean
==> Running black checks
reformatted var/spack/repos/builtin/packages/py-gunicorn/package.py
reformatted var/spack/repos/builtin/packages/py-prometheus-flask-exporter/package.py
reformatted var/spack/repos/builtin/packages/py-querystring-parser/package.py
reformatted var/spack/repos/builtin/packages/py-shap/package.py
reformatted var/spack/repos/builtin/packages/py-mlflow/package.py
All done! ✨ 🍰 ✨
5 files reformatted, 4 files left unchanged.
black checks were clean
==> Running flake8 checks
var/spack/repos/builtin/packages/py-mlflow/package.py:21: [E501] line too long (112 > 99 characters)
var/spack/repos/builtin/packages/py-shap/package.py:10: [E501] line too long (119 > 99 characters)
flake8 found errors
I've updated the branch with style fixes. |
Co-authored-by: Adam J. Stewart <[email protected]>
Co-authored-by: Adam J. Stewart <[email protected]>
It appears there are some issues when using `pip install` instead of `python setup.py` - this setup_build_environment should fix that.
|
For reference, I was working on adding package |
|
Need to resolve merge conflicts |
Decouple setup_build_environment from install_options
|
I noticed that the licenses were still set to 2022. |
|
@spackbot run pipeline |
tldahlgren
left a comment
There was a problem hiding this comment.
Re-confirmed all affected version sha256.
Last I heard Spack may be getting rid of the copyright year so this doesn't have to be changed every year. Looks like @adamjstewart addressed the change request issue and has since approved the PR. |
* Add py-mlflow and its dependencies * mlflow: fix syntax error in package.py * py-mlflow: cleanup Process review remarks, add missing dependencies, add skinny variant * Apply suggestions from code review * Fix flake8 issues * More formatting fixes * Fix py-waitress dependency version * py-mlflow: platform-specific dependency * Update var/spack/repos/builtin/packages/py-mlflow/package.py * Update var/spack/repos/builtin/packages/py-mlflow/package.py * Process review remarks * Fix typo in dependency version * py-shap: fix dependencies * py-arrow: fix dependencies * py-slicer: remove py-setuptools explicit version * py-pyarrow: dataset variant and pass options through environment It appears there are some issues when using `pip install` instead of `python setup.py` - this setup_build_environment should fix that. * py-pyarrow: review remark * Decouple setup_build_environment from install_options * py-pyarrow: style * Bump licenses to 2023 --------- Co-authored-by: Tamara Dahlgren <[email protected]> Co-authored-by: Adam J. Stewart <[email protected]> Co-authored-by: Matthias Wolf <[email protected]>
* Add py-mlflow and its dependencies * mlflow: fix syntax error in package.py * py-mlflow: cleanup Process review remarks, add missing dependencies, add skinny variant * Apply suggestions from code review * Fix flake8 issues * More formatting fixes * Fix py-waitress dependency version * py-mlflow: platform-specific dependency * Update var/spack/repos/builtin/packages/py-mlflow/package.py * Update var/spack/repos/builtin/packages/py-mlflow/package.py * Process review remarks * Fix typo in dependency version * py-shap: fix dependencies * py-arrow: fix dependencies * py-slicer: remove py-setuptools explicit version * py-pyarrow: dataset variant and pass options through environment It appears there are some issues when using `pip install` instead of `python setup.py` - this setup_build_environment should fix that. * py-pyarrow: review remark * Decouple setup_build_environment from install_options * py-pyarrow: style * Bump licenses to 2023 --------- Co-authored-by: Tamara Dahlgren <[email protected]> Co-authored-by: Adam J. Stewart <[email protected]> Co-authored-by: Matthias Wolf <[email protected]>
* Add py-mlflow and its dependencies * mlflow: fix syntax error in package.py * py-mlflow: cleanup Process review remarks, add missing dependencies, add skinny variant * Apply suggestions from code review * Fix flake8 issues * More formatting fixes * Fix py-waitress dependency version * py-mlflow: platform-specific dependency * Update var/spack/repos/builtin/packages/py-mlflow/package.py * Update var/spack/repos/builtin/packages/py-mlflow/package.py * Process review remarks * Fix typo in dependency version * py-shap: fix dependencies * py-arrow: fix dependencies * py-slicer: remove py-setuptools explicit version * py-pyarrow: dataset variant and pass options through environment It appears there are some issues when using `pip install` instead of `python setup.py` - this setup_build_environment should fix that. * py-pyarrow: review remark * Decouple setup_build_environment from install_options * py-pyarrow: style * Bump licenses to 2023 --------- Co-authored-by: Tamara Dahlgren <[email protected]> Co-authored-by: Adam J. Stewart <[email protected]> Co-authored-by: Matthias Wolf <[email protected]>
No description provided.