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

High Level Python SDK: Release Official Version #7140

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
27 changes: 14 additions & 13 deletions .github/workflows/publish-python-wrapper-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Python Build and Make Package
run: make package-python-wrapper

- name: Publish Distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: clients/python-wrapper/dist/
verbose: true

- name: Extract docs version
working-directory: ./clients/python-wrapper/
shell: bash
run: |
echo "tag=$(python setup.py --version)" >> $GITHUB_OUTPUT
echo "tag=$(python setup.py --version)" >> $GITHUB_OUTPUT
id: docver

- name: Set up Python 3.9
Expand All @@ -34,7 +23,7 @@ jobs:
python-version: '3.9'
cache: 'pip'
cache-dependency-path: 'clients/python-wrapper/requirements.txt'

- name: Generate and Build Documentation
run: |
pip install -r clients/python-wrapper/requirements.txt
Expand All @@ -50,3 +39,15 @@ jobs:
destination_folder: /
user_email: '[email protected]'
user_name: 'python-docs-action'

- name: Python Build and Make Package
run: make package-python-wrapper

- name: Publish Distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: clients/python-wrapper/dist/
verbose: true

5 changes: 5 additions & 0 deletions clients/python-wrapper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## v0.1.0
What's new:
- First official release!
2 changes: 1 addition & 1 deletion clients/python-wrapper/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# lakeFS High-Level Python SDK (Pre-release Beta)
# lakeFS High-Level Python SDK

lakeFS High Level SDK for Python, provides developers with the following features:
1. Simpler programming interface with less configuration
Expand Down
8 changes: 0 additions & 8 deletions clients/python-wrapper/docs/lakefs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,3 @@ Submodules
lakefs.reference
lakefs.repository
lakefs.tag

Module contents
---------------

.. automodule:: lakefs
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion clients/python-wrapper/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

NAME = "lakefs"
VERSION = "0.1.0-beta.2"
VERSION = "0.1.0"
# To install the library, run the following
#
# python setup.py install
Expand Down
Loading