From d6be0fe442fcfe1f66e434fd6847ba93e2302ecb Mon Sep 17 00:00:00 2001 From: John Blance <1266998+jblance@users.noreply.github.com> Date: Thu, 4 Jul 2024 03:44:06 +0000 Subject: [PATCH] fix pypi build errors --- Dockerfile | 2 +- pyproject.toml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb43e9c3..94386da9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12 +FROM python:3.12-alpine RUN pip install --upgrade pip RUN python -V diff --git a/pyproject.toml b/pyproject.toml index a99fd57f..c37f28a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,10 +20,11 @@ bluepy = { version = "^1.3.0", optional = true } pymongo = { version = ">=4.6.1", optional = true } psycopg2-binary = { version = ">=2.9.9", optional = true } pymodbus = { version = ">=3.6.1", optional = true } -cysystemd = [ - { optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_aarch64.whl", markers = "platform_machine == 'aarch64'"}, - { optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_x86_64.whl", markers = "platform_machine == 'x86_64'" }, -] +#cysystemd = [ +# { optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_aarch64.whl", markers = "platform_machine == 'aarch64'"}, +# { optional = true, url = "https://github.com/mosquito/cysystemd/releases/download/1.6.2/cysystemd-1.6.2-cp312-cp312-manylinux_2_28_x86_64.whl", markers = "platform_machine == 'x86_64'" }, +#] +cysystemd = { version = "^1.6.2", optional = true } [tool.poetry.extras] ble = ["bluepy"]