diff --git a/dev-requirements.txt b/dev-requirements.txt index 40a1baf..2e41e68 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -166,7 +166,6 @@ packaging==23.2 # via # build # pytest - # setuptools-git-versioning pamqp==3.2.1 # via # -c requirements.txt @@ -255,8 +254,6 @@ scipy==1.10.1 # via # -c requirements.txt # rtc-tools -setuptools-git-versioning==1.13.6 - # via omotes-grow-worker (pyproject.toml) six==1.16.0 # via # -c requirements.txt @@ -268,8 +265,6 @@ strenum==0.4.15 # via # -c requirements.txt # mesido -toml==0.10.2 - # via setuptools-git-versioning tomli==2.0.1 # via # black diff --git a/dev.Dockerfile b/dev.Dockerfile new file mode 100644 index 0000000..9c12bd6 --- /dev/null +++ b/dev.Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.8-slim-buster + +WORKDIR /app + +COPY optimizer-worker/requirements.txt /app/grow_worker/requirements.txt +RUN pip install -r /app/grow_worker/requirements.txt --no-cache-dir + +COPY ../omotes-sdk-protocol/python/ /omotes-sdk-protocol/python/ +COPY ../omotes-sdk-python/ /omotes-sdk-python/ +RUN pip install /omotes-sdk-python/ +RUN pip install /omotes-sdk-protocol/python/ + +COPY optimizer-worker/src/grow_worker /app/grow_worker/ + +CMD ["python3", "-m", "grow_worker.worker"] diff --git a/pyproject.toml b/pyproject.toml index e59bc4b..04ebb53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,6 @@ dependencies = [ [project.optional-dependencies] dev = [ "setuptools ~= 69.0.3", - "setuptools-git-versioning < 2", "pip-tools ~= 7.3.0", "black ~= 22.1.0", "flake8 ~= 6.1.0", @@ -59,12 +58,8 @@ build-backend = "setuptools.build_meta" requires = [ "setuptools ~= 69.0.3", "wheel ~= 0.40.0", - "setuptools-git-versioning<2", ] -[tool.setuptools-git-versioning] -enabled = true - [tool.pytest.ini_options] addopts = "--cov=grow_worker --cov-report html --cov-report term-missing --cov-fail-under 15"