-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add python3.11, drop python3.6 (#38)
* fix remove py36 * fix add py311 * revert change to lint extra * remove lint extras from testenv * restore lint extras to latest, development --------- Co-authored-by: pigooosuke <[email protected]>
- Loading branch information
1 parent
4bb4c85
commit 2560ef8
Showing
5 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Dockerfile for pysen-test | ||
FROM alpine:3.14.6 | ||
FROM alpine:3.17 | ||
|
||
COPY --from=python:3.6.13-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.7.10-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.8.13-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.9.12-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.10.4-alpine3.14 /usr/local/ /usr/local/ | ||
COPY --from=python:3.7.16-alpine3.17 /usr/local/ /usr/local/ | ||
COPY --from=python:3.8.16-alpine3.17 /usr/local/ /usr/local/ | ||
COPY --from=python:3.9.16-alpine3.17 /usr/local/ /usr/local/ | ||
COPY --from=python:3.10.11-alpine3.17 /usr/local/ /usr/local/ | ||
COPY --from=python:3.11.3-alpine3.17 /usr/local/ /usr/local/ | ||
|
||
RUN apk add --no-cache expat gcc libffi musl-dev \ | ||
&& for MINOR in 6 7 8 9 10; do \ | ||
&& for MINOR in 7 8 9 10 11; do \ | ||
sed "s|^#!/usr/local/bin/python$|#!/usr/local/bin/python3.${MINOR}|" \ | ||
-i /usr/local/bin/*3.${MINOR}; done | ||
|
||
RUN apk add --no-cache bash git \ | ||
&& pip3.10 install --no-cache-dir tox==3.15.0 | ||
&& pip3.11 install --no-cache-dir tox==3.15.0 | ||
ENV TOX_PARALLEL_NO_SPINNER 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters