From 2350d4379460adf677dd3b6ecdd1031243087d07 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Sun, 24 Mar 2024 00:09:51 +0000 Subject: [PATCH 1/2] update ci to include python 3.12 in tests --- .github/workflows/ci.yml | 16 +++++++++++++--- .pre-commit-config.yaml | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 428e4c9c..729ac300 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,16 @@ name: CI/CD -on: [pull_request, push, workflow_dispatch] +on: + push: + paths-ignore: + - '.github/**' + - '.devcontainer/**' + - 'CHANGELOG.md' + - 'MAINTAINERS.md' + branches: + - main + pull_request: + workflow_dispatch: jobs: test: @@ -8,7 +18,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.8, 3.9, "3.10", "3.11"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] runs-on: ${{ matrix.os }} steps: - name: Clone Repository @@ -31,7 +41,7 @@ jobs: make tests_only publish: needs: test - if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'supabase-community' }} + if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) && github.repository_owner == 'supabase-community' }} runs-on: ubuntu-latest name: "Bump version, create changelog and publish" environment: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7d882979..e3535678 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: ] - repo: https://github.com/myint/autoflake.git - rev: v1.4 + rev: v2.2.1 hooks: - id: autoflake args: From 9bd18d1e86a2969be11b1fd321d55ab4d6bd87e7 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Mon, 25 Mar 2024 20:57:05 +0000 Subject: [PATCH 2/2] Update project description and repository links --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d8b27d68..914c974b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ [tool.poetry] name = "gotrue" version = "2.4.1" -description = "Python Client Library for GoTrue" +description = "Python Client Library for Supabase Auth" authors = ["Joel Lee "] -homepage = "https://github.com/supabase-community/gotrue-py" -repository = "https://github.com/supabase-community/gotrue-py" -documentation = "https://github.com/supabase-community/gotrue-py" +homepage = "https://github.com/supabase-community/auth-py" +repository = "https://github.com/supabase-community/auth-py" +documentation = "https://github.com/supabase-community/auth-py" readme = "README.md" license = "MIT" classifiers = [