Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add msgspec package #114

Merged
merged 4 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:

steps:
- uses: actions/[email protected]

- name: Build the Docker image
env:
# @see https://testdriven.io/blog/faster-ci-builds-with-docker-cache/
Expand All @@ -21,4 +22,8 @@ jobs:
docker build . \
--cache-from $CACHE_IMAGE \
--tag ${{ github.repository }}

- name: Show details
run: |
docker images
docker run --rm ${{ github.repository }} pip list
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN apk update &&\
apk add --no-cache --virtual .build-deps \
build-base \
gcc \
git \
libffi-dev \
mariadb-dev &&\
pip install --upgrade pip && pip install -r /tmp/requirements.txt \
Expand All @@ -25,6 +26,6 @@ RUN apk update &&\

# tag an image
ARG GITHUB_SHA
ENV GITHUB_SHA ${GITHUB_SHA}
ENV GITHUB_SHA=${GITHUB_SHA}

RUN python -V; pip list; env
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ Python 3.13.0

$ pip list
Package Version
-------------- ---------
-------------- ------------------
cffi 1.17.1
gevent 24.11.1
greenlet 3.1.1
mysqlclient 2.2.5
msgspec 0.18.6+30.g595c33c
mysqlclient 2.2.6
pip 24.3.1
pycparser 2.22
rcssmin 1.1.3
rcssmin 1.2.0
regex 2024.11.6
setuptools 75.4.0
setuptools 75.5.0
zope.event 5.0
zope.interface 7.1.1

$ docker images | head -n2
REPOSITORY TAG IMAGE ID CREATED SIZE
pigs-will-fly/docker-python latest c94c5a7075da 1 second ago 137MB
pigs-will-fly/docker-python latest db014e358895 1 second ago 140MB
```
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cffi
gevent==24.11.1
msgspec @ git+https://github.com/jcrist/msgspec@595c33c4a71c6d0c539b82233982a65819e240cf
mysqlclient==2.2.6
regex==2024.11.6
rcssmin==1.2.0