From 824fc9772cdaada8238a99822b30ad7b9b49511b Mon Sep 17 00:00:00 2001 From: dariobrunelli Date: Wed, 14 May 2025 15:30:13 +0200 Subject: [PATCH] removed version check and v0.6.10 --- .github/workflows/test_and_publish.yaml | 38 ++++++++++++------------- .gitignore | 6 +--- setup.py | 2 +- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test_and_publish.yaml b/.github/workflows/test_and_publish.yaml index bfd79a5..065b106 100644 --- a/.github/workflows/test_and_publish.yaml +++ b/.github/workflows/test_and_publish.yaml @@ -38,29 +38,29 @@ jobs: run: | python setup.py bdist_wheel - - name: Check if version exists on PyPI - id: check-version - run: | - PACKAGE_NAME=$(python setup.py --name) - PACKAGE_VERSION=$(python setup.py --version) + # - name: Check if version exists on PyPI + # id: check-version + # run: | + # PACKAGE_NAME=$(python setup.py --name) + # PACKAGE_VERSION=$(python setup.py --version) - RESPONSE=$(curl --silent --fail https://pypi.org/pypi/${PACKAGE_NAME}/json || echo "not found") + # RESPONSE=$(curl --silent --fail https://pypi.org/pypi/${PACKAGE_NAME}/json || echo "not found") - if echo "$RESPONSE" | grep -q '"releases"'; then - if echo "$RESPONSE" | jq -e ".releases | has(\"$PACKAGE_VERSION\")" >/dev/null; then - echo "Version ${PACKAGE_VERSION} already exists on PyPI." - echo "already_published=true" >> $GITHUB_ENV - else - echo "Version ${PACKAGE_VERSION} does not exist on PyPI." - echo "already_published=false" >> $GITHUB_ENV - fi - else - echo "Package does not exist on PyPI." - echo "already_published=false" >> $GITHUB_ENV - fi + # if echo "$RESPONSE" | grep -q '"releases"'; then + # if echo "$RESPONSE" | jq -e ".releases | has(\"$PACKAGE_VERSION\")" >/dev/null; then + # echo "Version ${PACKAGE_VERSION} already exists on PyPI." + # echo "already_published=true" >> $GITHUB_ENV + # else + # echo "Version ${PACKAGE_VERSION} does not exist on PyPI." + # echo "already_published=false" >> $GITHUB_ENV + # fi + # else + # echo "Package does not exist on PyPI." + # echo "already_published=false" >> $GITHUB_ENV + # fi - name: Publish on PyPI - if: env.already_published == 'false' + # if: env.already_published == 'false' run: | pip install twine export TWINE_USERNAME=__token__ diff --git a/.gitignore b/.gitignore index 18f703f..ab7cbfd 100644 --- a/.gitignore +++ b/.gitignore @@ -107,8 +107,4 @@ dmypy.json cython_debug/ # Debugging file -clearbox_synthetic/debug.py -tutorials/tabular_data/2_tabular_utility_evaluation.ipynb -tutorials/tabular_data/3_tabular_privacy_evaluation.ipynb -tutorials/tabular_data/4_tabular_data_augmentation_with_synthetic_kit.ipynb -tutorials/use_cases/ \ No newline at end of file +debug.py \ No newline at end of file diff --git a/setup.py b/setup.py index 80730bd..6fba9c7 100644 --- a/setup.py +++ b/setup.py @@ -131,7 +131,7 @@ def copy_file(self, path, source_dir, destination_dir): setup( # Metadata about the package name="clearbox-synthetic-kit", - version="0.6.9", + version="0.6.10", author="Clearbox AI", author_email="info@clearbox.ai", description="Clearbox AI's all-in-one solution for generation and evaluation of synthetic tabular and time-series data.",