From e70b1db9eba68fb2fcff78e3f2e0dabc23b3b681 Mon Sep 17 00:00:00 2001 From: Jackson Burns <33505528+JacksonBurns@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:55:05 -0400 Subject: [PATCH 1/2] bump version for patch release --- astartes/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astartes/__init__.py b/astartes/__init__.py index 7bef331..e649de9 100644 --- a/astartes/__init__.py +++ b/astartes/__init__.py @@ -1,7 +1,7 @@ # convenience import to enable 'from astartes import train_test_split' from .main import train_test_split, train_val_test_split -__version__ = "1.1.2" +__version__ = "1.1.3" # DO NOT do this: # from .molecules import train_test_split_molecules From 3f58ac34c521e0997522f612fd2a1b453d474c6d Mon Sep 17 00:00:00 2001 From: Jackson Burns Date: Wed, 11 Oct 2023 10:58:46 -0400 Subject: [PATCH 2/2] remove release check and conda build (on conda-forge now) --- .github/workflows/publish_packages.yml | 53 -------------------------- 1 file changed, 53 deletions(-) diff --git a/.github/workflows/publish_packages.yml b/.github/workflows/publish_packages.yml index bb80e0c..84d563a 100644 --- a/.github/workflows/publish_packages.yml +++ b/.github/workflows/publish_packages.yml @@ -6,30 +6,9 @@ on: workflow_dispatch: jobs: - check-for-new-release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Check PyPI version - uses: maybe-hello-world/pyproject-check-version@v3 - id: versioncheck - with: - pyproject-path: "./pyproject.toml" - - - name: Report Results - run: | - echo "New Release found? ${{ steps.versioncheck.outputs.local_version_is_higher }}" - echo "Local version: ${{ steps.versioncheck.outputs.local_version }}" - echo "Public version: ${{ steps.versioncheck.outputs.public_version }}" - outputs: - do_publish: ${{ steps.versioncheck.outputs.local_version_is_higher }} - pypi: name: Build and publish Python 🐍 distributions 📦 to PyPI runs-on: ubuntu-latest - needs: check-for-new-release - if: ${{ needs.check-for-new-release.outputs.do_publish == 'true' }} steps: - uses: actions/checkout@master - name: Set up Python 3.10 @@ -56,36 +35,4 @@ jobs: password: ${{ secrets.PYPI_API_TOKEN }} skip-existing: true verbose: true - conda: - name: Build and publish Conda distrbutions - needs: pypi # wait for pypi build to finish - runs-on: ubuntu-latest - defaults: - run: - shell: bash -el {0} # login bash for conda calls - steps: - - uses: actions/checkout@master - - name: Set up Python 3.10 - uses: actions/setup-python@v3 - with: - python-version: "3.10" - - name: Setup miniconda - uses: conda-incubator/setup-miniconda@v2 - with: - auto-activate-base: true - activate-environment: "" - - name: Install build dependencies - run: | - conda install conda-build anaconda-client - conda install -c conda-forge grayskull - conda config --set anaconda_upload yes - - name: Build and Push astartes - env: - ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} - run: | - cd .. - sleep 60s # wait for the PyPI package to be visible - grayskull pypi astartes - cd astartes - conda build .