Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed old Python client and renamed new client #1117

Merged
merged 9 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,13 +491,13 @@ jobs:
run: |
python -m pip install --upgrade pip

cd lib/python-beta
cd lib/python
python -m pip install -e .[test]

# Run tests
- name: Test with pytest
run: |
cd lib/python-beta
cd lib/python
python -m pytest -m integration

- name: Dump docker-compose logs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: tj-actions/changed-files@v40
with:
files: |
lib/python-beta/src/bailo/__init__.py
lib/python/src/bailo/__init__.py

# Setup Python
- name: Set up Python
Expand All @@ -39,15 +39,15 @@ jobs:
# Build Bailo distribution
- name: Build a binary wheel and a source tarball
run: |
cd lib/python-beta
cd lib/python
python3 -m build

# Upload Bailo artifact
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: lib/python-beta/dist/
path: lib/python/dist/

publish-to-testpypi:
name: Publish Bailo distribution to TestPyPI
Expand All @@ -69,12 +69,12 @@ jobs:
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: lib/python-beta/dist/
path: lib/python/dist/

# Publish artifact to TestPyPI
- name: Publish distribution to TestPyPI
if: needs.build.outputs.files-changed-output == 'true'
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: lib/python-beta/dist/
packages-dir: lib/python/dist/
repository-url: https://test.pypi.org/legacy/
10 changes: 5 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: tj-actions/changed-files@v40
with:
files: |
lib/python-beta/src/bailo/__init__.py
lib/python/src/bailo/__init__.py

# Setup Python
- name: Set up Python
Expand All @@ -37,15 +37,15 @@ jobs:
# Build Bailo distribution
- name: Build a binary wheel and a source tarball
run: |
cd lib/python-beta
cd lib/python
python3 -m build

# Upload Bailo artifact
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: lib/python-beta/dist/
path: lib/python/dist/

publish-to-pypi:
name: Publish Bailo distribution to PyPI
Expand All @@ -67,11 +67,11 @@ jobs:
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: lib/python-beta/dist/
path: lib/python/dist/

# Publish artifact to PyPI
- name: Publish distribution to PyPI
if: needs.build.outputs.files-changed-output == 'true'
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: lib/python-beta/dist/
packages-dir: lib/python/dist/
8 changes: 4 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ jobs:
run: |
python -m pip install --upgrade pip

cd lib/python-beta
cd lib/python
python -m pip install -e .[test]

# Black
- name: Check formatting
run: |
cd lib/python-beta
cd lib/python
black --check --verbose .

# Pylint
- name: Check linting
run: |
cd lib/python-beta
cd lib/python
pylint src/bailo --verbose --exit-zero --fail-on=F,E

# Pytest
- name: Run basic testing
run: |
cd lib/python-beta
cd lib/python
python -m pytest
133 changes: 0 additions & 133 deletions lib/python-beta/.gitignore

This file was deleted.

60 changes: 0 additions & 60 deletions lib/python-beta/.pre-commit-config.yaml

This file was deleted.

Loading
Loading