From d7b6cbb6a77ce5f0ca8a9082acf448db6823f70f Mon Sep 17 00:00:00 2001 From: Khoroshevskyi Date: Wed, 17 Jan 2024 14:57:01 -0500 Subject: [PATCH] updated changelog, pypi publishing, and version --- .github/workflows/python-publish.yml | 14 +++++--------- docs/changelog.md | 12 ++++++++---- pepdbagent/_version.py | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4e1ef42..b120129 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -1,6 +1,3 @@ -# This workflows will upload a Python Package using Twine when a release is created -# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries - name: Upload Python Package on: @@ -9,9 +6,10 @@ on: jobs: deploy: - + name: upload release to PyPI runs-on: ubuntu-latest - + permissions: + id-token: write steps: - uses: actions/checkout@v2 - name: Set up Python @@ -23,9 +21,7 @@ jobs: python -m pip install --upgrade pip pip install setuptools wheel twine - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel - twine upload dist/* + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 5e88e58..b7d5430 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,10 +2,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format. -## [0.7.0] -- 2023-XX-XX -- Added pop to project table and annotation model -- Switched to pydantic2 -- Updated requirements (psycopg2 -> psycopg3) +## [0.7.0] -- 2023-01-17 +- Added `pop` to project table and annotation model [#107](https://github.com/pepkit/pepdbagent/issues/107) +- Added `forked_from` feature [#73](https://github.com/pepkit/pepdbagent/issues/73) +- Switched to pydantic2 [#105](https://github.com/pepkit/pepdbagent/issues/105) +- Updated requirements (psycopg2 -> psycopg3) [#102](https://github.com/pepkit/pepdbagent/issues/102) +- Added sample module that contains functionality for updating, adding, and deleting samples in the project separately [#111](https://github.com/pepkit/pepdbagent/issues/111) +- Added user and favorite tables with functionality [#104](https://github.com/pepkit/pepdbagent/issues/104) +- Updated the sample update method when updating the whole project. Following this change, samples are updated without changing the ID in the database ## [0.6.0] -- 2023-08-24 - Added date filter to project annotation diff --git a/pepdbagent/_version.py b/pepdbagent/_version.py index 7131288..49e0fc1 100644 --- a/pepdbagent/_version.py +++ b/pepdbagent/_version.py @@ -1 +1 @@ -__version__ = "0.7.0a5" +__version__ = "0.7.0"