From 6820d92a508098d12b7b7678a1809b193ff64c7e Mon Sep 17 00:00:00 2001 From: "grace.gao" Date: Fri, 22 Nov 2024 14:07:37 +1100 Subject: [PATCH 1/6] remove python3.8 support --- .github/workflows/python-app.yml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 776cb6e..6e04571 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 3761364..a801f55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "cloud-workstation" -version = "0.2.0" -requires-python = ">=3.8" +version = "0.2.1" +requires-python = ">=3.9" readme = "README.md" description = "" authors = [ From 4ae02d952a2e6905ab1fd4cde5317446be51cbcb Mon Sep 17 00:00:00 2001 From: "grace.gao" Date: Fri, 22 Nov 2024 14:13:35 +1100 Subject: [PATCH 2/6] add python3.13 --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 6e04571..798e0b0 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 From 483345ca4730ae68fa88bc7c80be564af4f6eee1 Mon Sep 17 00:00:00 2001 From: "grace.gao" Date: Fri, 22 Nov 2024 14:45:30 +1100 Subject: [PATCH 3/6] bump grpcio --- pyproject.toml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a801f55..7293e18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ "pyyaml>=6.0.1,<7.0.0", "wheel>=0.43.0,<0.44.0", "rich>=13.7.1,<14.0.0", - "grpcio==1.64.1", # Pin grpcio to version 1.64.1 as 1.65.0+ have issues https://github.com/grpc/grpc/issues/37178 + "grpcio>=1.68.0,<2.0.0", # Pin grpcio to version 1.64.1 as 1.65.0+ have issues https://github.com/grpc/grpc/issues/37178 "google-cloud-logging>=3.10.0,<4.0.0" ] diff --git a/requirements.txt b/requirements.txt index df0951c..bdbb258 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ click>=8.1.7,<9.0.0 pyyaml>=6.0.1,<7.0.0 wheel>=0.43.0,<0.44.0 rich>=13.7.1,<14.0.0 -grpcio==1.64.1 +grpcio>=1.68.0,<2.0.0 google-cloud-logging>=3.10.0,<4.0.0 pytest>=8.2.0,<9.0.0 mypy>=1.10.0,<2.0.0 From d8880f52149a220a7f04e14a3e545f30d454c5be Mon Sep 17 00:00:00 2001 From: "grace.gao" Date: Fri, 22 Nov 2024 14:48:20 +1100 Subject: [PATCH 4/6] delete stale comments --- .github/workflows/release.yml | 32 ++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..0123942 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,32 @@ +name: Create Release + +on: + push: + branches: + - main + +jobs: + create_release: + runs-on: ubuntu-latest + permissions: + id-token: write + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up GitHub CLI + uses: cli/cli@v2 + with: + version: latest + + - name: Get version from pyproject.toml + id: get_version + run: | + VERSION=$(grep -m 1 'version =' "pyproject.toml" | awk -F'"' '{print $2}') + echo "VERSION=$VERSION" >> $GITHUB_ENV + + - name: Create GitHub Release + run: | + gh release create "${{ env.VERSION }}" --title "${{ env.VERSION }}" --notes "Release ${{ env.VERSION }}" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index 7293e18..8baccc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ "pyyaml>=6.0.1,<7.0.0", "wheel>=0.43.0,<0.44.0", "rich>=13.7.1,<14.0.0", - "grpcio>=1.68.0,<2.0.0", # Pin grpcio to version 1.64.1 as 1.65.0+ have issues https://github.com/grpc/grpc/issues/37178 + "grpcio>=1.68.0,<2.0.0", "google-cloud-logging>=3.10.0,<4.0.0" ] From 2221946222b35049ce5c783a3156c1a5130de91f Mon Sep 17 00:00:00 2001 From: "grace.gao" Date: Fri, 22 Nov 2024 14:49:58 +1100 Subject: [PATCH 5/6] update --- .github/workflows/release.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 0123942..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Create Release - -on: - push: - branches: - - main - -jobs: - create_release: - runs-on: ubuntu-latest - permissions: - id-token: write - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up GitHub CLI - uses: cli/cli@v2 - with: - version: latest - - - name: Get version from pyproject.toml - id: get_version - run: | - VERSION=$(grep -m 1 'version =' "pyproject.toml" | awk -F'"' '{print $2}') - echo "VERSION=$VERSION" >> $GITHUB_ENV - - - name: Create GitHub Release - run: | - gh release create "${{ env.VERSION }}" --title "${{ env.VERSION }}" --notes "Release ${{ env.VERSION }}" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From aef35b692a0cf66d70e8e53efbb20a592d74f882 Mon Sep 17 00:00:00 2001 From: "grace.gao" Date: Fri, 22 Nov 2024 16:35:27 +1100 Subject: [PATCH 6/6] minor version bump --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8baccc8..c22807c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cloud-workstation" -version = "0.2.1" +version = "0.3.0" requires-python = ">=3.9" readme = "README.md" description = ""