Skip to content

Commit

Permalink
#175: Prepare releasing AAF to PyPi (#204)
Browse files Browse the repository at this point in the history
Co-authored-by: Torsten Kilias <[email protected]>
  • Loading branch information
ckunki and tkilias authored Oct 29, 2024
1 parent 489e238 commit 4105f3b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
- name: Build Artifacts
run: poetry build

- name: PyPi Release
env:
POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
run: poetry publish
- name: Build Script Language Container (SLC)
run: poetry run nox -s build_language_container

- name: GitHub Release
env:
Expand All @@ -36,3 +33,10 @@ jobs:
--title ${GITHUB_REF_NAME}
--notes-file doc/changes/changes_${GITHUB_REF_NAME}.md
dist/*
.slc/*
- name: PyPi Release
env:
POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
run: poetry publish
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ jobs:
steps:
- name: Branch Protection
run: true

8 changes: 5 additions & 3 deletions doc/changes/changes_0.1.0.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# advanced-analytics-framework 0.1.0, released TBD
# advanced-analytics-framework 0.1.0, released 2024-10-29

Code name:
Code name: Inital release

## Summary

This is the initial release of the Advanced Analytics Framework which allows you to devlop complex algorithms with Exasol.

### Features

Expand Down Expand Up @@ -52,11 +53,12 @@ Code name:
* #176: Updated usage of `exasol-bucketfs` to new API
* #185: Removed directory and script for building SLC AAF
* #191: Renamed UDF json element "parameters" to "parameter"
* #190: Added dynamic module generation and used it in the example UDF in the user guide
* #178: Fixed names of mock objects:
* Renamed `testing.mock_query_handler_runner.MockQueryHandlerRunner` to `query_handler.python_query_handler_runner.PythonQueryHandlerRunner`
* Renamed method `PythonQueryHandlerRunner.execute_query()` to `execute_queries()`
* Renamed `mock_query_result.MockQueryResult` to `python_query_result.PythonQueryResult`
* #190: Added dynamic module generation and used it in the example UDF in the user guide
* #175: Prepared releasing AAF to PyPi incl. adding SLC as asset to the GitHub release

### Documentation

Expand Down
4 changes: 2 additions & 2 deletions exasol_advanced_analytics_framework/slc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

LANGUAGE_ALIAS = "PYTHON3_AAF"
SLC_NAME = "exasol_advanced_analytics_framework_container"
SLC_FILE_NAME = SLC_NAME + ".tar.gz"
SLC_URL_FORMATTER = "https://github.com/exasol/advanced_analytics_framework/releases/download/{version}/" + SLC_NAME
SLC_FILE_NAME = SLC_NAME + "_release.tar.gz"
SLC_URL_FORMATTER = "https://github.com/exasol/advanced_analytics_framework/releases/download/{version}/" + SLC_FILE_NAME


@contextmanager
Expand Down

0 comments on commit 4105f3b

Please sign in to comment.