Skip to content

Commit

Permalink
Python 3.12 Image (#139)
Browse files Browse the repository at this point in the history
* Python 3.12 Image

* Update Docker base image source

Changed the base image source from the public Docker Hub to a private registry at hyperskill.azurecr.io. This enhances security and allows for better control over the image's provenance.

* Update Docker image to Python 3.12.7

Upgraded the base Docker image from Python 3.12.5-slim to Python 3.12.7-slim to incorporate the latest updates and improvements. Updated the CI configuration to match the new image version.

---------

Co-authored-by: meanmail <[email protected]>
  • Loading branch information
meanmail and meanmail authored Nov 7, 2024
1 parent f10a2c1 commit 58b4f97
Show file tree
Hide file tree
Showing 16 changed files with 18,154 additions and 1,066 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,22 @@ jobs:
image_tag: 3.11.5
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}

build_python_312_image:
name: Build epicbox/python 3.12 image
runs-on: [ self-hosted, small ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-python/312
image_name: python
image_tag: 3.12.7
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}

build_ruby_image:
name: Build epicbox/ruby image
runs-on: [ self-hosted, small ]
Expand Down Expand Up @@ -429,6 +445,7 @@ jobs:
- build_pmd_image
- build_python_310_image
- build_python_311_image
- build_python_312_image
- build_ruby_image
- build_scala2_image
- build_scala3_image
Expand Down
1 change: 1 addition & 0 deletions epicbox-python/310/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
poetry export --without-hashes --output requirements.txt
5,803 changes: 5,803 additions & 0 deletions epicbox-python/310/poetry.lock

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions epicbox-python/310/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[tool.poetry]
name = "310"
version = "0.1.0"
description = ""
authors = ["Hyperskill Team"]
readme = "README.md"

[tool.poetry.dependencies]
python = "~3.10"

# GitHub dependencies
stepic-common = { url = "https://github.com/StepicOrg/stepik-common/archive/1.0.0.zip#egg=stepic-common==1.0.0" }
stepic-utils = { url = "https://github.com/hyperskill/stepik-utils/archive/1.3.0.zip#egg=stepic-utils==1.3.0" }
stepic-bioinformatics = { url = "https://github.com/StepicOrg/stepik-bioinformatics/archive/1.0.0.zip#egg=stepic-bioinformatics==1.0.0" }

# Libraries
sympy = "1.13.3"
numpy = "1.26.4"
scipy = "1.13.1"
pandas = "2.2.3"
lxml = "5.3.0"
hypothesis = "6.116.0"
toolz = "1.0.0"
Cython = "3.0.11" # Cython is required by scikit-image
matplotlib = "3.9.2"
networkx = "3.4.2"
scikit-image = "0.24.0"
scikit-learn = "1.5.2"
rsa = "4.9" # rsa to check encrypted tokens
nltk = "3.9.1" # natural language processing
pymorphy2 = "0.9.1"
pymystem3 = "0.2.0"
sumy = "0.11.0"
gensim = "4.3.3"
fasttext = "0.9.3"

# big data specialization
apache-airflow = "2.10.3"

mip = "1.15.0"
shapely = "2.0.6"
pycosat = "0.6.6"

myhdl = "0.11.49"

# Hyperskill
django = "5.1.3"
beautifulsoup4 = "4.12.3"

# Stepik Academy
djangorestframework = "3.15.2"
factory_boy = "3.3.1"

opencv-python-headless = "4.10.0.84"

pysqlite3-binary = "0.5.4"

# required by admin quiz
pytest = "8.3.3"
requests = "2.32.3"

# required by sql challenge
mysqlclient = "2.2.5"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
54 changes: 0 additions & 54 deletions epicbox-python/310/requirements.in

This file was deleted.

Loading

0 comments on commit 58b4f97

Please sign in to comment.