From f7eb9ffba06ebd790281cf6cffbb9802793b7029 Mon Sep 17 00:00:00 2001 From: Jared McFarland Date: Fri, 8 Mar 2024 13:51:29 -0800 Subject: [PATCH 1/5] Add 3.11, 3.12 support in PyPi metadata, testing matrix --- .github/workflows/test.yml | 4 ++-- setup.py | 2 ++ tox.ini | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index edcc649..f5f90c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy2', 'pypy3'] + python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy2', 'pypy3'] steps: - uses: actions/checkout@v2 @@ -22,4 +22,4 @@ jobs: pip install -r requirements-testing.txt - name: Test with pytest run: | - pytest test_mixpanel.py \ No newline at end of file + pytest test_mixpanel.py diff --git a/setup.py b/setup.py index cbb634e..9c163dc 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,8 @@ def find_version(*paths): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12' ], keywords='mixpanel analytics', packages=find_packages(), diff --git a/tox.ini b/tox.ini index 258984a..d2c8379 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py34, py35, py36, py37, py38, py39, py310 +envlist = py27, py34, py35, py36, py37, py38, py39, py310, py311, py312 [testenv] deps = -rrequirements-testing.txt From 3395f64e7450e9b2b6d1bc12736c4ffe06615910 Mon Sep 17 00:00:00 2001 From: Jared McFarland Date: Fri, 8 Mar 2024 14:01:06 -0800 Subject: [PATCH 2/5] use ubuntu-latest --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5f90c2..ce5c0c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: [push] jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest strategy: matrix: python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy2', 'pypy3'] From da220b695042daef0e3492292883e98d09334d58 Mon Sep 17 00:00:00 2001 From: Jared McFarland Date: Fri, 8 Mar 2024 14:05:15 -0800 Subject: [PATCH 3/5] use ubuntu-20.04 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce5c0c2..926ae76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: [push] jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy2', 'pypy3'] From ea6d29ca8fdfa196bacb7a2c4834c84a04c112a4 Mon Sep 17 00:00:00 2001 From: Jared McFarland Date: Fri, 8 Mar 2024 14:11:25 -0800 Subject: [PATCH 4/5] remove python 2.7 from test matrix --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 926ae76..ed123bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy2', 'pypy3'] + python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy2', 'pypy3'] steps: - uses: actions/checkout@v2 From a4f18b59fbac9bad644c0c8331f97a0f125d76eb Mon Sep 17 00:00:00 2001 From: Jared McFarland Date: Fri, 8 Mar 2024 14:15:44 -0800 Subject: [PATCH 5/5] add trailing comma --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9c163dc..c81c050 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def find_version(*paths): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12' + 'Programming Language :: Python :: 3.12', ], keywords='mixpanel analytics', packages=find_packages(),