-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into pyup-update-msgpack-1.0.8-to-1.1.0
- Loading branch information
Showing
9 changed files
with
91 additions
and
65,557 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
FROM python:3.11.10-slim-bookworm | ||
|
||
MAINTAINER vEpiphyte <[email protected]> | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
COPY pandoc.deb.sha256 pandoc.deb.sha256 | ||
COPY requirements requirements | ||
COPY python311_next/rmlist.txt rmlist.txt | ||
# apt get clean / update / upgrade / install required packages / clean up | ||
# setup locales | ||
# install python packages | ||
# Since we are using --no-deps if a package has a missing dependency here, | ||
# it will fail during testing. | ||
# cleanup | ||
RUN set -ex \ | ||
&& apt-get clean \ | ||
&& apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& apt-get install -y locales tini nano \ | ||
&& apt-get install -y curl build-essential \ | ||
# Install pandoc | ||
&& curl -L -o pandoc-amd64.deb https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-1-amd64.deb \ | ||
&& sha256sum --check pandoc.deb.sha256 \ | ||
&& dpkg -i pandoc-amd64.deb \ | ||
# Configure locales | ||
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \ | ||
&& locale-gen en_US.UTF-8 \ | ||
&& dpkg-reconfigure locales \ | ||
&& /usr/sbin/update-locale LANG=en_US.UTF-8 \ | ||
# Install our packages | ||
&& mv requirements/requirements_311.txt requirements/requirements_specific.txt \ | ||
&& pip install -U pip setuptools \ | ||
&& pip install --no-cache-dir --no-deps -r requirements/requirements.txt \ | ||
# Setup synuser | ||
&& groupadd -g 999 synuser \ | ||
&& useradd -r --home-dir=/home/synuser -u 999 -g synuser --shell /bin/bash synuser \ | ||
&& mkdir -p /home/synuser \ | ||
&& chown synuser:synuser /home/synuser \ | ||
# Cleanup | ||
&& rm -rf requirements \ | ||
&& apt-get remove -y --purge curl build-essential \ | ||
&& apt-get remove -y --allow-remove-essential --purge e2fsprogs \ | ||
&& apt-get autoremove -y --purge \ | ||
&& apt-get clean && apt-get purge \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm pandoc.deb.sha256 \ | ||
&& rm pandoc-amd64.deb \ | ||
&& while read path; do if [ -e $path ]; then echo "Removing ${path}" && rm -rf $path; else echo "! Path not present: ${path}"; exit 1; fi done < rmlist.txt \ | ||
&& rm rmlist.txt | ||
|
||
ENV LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8" LC_ALL="en_US.UTF-8" |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/local/lib/python3.11/site-packages/tornado/test/test.key |
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,32 +1,32 @@ | ||
# Required packages for synapse | ||
tornado==6.4.1 | ||
aiohttp==3.10.5 | ||
aiohttp-socks==0.9.0 | ||
tornado==6.4.2 | ||
aiohttp==3.10.11 | ||
aiohttp-socks==0.9.1 | ||
aiosmtplib==3.0.2 | ||
pyOpenSSL==24.1.0 | ||
cryptography==43.0.1 | ||
pyOpenSSL==24.2.1 | ||
cryptography==43.0.3 | ||
msgpack==1.1.0 | ||
xxhash==3.4.1 | ||
xxhash==3.5.0 | ||
lmdb==1.4.1 | ||
regex==2024.7.24 | ||
regex==2024.11.6 | ||
PyYAML==6.0.2 | ||
prompt-toolkit==3.0.47 | ||
Pygments==2.17.2 | ||
lark==1.1.9 | ||
packaging==24.1 | ||
packaging==24.2 | ||
fastjsonschema==2.19.1 | ||
stix2-validator==3.2.0 | ||
vcrpy==5.1.0 | ||
base58==2.1.1 | ||
python-bitcoinlib==0.12.2 | ||
typing-extensions==4.9.0 | ||
scalecodec==1.2.9 | ||
cbor2==5.6.4 | ||
cbor2==5.6.5 | ||
bech32==1.2.0 | ||
aioimaplib==1.1.0 | ||
oauthlib==3.2.2 | ||
pycryptodome==3.20.0 | ||
idna==3.7 | ||
python-dateutil==2.8.2 | ||
python-dateutil==2.9.0.post0 | ||
pytz==2023.3.post1 | ||
beautifulsoup4==4.12.3 |