forked from datastax/python-driver
-
Notifications
You must be signed in to change notification settings - Fork 44
fix extensions building #411
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
be3c037
Stop calling PyEval_InitThreads
dkropachev d90ffc2
Set cython language level to 3
dkropachev 0c8e2a6
setup.py: make it fail if extensions aren't built
fruch 6b495fa
Migrate from distutils to setuptools
dkropachev 0237110
setup.py: introduce pyproject.toml
fruch 41ce587
cicd: use stable binmt
dkropachev 1dbafa4
cicd: move to ubuntu 24.04
dkropachev 7d1a2d5
cicd: fix macos builds
dkropachev c1ce2c0
cicd: fix windows builds
dkropachev 3a4601a
cicd: start building python 3.13 wheel for aarch64
dkropachev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
[project] | ||
name = "scylla-driver" | ||
description = "Scylla Driver for Apache Cassandra" | ||
authors = [ | ||
{name = "ScyllaDB"}, | ||
] | ||
keywords = ["cassandra", "cql", "orm", "dse", "graph"] | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Natural Language :: English', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.7', | ||
'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', | ||
'Programming Language :: Python :: 3.13', | ||
'Programming Language :: Python :: Implementation :: CPython', | ||
'Programming Language :: Python :: Implementation :: PyPy', | ||
'Topic :: Software Development :: Libraries :: Python Modules' | ||
] | ||
dependencies = [ | ||
'geomet>=0.1,<0.3', | ||
'pyyaml > 5.0' | ||
] | ||
dynamic = ["version", "readme"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/scylladb/python-driver" | ||
"Documentation" = "https://scylladb.github.io/python-driver/" | ||
"Source" = "https://github.com/scylladb/python-driver/" | ||
"Issues" = "https://github.com/scylladb/python-driver/issues" | ||
|
||
[project.optional-dependencies] | ||
graph = ['gremlinpython==3.4.6'] | ||
cle = ['cryptography>=35.0'] | ||
test = [ | ||
"pytest", | ||
"mock>=2.0.0", | ||
"PyYAML", | ||
"pytz", | ||
"sure", | ||
"scales", | ||
"pure-sasl", | ||
"twisted[tls]; python_version >= '3.5'", | ||
"twisted[tls]==19.2.1; python_version < '3.5'", | ||
"gevent>=1.0; python_version < '3.13' and platform_machine != 'i686' and platform_machine != 'win32'", | ||
"gevent==23.9.0; python_version < '3.13' and (platform_machine == 'i686' or platform_machine == 'win32')", | ||
"eventlet>=0.33.3; python_version < '3.13'", | ||
"cython", | ||
"packaging", | ||
"futurist; python_version >= '3.7'", | ||
"asynctest; python_version >= '3.5'", | ||
"pyyaml", | ||
] | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
packages=[ | ||
'cassandra', 'cassandra.io', 'cassandra.cqlengine', 'cassandra.graph', | ||
'cassandra.datastax', 'cassandra.datastax.insights', 'cassandra.datastax.graph', | ||
'cassandra.datastax.graph.fluent', 'cassandra.datastax.cloud', 'cassandra.scylla', | ||
'cassandra.column_encryption' | ||
] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "cassandra.__version__"} # any module attribute compatible with ast.literal_eval | ||
readme = {file = "README.rst", content-type = "text/x-rst"} | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"Cython", | ||
] | ||
|
||
build-backend = "setuptools.build_meta" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should document the clang as the preferred compiler on windows