elastic / eland

Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
https://eland.readthedocs.io
Apache License 2.0
640 stars 98 forks source link

Release 8.12.1 #656

Closed afoucret closed 8 months ago

afoucret commented 8 months ago

The lint failure is weird, I have no error using format on my local env...

nox -rs format
nox > Running session format
nox > Re-using existing virtual environment at .nox/format.
nox > python -m pip install black isort flynt
nox > python utils/license-headers.py fix setup.py noxfile.py eland/ docs/ utils/ tests/
nox > flynt setup.py noxfile.py eland/ docs/ utils/ tests/
Running flynt v.1.0.1

Flynt run has finished. Stats:

Execution time:                            0.379s
Files checked:                             134
Files modified:                            0

_-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_._-_.
Please run your tests before committing. Did flynt get a perfect conversion? give it a star at:
~ https://github.com/ikamensh/flynt ~
Thank you for using flynt. Upgrade more projects and recommend it to your colleagues!

nox > black --target-version=py38 setup.py noxfile.py eland/ docs/ utils/ tests/
Skipping .ipynb files as Jupyter dependencies are not installed.
You can fix this by running ``pip install "black[jupyter]"``
All done! ✨ 🍰 ✨
134 files left unchanged.
nox > isort --profile=black setup.py noxfile.py eland/ docs/ utils/ tests/
nox > python -m pip install black flake8 mypy isort numpy
nox > python -m pip install --pre 'elasticsearch>=8.3,<9'
nox > python utils/license-headers.py check setup.py noxfile.py eland/ docs/ utils/ tests/
All files had license header
nox > black --check --target-version=py38 setup.py noxfile.py eland/ docs/ utils/ tests/
Skipping .ipynb files as Jupyter dependencies are not installed.
You can fix this by running ``pip install "black[jupyter]"``
All done! ✨ 🍰 ✨
134 files would be left unchanged.
nox > isort --check --profile=black setup.py noxfile.py eland/ docs/ utils/ tests/
nox > flake8 --ignore=E501,W503,E402,E712,E203 setup.py noxfile.py eland/ docs/ utils/ tests/
nox > mypy --show-error-codes --strict eland/
nox > Session format was successful.

but I have one when using lint:

nox -rs lint
nox > Running session lint
nox > Creating virtual environment (virtualenv) using python in .nox/lint
nox > python -m pip install black flake8 mypy isort numpy
nox > python -m pip install --pre 'elasticsearch>=8.3,<9'
nox > python utils/license-headers.py check setup.py noxfile.py eland/ docs/ utils/ tests/
All files had license header
nox > black --check --target-version=py38 setup.py noxfile.py eland/ docs/ utils/ tests/
Skipping .ipynb files as Jupyter dependencies are not installed.
You can fix this by running ``pip install "black[jupyter]"``
would reformat /Users/afoucret/git/eland/eland/ml/pytorch/traceable_model.py
would reformat /Users/afoucret/git/eland/eland/ml/exporters/_sklearn_deserializers.py
would reformat /Users/afoucret/git/eland/eland/ml/transformers/lightgbm.py
would reformat /Users/afoucret/git/eland/tests/dataframe/test_iterrows_itertuples_pytest.py
would reformat /Users/afoucret/git/eland/eland/field_mappings.py
would reformat /Users/afoucret/git/eland/eland/ml/pytorch/transformers.py
would reformat /Users/afoucret/git/eland/eland/dataframe.py
would reformat /Users/afoucret/git/eland/eland/operations.py

Oh no! 💥 💔 💥
8 files would be reformatted, 126 files would be left unchanged.