15
0
Files
python-cassandra-driver/python-cassandra-driver.spec

109 lines
3.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-cassandra-driver
#
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
%{?sle15_python_module_pythons}
Name: python-cassandra-driver
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
Version: 3.29.2
Release: 0
Summary: Python driver for Cassandra
License: Apache-2.0
URL: https://github.com/datastax/python-driver
Source: https://github.com/datastax/python-driver/archive/%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module eventlet}
Accepting request 789794 from home:mcalabkova:branches:devel:languages:python - update to version 3.22.0 * Add all() function to the ResultSet API (PYTHON-1203) * Parse new schema metadata in NGDG and generate table edges CQL syntax (PYTHON-996) * Add GraphSON3 support (PYTHON-788) * Use GraphSON3 as default for Native graphs (PYTHON-1004) * Add Tuple and UDT types for native graph (PYTHON-1005) * Add Duration type for native graph (PYTHON-1000) * Add gx:ByteBuffer graphson type support for Blob field (PYTHON-1027) * Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045) * Provide numerical wrappers to ensure proper graphson schema definition (PYTHON-1051) * Resolve the row_factory automatically for native graphs (PYTHON-1056) * Add g:TraversalMetrics/g:Metrics graph deserializers (PYTHON-1057) * Add g:BulkSet graph deserializers (PYTHON-1060) * Update Graph Engine names and the way to create a Classic/Native Graph (PYTHON-1090) * Update Native to Core Graph Engine * Add graphson3 and native graph support (PYTHON-1039) * Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045) * Expose filter predicates for cql collections (PYTHON-1019) * Add g:TraversalMetrics/Metrics deserializers (PYTHON-1057) * Make graph metadata handling more robust (PYTHON-1204) * Make sure to only query the native_transport_address column with DSE (PYTHON-1205) * Unified driver: merge core and DSE drivers into a single package (PYTHON-1130) * Add Python 3.8 support (PYTHON-1189) * Allow passing ssl context for Twisted (PYTHON-1161) * Ssl context and cloud support for Eventlet (PYTHON-1162) * Cloud Twisted support (PYTHON-1163) * Add additional_write_policy and read_repair to system schema parsing (PYTHON-1048) * Flexible version parsing (PYTHON-1174) * Support NULL in collection deserializer (PYTHON-1123) * [GRAPH] Ability to execute Fluent Graph queries asynchronously (PYTHON-1129) OBS-URL: https://build.opensuse.org/request/show/789794 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=31
2020-03-30 14:56:15 +00:00
BuildRequires: %{python_module geomet >= 0.1}
BuildRequires: %{python_module gevent}
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
BuildRequires: %{python_module pip}
Accepting request 789794 from home:mcalabkova:branches:devel:languages:python - update to version 3.22.0 * Add all() function to the ResultSet API (PYTHON-1203) * Parse new schema metadata in NGDG and generate table edges CQL syntax (PYTHON-996) * Add GraphSON3 support (PYTHON-788) * Use GraphSON3 as default for Native graphs (PYTHON-1004) * Add Tuple and UDT types for native graph (PYTHON-1005) * Add Duration type for native graph (PYTHON-1000) * Add gx:ByteBuffer graphson type support for Blob field (PYTHON-1027) * Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045) * Provide numerical wrappers to ensure proper graphson schema definition (PYTHON-1051) * Resolve the row_factory automatically for native graphs (PYTHON-1056) * Add g:TraversalMetrics/g:Metrics graph deserializers (PYTHON-1057) * Add g:BulkSet graph deserializers (PYTHON-1060) * Update Graph Engine names and the way to create a Classic/Native Graph (PYTHON-1090) * Update Native to Core Graph Engine * Add graphson3 and native graph support (PYTHON-1039) * Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045) * Expose filter predicates for cql collections (PYTHON-1019) * Add g:TraversalMetrics/Metrics deserializers (PYTHON-1057) * Make graph metadata handling more robust (PYTHON-1204) * Make sure to only query the native_transport_address column with DSE (PYTHON-1205) * Unified driver: merge core and DSE drivers into a single package (PYTHON-1130) * Add Python 3.8 support (PYTHON-1189) * Allow passing ssl context for Twisted (PYTHON-1161) * Ssl context and cloud support for Eventlet (PYTHON-1162) * Cloud Twisted support (PYTHON-1163) * Add additional_write_policy and read_repair to system schema parsing (PYTHON-1048) * Flexible version parsing (PYTHON-1174) * Support NULL in collection deserializer (PYTHON-1123) * [GRAPH] Ability to execute Fluent Graph queries asynchronously (PYTHON-1129) OBS-URL: https://build.opensuse.org/request/show/789794 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=31
2020-03-30 14:56:15 +00:00
BuildRequires: %{python_module pure-sasl}
BuildRequires: %{python_module pyasyncore if %python-base >= 3.12}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sure}
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: libev-devel
BuildRequires: python-rpm-macros
Requires: python-Cython
Accepting request 789794 from home:mcalabkova:branches:devel:languages:python - update to version 3.22.0 * Add all() function to the ResultSet API (PYTHON-1203) * Parse new schema metadata in NGDG and generate table edges CQL syntax (PYTHON-996) * Add GraphSON3 support (PYTHON-788) * Use GraphSON3 as default for Native graphs (PYTHON-1004) * Add Tuple and UDT types for native graph (PYTHON-1005) * Add Duration type for native graph (PYTHON-1000) * Add gx:ByteBuffer graphson type support for Blob field (PYTHON-1027) * Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045) * Provide numerical wrappers to ensure proper graphson schema definition (PYTHON-1051) * Resolve the row_factory automatically for native graphs (PYTHON-1056) * Add g:TraversalMetrics/g:Metrics graph deserializers (PYTHON-1057) * Add g:BulkSet graph deserializers (PYTHON-1060) * Update Graph Engine names and the way to create a Classic/Native Graph (PYTHON-1090) * Update Native to Core Graph Engine * Add graphson3 and native graph support (PYTHON-1039) * Enable Paging Through DSE Driver for Gremlin Traversals (PYTHON-1045) * Expose filter predicates for cql collections (PYTHON-1019) * Add g:TraversalMetrics/Metrics deserializers (PYTHON-1057) * Make graph metadata handling more robust (PYTHON-1204) * Make sure to only query the native_transport_address column with DSE (PYTHON-1205) * Unified driver: merge core and DSE drivers into a single package (PYTHON-1130) * Add Python 3.8 support (PYTHON-1189) * Allow passing ssl context for Twisted (PYTHON-1161) * Ssl context and cloud support for Eventlet (PYTHON-1162) * Cloud Twisted support (PYTHON-1163) * Add additional_write_policy and read_repair to system schema parsing (PYTHON-1048) * Flexible version parsing (PYTHON-1174) * Support NULL in collection deserializer (PYTHON-1123) * [GRAPH] Ability to execute Fluent Graph queries asynchronously (PYTHON-1129) OBS-URL: https://build.opensuse.org/request/show/789794 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=31
2020-03-30 14:56:15 +00:00
Requires: python-geomet >= 0.1
Recommends: python-Twisted
Recommends: python-eventlet
Recommends: python-gevent
%if 0%{?python_version_nodots} > 311
Requires: python-pyasyncore
%endif
%if %{with python2}
BuildRequires: python2-futures
%endif
%ifpython2
Requires: python2-futures
%endif
%python_subpackages
%description
A tunable Python client library for Apache Cassandra (1.2+) and
DataStax Enterprise (3.1+) using exclusively Cassandra's binary
protocol and Cassandra Query Language v3.
A list of features may be found at https://github.com/datastax/python-driver#features .
%prep
%autosetup -p1 -n python-driver-%{version}
# do not run integration tests
rm -rf tests/integration
rm -rf tests/stress_tests
# do not run cython tests
rm -rf tests/unit/cython
# fail on 32bit as it overflows
rm -f tests/unit/test_types.py
# fix hardcoded cython dep
sed -i -e 's:Cython>=0.20,!=0.25,<0.29:Cython:g' setup.py
# fix tests on Python 3.12
sed -i 's/assertRaisesRegexp/assertRaisesRegex/' tests/unit/test_response_future.py
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
# remove C sources
rm -f cassandra/cmurmur3.c cassandra/io/libevwrapper.c cassandra/numpyFlags.h
%build
export CFLAGS="%{optflags}"
export CASS_DRIVER_NO_EXTENSIONS=1
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
%pyproject_wheel
%install
export CASS_DRIVER_NO_EXTENSIONS=1
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# https://datastax-oss.atlassian.net/browse/PYTHON-1273
%pytest -k 'not (test_connection_initialization or test_nts_token_performance or test_host_connection_pool)'
# https://datastax-oss.atlassian.net/browse/PYTHON-1300
pytest tests/unit/test_host_connection_pool.py -k "HostConnectionTests"
pytest tests/unit/test_host_connection_pool.py -k "HostConnectionPoolTests"
%files %{python_files}
%license LICENSE
%doc README.rst
%dir %{python_sitearch}/cassandra
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
%dir %{python_sitearch}/cassandra_driver-%{version}.dist-info
%{python_sitearch}/cassandra/*
Accepting request 1244731 from home:glaubitz:branches:devel:languages:python - Update to 3.29.2 * Convert to pytest for running unit and integration tests (PYTHON-1297) * Add support for Cassandra 4.1.x and 5.0 releases to CI (PYTHON-1393) * Extend driver vector support to arbitrary subtypes and fix handling of variable length types (PYTHON-1369) * Python NumpyProtocolHandler does not work with NumPy 1.24.0 or greater (PYTHON-1359) * cibuildwheel appears to not be stripping Cython-generated shared objects (PYTHON-1387) * Windows build for Python 3.12 compiled without libev support (PYTHON-1386) * Update README.rst with badges for version and license (PR 1210) * Remove dependency on old mock external module (PR 1201) * Removed future print_function, division, and with and some pre 3.7 handling (PR 1208) * Update geomet dependency (PR 1207) * Remove problematic escape sequences in some docstrings to avoid SyntaxWarning in Python 3.12 (PR 1205) * Use timezone-aware API to avoid deprecated warning (PR 1213) - Drop python-cassandra-driver-no-mock.patch, fixed upstream - Drop python-cassandra-driver-test_libevreactor-DependencyException.patch, fixed upstream - Remove C source files from source tree - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/request/show/1244731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cassandra-driver?expand=0&rev=61
2025-02-10 13:46:40 +00:00
%{python_sitearch}/cassandra_driver-%{version}.dist-info/*
%changelog