Skip to content

Conversation

@NicolaLancellotti
Copy link
Contributor

@NicolaLancellotti NicolaLancellotti commented May 26, 2021

This pr pins the black version to provide stability.
It is expected that the pinned version will be moved forward periodically.

@leandron leandron self-assigned this May 26, 2021
@leandron
Copy link
Contributor

leandron commented May 26, 2021

cc @areusch @tkonolige re: your work in updating the Docker images.

The chosen pinned version comes from the version being currently used by tlcpack/ci-lint:v0.62.

Recently released version of black is likely to cause some issues with our sources, as flagged in #8124 - so we suggest pinning it for now, and moving when possible. It will require a PR on it's own to fix the whole codebase prior to the move.

RUN apt-get update && apt-get install -y doxygen graphviz

RUN pip3 install cpplint pylint==2.4.4 mypy black
RUN pip3 install cpplint pylint==2.4.4 mypy black==20.8b1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you also add this in python/gen_requirements.py (the CONSTRAINTS global). i've been focused on CI work but will pick that up again soon.

Copy link
Contributor Author

@NicolaLancellotti NicolaLancellotti May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thank you for the review.

This commit pins the black version to provide stability.
It is expected that the pinned version will be moved forward periodically.

Change-Id: Ied866bff85a1a832959bc1d4673a7fdec68128a7
Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NicolaLancellotti NicolaLancellotti requested a review from areusch May 28, 2021 13:41
Copy link
Contributor

@areusch areusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@areusch areusch merged commit f0aedc4 into apache:main May 28, 2021
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 17, 2021
This commit pins the black version to provide stability.
It is expected that the pinned version will be moved forward periodically.

Change-Id: Ied866bff85a1a832959bc1d4673a7fdec68128a7
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 17, 2021
This commit pins the black version to provide stability.
It is expected that the pinned version will be moved forward periodically.

Change-Id: Ied866bff85a1a832959bc1d4673a7fdec68128a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants