-
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.
add python3.12, drop python3.7 (#44)
* add py312 * add py312 test * add python3.12 interpleter in Docker image * add python3.12 support comment * install tox use pip3.12 * add MINOR 12 * no use pkg_resources * drop python3.7 * fix py37 statement * specify setuptools version for python3.12
- Loading branch information
1 parent
39b7d59
commit f969467
Showing
17 changed files
with
41 additions
and
43 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
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.17 | ||
|
||
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/ | ||
COPY --from=python:3.12.0-alpine3.17 /usr/local/ /usr/local/ | ||
|
||
RUN apk add --no-cache expat gcc libffi musl-dev \ | ||
&& for MINOR in 7 8 9 10 11; do \ | ||
&& for MINOR in 8 9 10 11 12; 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.11 install --no-cache-dir tox==3.15.0 | ||
&& pip3.12 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[tool.nonpysen] | ||
line-length = 100 | ||
target-version = ["py37"] | ||
target-version = ["py38"] |
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