diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index ef858d66..e0dbdb38 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -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: @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c548901..a2125740 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,3 +57,4 @@ jobs: steps: - name: Branch Protection run: true + diff --git a/doc/changes/changes_0.1.0.md b/doc/changes/changes_0.1.0.md index cb1bd98a..a1769d8c 100644 --- a/doc/changes/changes_0.1.0.md +++ b/doc/changes/changes_0.1.0.md @@ -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 @@ -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 diff --git a/exasol_advanced_analytics_framework/slc.py b/exasol_advanced_analytics_framework/slc.py index 594b4943..9e0947e5 100644 --- a/exasol_advanced_analytics_framework/slc.py +++ b/exasol_advanced_analytics_framework/slc.py @@ -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