Skip to content

Commit

Permalink
update python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
hirosassa committed Apr 23, 2022
1 parent 329b97c commit be84e56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion assets/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ COPY --from=python:3.6.13-alpine3.13 /usr/local/ /usr/local/
COPY --from=python:3.7.10-alpine3.13 /usr/local/ /usr/local/
COPY --from=python:3.8.8-alpine3.13 /usr/local/ /usr/local/
COPY --from=python:3.9.2-alpine3.13 /usr/local/ /usr/local/
COPY --from=python:3.10.4-alpine3.14 /usr/local/ /usr/local/

RUN apk add --no-cache expat gcc libffi musl-dev \
&& for MINOR in 6 7 8 9; do \
&& for MINOR in 6 7 8 9 10; do \
sed "s|^#!/usr/local/bin/python$|#!/usr/local/bin/python3.${MINOR}|" \
-i /usr/local/bin/*3.${MINOR}; done

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{36,37}-dacite{110,120,150}-isort43-black20, py37-dacite150-isort{43,50,51}-black{19,20}, py{38,39}-dacite150-isort51-black20, development, latest
envlist = py{36,37}-dacite{110,120,150}-isort43-black20, py37-dacite150-isort{43,50,51}-black{19,20}, py{38,39,310}-dacite150-isort51-black20, development, latest

[testenv]
deps =
Expand Down

0 comments on commit be84e56

Please sign in to comment.