Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcaed629

Browse files
committed
Fix Python version for Ubuntu 24.04 and Docker build
- Updates Ubuntu 24.04 Python version from 3.11 to 3.12- Adds Python 3.12 to Docker image prerequisites- Removes deb-s3 lock in postgresml-python release script
1 parent270a8e1 commitcaed629

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

‎docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ RUN apt update && \
88
gnupg \
99
coreutils \
1010
sudo \
11-
openssl
11+
openssl \
12+
python3.12 \
13+
python3.12-dev \
14+
python3-pip
1215
RUN echo"deb [trusted=yes] https://apt.postgresml.org $(lsb_release -cs) main" > /etc/apt/sources.list.d/postgresml.list
1316
RUN echo"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list
1417
RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null

‎packages/postgresml-python/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
declare -A ubuntu_python_versions=(
2222
["20.04"]="3.8"
2323
["22.04"]="3.10"
24-
["24.04"]="3.11"
24+
["24.04"]="3.12"
2525
)
2626

2727
if [[-z"$3" ]];then

‎packages/postgresml-python/release.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,12 @@ build_package() {
6060
exit 1
6161
fi
6262

63-
# Upload to S3 with a unique ID to avoid lock contention
63+
# Upload to S3
6464
deb-s3 upload \
65-
--lock \
6665
--visibility=public \
6766
--bucket apt.postgresml.org \
6867
$(package_name${ubuntu_version}${ARCH}) \
69-
--codename${codename} \
70-
--lock-name="${ARCH}-${ubuntu_version}-$(date +%s)"
68+
--codename${codename}
7169

7270
# Clean up the package file
7371
rm$(package_name${ubuntu_version}${ARCH})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp