diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 660fbe34..fa40fda1 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -12,7 +12,64 @@ jobs: defaults: run: working-directory: ./libs/numalogic-core - + name: Build distribution + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + cache: 'pip' + - name: Install build & twine + run: >- + pip install + build twine + --user + - name: Build wheel + run: python -m build + - name: Store the distribution packages + uses: actions/upload-artifact@v3 + with: + name: python-package-distributions + path: dist/ + - name: Publish + run: twine upload -r testpypi -p ${{ secrets.TEST_PYPI_PASSWORD }} dist/* + numalogic-connectors: + if: github.repository == 'numaproj/numalogic' + runs-on: ubuntu-latest + environment: production + defaults: + run: + working-directory: ./libs/numalogic-connectors + name: Build distribution + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + cache: 'pip' + - name: Install build & twine + run: >- + pip install + build twine + --user + - name: Build wheel + run: python -m build + - name: Store the distribution packages + uses: actions/upload-artifact@v3 + with: + name: python-package-distributions + path: dist/ + - name: Publish + run: twine upload -r testpypi -p ${{ secrets.TEST_PYPI_PASSWORD }} dist/* + numalogic-registry: + if: github.repository == 'numaproj/numalogic' + runs-on: ubuntu-latest + environment: production + defaults: + run: + working-directory: ./libs/numalogic-registry name: Build distribution steps: - uses: actions/checkout@v4 diff --git a/libs/numalogic-connectors/pyproject.toml b/libs/numalogic-connectors/pyproject.toml index adc8d36f..5d624029 100644 --- a/libs/numalogic-connectors/pyproject.toml +++ b/libs/numalogic-connectors/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "numalogic-connectors" -version = "0.11a0" +version = "0.12.0.dev1" description = "Data Connectors for Numalogic." authors = [ {name = "Numalogic Developers"} diff --git a/libs/numalogic-core/pyproject.toml b/libs/numalogic-core/pyproject.toml index 6cc0ce47..3603c1df 100644 --- a/libs/numalogic-core/pyproject.toml +++ b/libs/numalogic-core/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.12" ] requires-python = ">= 3.9" -dynamic = ["dependencies", "optional-dependencies"] +dynamic = ["", "dependencies", "optional-dependencies"] [project.urls] Repository = "https://github.com/numaproj/numalogic" diff --git a/libs/numalogic-registry/pyproject.toml b/libs/numalogic-registry/pyproject.toml index 4b5941c9..ab3c41a0 100644 --- a/libs/numalogic-registry/pyproject.toml +++ b/libs/numalogic-registry/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "numalogic-registry" -version = "0.11a0" +version = "0.12.0.dev1" description = "Collection of operational Machine Learning models and tools." authors = [ {name = "Numalogic Developers"}