Migrate requirements.txt to pyproject.toml
ZeroDownTime/CloudBender/pipeline/head There was a failure building this commit Details
ZeroDownTime/CloudBender/pipeline/tag There was a failure building this commit Details

This commit is contained in:
Stefan Reimer 2023-11-21 11:17:59 +00:00
parent 4e92c427a8
commit 0d39634eff
3 changed files with 25 additions and 32 deletions

View File

@ -1,6 +1,6 @@
ARG RUNTIME_VERSION="3.11"
ARG DISTRO_VERSION="3.18"
ARG PULUMI_VERSION="3.91.0"
ARG PULUMI_VERSION="3.89.0"
FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder
ARG PULUMI_VERSION
@ -33,8 +33,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
# Install CloudBender
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
RUN pip install . --no-deps
RUN pip install .
# minimal pulumi
RUN cd /root/.pulumi/bin && rm -f *dotnet *yaml *go *java && strip pulumi* || true

View File

@ -13,18 +13,21 @@ readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.9"
dependencies = [
"boto3",
"mock",
"Jinja2>=3.0.0",
"click",
"pexpect",
"cfn-lint>=0.34",
"python-minifier",
"pulumi>=3.67.0",
"pulumi-aws>5.0.0",
"pulumi-aws-native",
"pulumi-policy",
]
"boto3==1.28.70",
"mock==5.1.0",
"Jinja2==3.1.2",
"click==8.1.7",
"pexpect==4.8.0",
"python-minifier==2.9.0",
"cfn-lint==0.83.0",
"ruamel.yaml==0.18.2",
"pulumi==3.89.0",
"pulumi-aws==6.6.1",
"pulumi-aws-native==0.82.0",
"pulumi-policy==1.7.0",
"pulumi-command==0.9.1",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
@ -33,6 +36,13 @@ classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3",
]
[project.optional-dependencies]
tests = [
'flake',
'pytest',
'twine',
]
[project.urls]
"Homepage" = "https://git.zero-downtime.net/ZeroDownTime/CloudBender"
@ -44,3 +54,4 @@ source = "vcs"
[tool.isort]
profile = "black"

View File

@ -1,17 +0,0 @@
boto3==1.28.70
mock==5.1.0
Jinja2==3.1.2
click==8.1.7
pexpect==4.8.0
python-minifier==2.9.0
cfn-lint==0.83.0
ruamel.yaml==0.18.2
pulumi==3.91.0
pulumi-aws==6.6.1
pulumi-aws-native==0.82.0
pulumi-policy==1.7.0
pulumi-command==0.9.1
# flake8
# pytest
# twine