-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: pin black to 23.11.0 #19
Conversation
This commit temporary pins black to 23.11.0 since version https://github.com/psf/black/releases/tag/23.12.0 breaks this action (see #18).
@@ -3,7 +3,7 @@ FROM python:3-slim | |||
ENV PYTHONDONTWRITEBYTECODE 1 \ | |||
PYTHONUNBUFFERED 1 | |||
|
|||
RUN python -m venv venv && . venv/bin/activate && pip install --upgrade pip && venv/bin/pip install --upgrade --no-cache-dir black | |||
RUN python -m venv venv && . venv/bin/activate && pip install --upgrade pip && venv/bin/pip install --upgrade --no-cache-dir black==23.11.0 |
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.
@@ -3,7 +3,7 @@ FROM python:3-slim | |||
ENV PYTHONDONTWRITEBYTECODE 1 \ | |||
PYTHONUNBUFFERED 1 | |||
|
|||
RUN python -m venv venv && . venv/bin/activate && pip install --upgrade pip && venv/bin/pip install --upgrade --no-cache-dir black | |||
RUN python -m venv venv && . venv/bin/activate && pip install --upgrade pip && venv/bin/pip install --upgrade --no-cache-dir black==23.11.0 |
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.
@@ -3,7 +3,7 @@ FROM python:3-slim | |||
ENV PYTHONDONTWRITEBYTECODE 1 \ | |||
PYTHONUNBUFFERED 1 | |||
|
|||
RUN python -m venv venv && . venv/bin/activate && pip install --upgrade pip && venv/bin/pip install --upgrade --no-cache-dir black | |||
RUN python -m venv venv && . venv/bin/activate && pip install --upgrade pip && venv/bin/pip install --upgrade --no-cache-dir black==23.11.0 |
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.
It looks like it works (see https://github.com/rickstaa/action-test-repo/actions/runs/7185135823/job/19567748787). |
Can we unpin the black version 23.11.0 since there is a major update out there (24.XXX) so that version 23.12.0 won't fail? |
Sure, would you be open to creating a pull request and conducting a few quick tests to verify if the issue outlined in action-black#18 has been resolved? Your help with this would be greatly appreciated! |
This commit temporary pins black to 23.11.0 since version https://github.com/psf/black/releases/tag/23.12.0
breaks this action (see #18).