Skip to content

Commit

Permalink
Merge pull request #129 from mixpanel/jared-test-py311-312
Browse files Browse the repository at this point in the history
Add 3.11, 3.12 support in PyPi metadata, testing matrix
  • Loading branch information
jaredmixpanel committed Mar 8, 2024
2 parents 3dcd2d2 + a4f18b5 commit 1db05d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on: [push]

jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '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
Expand All @@ -22,4 +22,4 @@ jobs:
pip install -r requirements-testing.txt
- name: Test with pytest
run: |
pytest test_mixpanel.py
pytest test_mixpanel.py
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1db05d8

Please sign in to comment.