From a18d27af4956a59f393b1a77ac6c523b538bd93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20R=C3=BC=C3=9Fmann?= <10085427+PhilippRue@users.noreply.github.com> Date: Fri, 29 Nov 2024 08:24:43 +0000 Subject: [PATCH] Try to remove tests from package for pypi upload --- .bumpversion.cfg | 2 +- .github/workflows/cd.yml | 1 + aiida_kkr/__init__.py | 2 +- pyproject.toml | 2 +- tests/__init__.py | 0 5 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 tests/__init__.py diff --git a/.bumpversion.cfg b/.bumpversion.cfg index a4d53829..5b089ef8 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.3.0-dev +current_version = 2.3.0-dev2 commit = True tag = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+))? diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 386ada35..5b487f77 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -186,6 +186,7 @@ jobs: pip install flit~=3.10 - name: Build and publish to PyPi run: | + rm -rf tests # remove tests from pypi upload to save space flit publish env: FLIT_USERNAME: __token__ diff --git a/aiida_kkr/__init__.py b/aiida_kkr/__init__.py index 7963e9b7..f1bae9f6 100644 --- a/aiida_kkr/__init__.py +++ b/aiida_kkr/__init__.py @@ -2,4 +2,4 @@ AiiDA KKR """ -__version__ = '2.3.0-dev' +__version__ = '2.3.0-dev2' diff --git a/pyproject.toml b/pyproject.toml index f0ba618b..23f4ab22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "aiida-kkr" -version = "2.3.0-dev" +version = "2.3.0-dev2" description = "AiiDA plugin for the JuKKR codes" classifiers = [ "License :: OSI Approved :: MIT License", diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b