From 08af784726ddd208133e8f0cbb15ba04d6d7e965 Mon Sep 17 00:00:00 2001 From: pwalczysko Date: Wed, 18 Feb 2026 10:20:48 +0000 Subject: [PATCH 1/4] Add publish_pypi.yml aka omero-figure, rename workflows to omero_plugin --- .../{workflow.yml => omero_plugin.yml} | 0 .github/workflows/publish_pypi.yml | 27 +++++++++++++++++++ 2 files changed, 27 insertions(+) rename .github/workflows/{workflow.yml => omero_plugin.yml} (100%) create mode 100644 .github/workflows/publish_pypi.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/omero_plugin.yml similarity index 100% rename from .github/workflows/workflow.yml rename to .github/workflows/omero_plugin.yml diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml new file mode 100644 index 0000000..1eb4f8d --- /dev/null +++ b/.github/workflows/publish_pypi.yml @@ -0,0 +1,27 @@ +--- +name: PyPI +on: push + +jobs: + build-n-publish: + name: Build and publish Python distribution to PyPI + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: Build a binary wheel and a source tarball + run: | + python -mpip install build + python -m build + - name: Publish distribution to PyPI + if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_PASSWORD }} + - name: Create a GitHub release + if: startsWith(github.ref, 'refs/tags') + run: gh release create --generate-notes "${GITHUB_REF#refs/tags/}" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From e4665887530433a9d02f6b029127738d69c47af9 Mon Sep 17 00:00:00 2001 From: pwalczysko Date: Wed, 18 Feb 2026 10:32:54 +0000 Subject: [PATCH 2/4] Remove old Makefile which dealt with releases --- Makefile | 8 -------- Makefile_old | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 Makefile create mode 100644 Makefile_old diff --git a/Makefile b/Makefile deleted file mode 100644 index 3f4a88a..0000000 --- a/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -release: - git describe --exact - python setup.py sdist upload --sign - -clean: - rm -rf build dist omego.egg-info *.pyc - -.PHONY: register clean diff --git a/Makefile_old b/Makefile_old new file mode 100644 index 0000000..6e670fc --- /dev/null +++ b/Makefile_old @@ -0,0 +1,8 @@ +# release: +# git describe --exact +# python setup.py sdist upload --sign + +# clean: +# rm -rf build dist omego.egg-info *.pyc + +# .PHONY: register clean From f68f8264e9c4e40554b5445148a2138406d76e25 Mon Sep 17 00:00:00 2001 From: pwalczysko Date: Wed, 18 Feb 2026 10:42:35 +0000 Subject: [PATCH 3/4] Rename "Build" build to "OMERO" --- .github/workflows/omero_plugin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/omero_plugin.yml b/.github/workflows/omero_plugin.yml index ad53413..e64686f 100644 --- a/.github/workflows/omero_plugin.yml +++ b/.github/workflows/omero_plugin.yml @@ -1,7 +1,7 @@ # Builds and performs various check --- -name: Build +name: OMERO on: push: From b3599a39e03f7f3aa712037e724209997f0bfc1a Mon Sep 17 00:00:00 2001 From: pwalczysko Date: Wed, 18 Feb 2026 11:09:17 +0000 Subject: [PATCH 4/4] Bump release version to 0.8.0.rc1 --- CHANGELOG.rst | 5 +++++ omego/RELEASE-VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 00d1cde..371204b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,11 @@ OMEGO version history ===================== +0.8.0.rc1 (February 2026) +------------------------- + +* Fix build & remove pkg_resources (#137) + 0.7.0 (November 2019) --------------------- diff --git a/omego/RELEASE-VERSION b/omego/RELEASE-VERSION index bdd03ff..54cb6ab 100644 --- a/omego/RELEASE-VERSION +++ b/omego/RELEASE-VERSION @@ -1 +1 @@ -0.7.1.dev +0.8.0.rc1