-
Notifications
You must be signed in to change notification settings - Fork 87
Deprecate EOL python versions and migrate to pyproject.toml #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a8487c3
73c7e5b
f2f777b
9405feb
628e927
fd736b4
41f657f
98dc211
731f1a9
de092f7
8879e8d
4b8e9f9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| [build-system] | ||
| requires = ["setuptools>=61.0", "wheel"] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "mixpanel" | ||
| dynamic = ["version"] | ||
| description = "Official Mixpanel library for Python" | ||
| readme = "README.rst" | ||
| license = "Apache-2.0" | ||
| authors = [ | ||
| {name = "Mixpanel, Inc.", email = "dev@mixpanel.com"}, | ||
| ] | ||
| requires-python = ">=3.9" | ||
| dependencies = [ | ||
| "requests>=2.32.5", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm 🤔 maybe it's time to try httpx? opens door for async support as well There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yea that door's definitely open now. I'll trial it with the incoming feature flag code in the next PR. Native async would be great There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since its major version bump, prob do in the 5.0 release? We can prob. tag a few rcs as well |
||
| ] | ||
| keywords = ["mixpanel", "analytics"] | ||
| classifiers = [ | ||
| "Operating System :: OS Independent", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| ] | ||
|
|
||
| [project.urls] | ||
| Homepage = "https://github.com/mixpanel/mixpanel-python" | ||
|
|
||
| [project.optional-dependencies] | ||
| test = [ | ||
| "pytest>=8.4.1", | ||
| "responses>=0.25.8", | ||
| ] | ||
| dev = [ | ||
| "tox>=4.28.4", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. still need tox? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd like to keep it around for now since tox's utility is just to abstract away looping over different python interpreter versions and running pytest against each The alternative is scripting that ourselves. With UV, it'd probably look like |
||
| "build", | ||
| "twine", | ||
| "sphinx", | ||
| "ghp-import", | ||
| ] | ||
|
|
||
| [tool.setuptools.dynamic] | ||
| version = {attr = "mixpanel.__version__"} | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| exclude = ["demo"] | ||
|
|
||
| [tool.tox] | ||
| envlist = ["py39", "py310", "py311", "py312"] | ||
|
|
||
| [tool.tox.env_run_base] | ||
| extras = ["test"] | ||
| commands = [ | ||
| ["pytest", "{posargs}"], | ||
| ] | ||
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.