Skip to content

Commit

Permalink
tmp: test pypi publish for all
Browse files Browse the repository at this point in the history
Signed-off-by: Avik Basu <[email protected]>
  • Loading branch information
ab93 committed Jun 13, 2024
1 parent 6321f80 commit 4866d1f
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 4 deletions.
59 changes: 58 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libs/numalogic-connectors/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down
2 changes: 1 addition & 1 deletion libs/numalogic-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion libs/numalogic-registry/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit 4866d1f

Please sign in to comment.