From a47d0f6abed86a0fcb67dce15366c2667fd569ac Mon Sep 17 00:00:00 2001 From: BRAUN REMI Date: Mon, 16 Dec 2024 17:17:18 +0100 Subject: [PATCH] Fix pyproject --- .gitlab-ci.yml | 3 --- pyproject.toml | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 701a51d7..68011c23 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,6 @@ pytest: before_script: - python -m pip install --upgrade pip - pip install --ignore-installed PyYAML - - pip install pytest coverage pytest-cov pylint - pip install -e . script: - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_on_disk.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS --log-cli-level DEBUG @@ -63,7 +62,6 @@ pytest_s3: before_script: - python -m pip install --upgrade pip - pip install --ignore-installed PyYAML - - pip install pytest coverage pytest-cov pylint - pip install -e . script: - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_s3.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS --log-cli-level DEBUG --capture=tee-sys @@ -96,7 +94,6 @@ pytest_end_to_end: before_script: - python -m pip install --upgrade pip - pip install --ignore-installed PyYAML - - pip install pytest coverage pytest-cov pylint - pip install -e . script: - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_e2e.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS_WEEKLY --log-cli-level DEBUG --capture=tee-sys diff --git a/pyproject.toml b/pyproject.toml index c0e457e8..9a9499ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,8 @@ dependencies = [ "dicttoxml", ] +dynamic = ["version"] + [project.optional-dependencies] "stac" = [ "pystac[validation]", @@ -58,8 +60,6 @@ dependencies = [ [tool.setuptools.package-data] eoreader.data = ["*.xml"] -dynamic = ["version"] - [tool.setuptools.dynamic] version = {attr = "eoreader.__version__"}