Skip to content
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
17 changes: 0 additions & 17 deletions .bumpversion.cfg

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

## Installation

Make sure you have Python 3.8 to 3.12 installed and set as default in the system.
Make sure you have Python 3.9 to 3.13 installed and set as default in the system.

You also need to install cryptographic packages before installing the library/building the project:

Expand Down Expand Up @@ -129,7 +129,7 @@ $ docker-compose up -d notebook

Requirements:

* Python 3.8 to 3.12
* Python 3.9 to 3.13
* libsodium, coincurve, gmp
* make

Expand Down
7 changes: 4 additions & 3 deletions michelson-kernel.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.12-alpine3.17 AS compile-image
FROM python:3.12-alpine3.22 AS compile-image
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN apk add --update --no-cache \
build-base \
libtool \
Expand All @@ -20,9 +21,9 @@ ENV PYTHON_PATH="/opt/pytezos/src:$PATH"

COPY pyproject.toml requirements.txt README.md /opt/pytezos/

RUN /usr/local/bin/pip install --prefix /opt/pytezos --no-cache-dir --disable-pip-version-check --no-deps -r /opt/pytezos/requirements.txt -e .
RUN uv pip install --prefix /opt/pytezos --no-cache-dir --disable-pip-version-check --no-deps -r /opt/pytezos/requirements.txt -e .

FROM python:3.12-alpine3.17 AS build-image
FROM python:3.12-alpine3.22 AS build-image
RUN apk add --update --no-cache \
binutils \
gmp-dev \
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ authors = [
"Roman Serikov",
]
maintainers = [
"Lev Gorodetskii <pytezos@drsr.io>",
"Igor Sereda <sereda.igor.s@gmail.com>",
"Baking Bad team <hello@baking-bad.org>",
]
readme = "README.md"
repository = "https://github.com/baking-bad/pytezos"
Expand Down Expand Up @@ -101,7 +100,7 @@ force_single_line = true

[tool.black]
line-length = 120
target-version = ['py39', 'py310', 'py311', 'py312']
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
skip-string-normalization = true

[tool.ruff]
Expand Down
7 changes: 4 additions & 3 deletions pytezos.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.12-alpine3.17 AS compile-image
FROM python:3.12-alpine3.22 AS compile-image
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN apk add --update --no-cache \
build-base \
libtool \
Expand All @@ -20,9 +21,9 @@ ENV PYTHON_PATH="/opt/pytezos/src:$PATH"

COPY pyproject.toml requirements.slim.txt README.md /opt/pytezos/

RUN /usr/local/bin/pip install --prefix /opt/pytezos --no-cache-dir --disable-pip-version-check --no-deps -r /opt/pytezos/requirements.slim.txt -e .
RUN uv pip install --prefix /opt/pytezos --no-cache-dir --disable-pip-version-check --no-deps -r /opt/pytezos/requirements.slim.txt -e .

FROM python:3.12-alpine3.17 AS build-image
FROM python:3.12-alpine3.22 AS build-image
RUN apk add --update --no-cache \
binutils \
gmp-dev \
Expand Down
Loading