Skip to content

Commit

Permalink
Added additional Python version builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Pfeiffer committed Oct 10, 2022
1 parent aa20b01 commit adc8b24
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 13 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ which uses [Poetry](https://python-poetry.org/) for dependency management.
2. v1.1.15
3. v1.2.2
3. Python versions:
4. v3.9
4. v3.7
5. v3.8
6. v3.9
5. v3.10
56 changes: 44 additions & 12 deletions build/constants.py
Original file line number Diff line number Diff line change
@@ -1,41 +1,73 @@
PYTHON_POETRY_IMAGE_NAME: str = "pfeiffermax/python-poetry"
TARGET_ARCHITECTURES: list[str] = [
"poetry1.1.15-python3.7.14-bullseye",
"poetry1.1.15-python3.7.14-slim-bullseye",
"poetry1.1.15-python3.8.14-bullseye",
"poetry1.1.15-python3.8.14-slim-bullseye",
"poetry1.1.15-python3.9.14-bullseye",
"poetry1.1.15-python3.9.14-slim-bullseye",
"poetry1.1.15-python3.10.7-bullseye",
"poetry1.1.15-python3.10.7-slim-bullseye",
"poetry1.2.2-python3.7.14-bullseye",
"poetry1.2.2-python3.7.14-slim-bullseye",
"poetry1.2.2-python3.8.14-bullseye",
"poetry1.2.2-python3.8.14-slim-bullseye",
"poetry1.2.2-python3.9.14-bullseye",
"poetry1.2.2-python3.9.14-slim-bullseye",
"poetry1.2.2-python3.10.7-bullseye",
"poetry1.2.2-python3.10.7-slim-bullseye",
]
BASE_IMAGES: dict = {
TARGET_ARCHITECTURES[0]: "python:3.9.14-bullseye",
TARGET_ARCHITECTURES[1]: "python:3.9.14-slim-bullseye",
TARGET_ARCHITECTURES[2]: "python:3.10.7-bullseye",
TARGET_ARCHITECTURES[3]: "python:3.10.7-slim-bullseye",
TARGET_ARCHITECTURES[0]: "python:3.7.14-bullseye",
TARGET_ARCHITECTURES[1]: "python:3.7.14-slim-bullseye",
TARGET_ARCHITECTURES[2]: "python:3.8.14-bullseye",
TARGET_ARCHITECTURES[3]: "python:3.8.14-slim-bullseye",
TARGET_ARCHITECTURES[4]: "python:3.9.14-bullseye",
TARGET_ARCHITECTURES[5]: "python:3.9.14-slim-bullseye",
TARGET_ARCHITECTURES[6]: "python:3.10.7-bullseye",
TARGET_ARCHITECTURES[7]: "python:3.10.7-slim-bullseye",
TARGET_ARCHITECTURES[8]: "python:3.7.14-bullseye",
TARGET_ARCHITECTURES[9]: "python:3.7.14-slim-bullseye",
TARGET_ARCHITECTURES[10]: "python:3.8.14-bullseye",
TARGET_ARCHITECTURES[11]: "python:3.8.14-slim-bullseye",
TARGET_ARCHITECTURES[12]: "python:3.9.14-bullseye",
TARGET_ARCHITECTURES[13]: "python:3.9.14-slim-bullseye",
TARGET_ARCHITECTURES[14]: "python:3.10.7-bullseye",
TARGET_ARCHITECTURES[15]: "python:3.10.7-slim-bullseye",
}
PYTHON_VERSIONS: dict = {
TARGET_ARCHITECTURES[0]: "3.9.14",
TARGET_ARCHITECTURES[1]: "3.9.14",
TARGET_ARCHITECTURES[2]: "3.10.7",
TARGET_ARCHITECTURES[3]: "3.10.7",
TARGET_ARCHITECTURES[0]: "3.7.14",
TARGET_ARCHITECTURES[1]: "3.7.14",
TARGET_ARCHITECTURES[2]: "3.8.14",
TARGET_ARCHITECTURES[3]: "3.8.14",
TARGET_ARCHITECTURES[4]: "3.9.14",
TARGET_ARCHITECTURES[5]: "3.9.14",
TARGET_ARCHITECTURES[6]: "3.10.7",
TARGET_ARCHITECTURES[7]: "3.10.7",
TARGET_ARCHITECTURES[8]: "3.7.14",
TARGET_ARCHITECTURES[9]: "3.7.14",
TARGET_ARCHITECTURES[10]: "3.8.14",
TARGET_ARCHITECTURES[11]: "3.8.14",
TARGET_ARCHITECTURES[12]: "3.9.14",
TARGET_ARCHITECTURES[13]: "3.9.14",
TARGET_ARCHITECTURES[14]: "3.10.7",
TARGET_ARCHITECTURES[15]: "3.10.7",
}
POETRY_VERSIONS: dict = {
TARGET_ARCHITECTURES[0]: "1.1.15",
TARGET_ARCHITECTURES[1]: "1.1.15",
TARGET_ARCHITECTURES[2]: "1.1.15",
TARGET_ARCHITECTURES[3]: "1.1.15",
TARGET_ARCHITECTURES[4]: "1.2.2",
TARGET_ARCHITECTURES[5]: "1.2.2",
TARGET_ARCHITECTURES[6]: "1.2.2",
TARGET_ARCHITECTURES[7]: "1.2.2",
TARGET_ARCHITECTURES[4]: "1.1.15",
TARGET_ARCHITECTURES[5]: "1.1.15",
TARGET_ARCHITECTURES[6]: "1.1.15",
TARGET_ARCHITECTURES[7]: "1.1.15",
TARGET_ARCHITECTURES[8]: "1.2.2",
TARGET_ARCHITECTURES[9]: "1.2.2",
TARGET_ARCHITECTURES[10]: "1.2.2",
TARGET_ARCHITECTURES[11]: "1.2.2",
TARGET_ARCHITECTURES[12]: "1.2.2",
TARGET_ARCHITECTURES[13]: "1.2.2",
TARGET_ARCHITECTURES[14]: "1.2.2",
TARGET_ARCHITECTURES[15]: "1.2.2",
}

0 comments on commit adc8b24

Please sign in to comment.