Skip to content

Commit

Permalink
High Level Python SDK: Release Official Version (#7140)
Browse files Browse the repository at this point in the history
  • Loading branch information
N-o-Z authored Dec 10, 2023
1 parent a638bd7 commit d016462
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 23 deletions.
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

0 comments on commit d016462

Please sign in to comment.