From f70ab5dea97c53b282f2ec0541ce3591df3942ca Mon Sep 17 00:00:00 2001 From: Fabrice Brito Date: Thu, 26 Sep 2024 14:17:14 +0200 Subject: [PATCH] adds dependencies and updates CI --- .github/workflows/package.yaml | 10 +++++++++- pyproject.toml | 12 +++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 132c9dc..db9e60e 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -33,7 +33,15 @@ jobs: run: hatch build - name: Test package run: hatch -e test run nose2 --verbose + - name: Publish package distributions to Test PyPI + if: github.ref != 'refs/heads/main' + uses: pypa/gh-action-pypi-publish@release/v1 + with: + skip-existing: true + repository-url: https://test.pypi.org/legacy/ - name: Publish package distributions to PyPI + if: github.ref == 'refs/heads/main' uses: pypa/gh-action-pypi-publish@release/v1 with: - repository-url: https://test.pypi.org/legacy/ \ No newline at end of file + skip-existing: true + repository-url: https://upload.pypi.org/legacy/ \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index c00f642..e9b5997 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,17 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -dependencies = [] +dependencies = [ + "urllib3==1.26.18", + "kubernetes==28.1.0", + "cwltool==3.1.20240708091337", + "tenacity==8.2.3", + "importlib-metadata==6.8.0", + "msgpack==1.0.7", + "typing-extensions==4.8.0", + "freezegun==1.2.2", + "setuptools==70.0.0" +] [project.urls] Documentation = "https://github.com/Duke-GCB/calrissian#readme"