这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ For now, the repository remains available, and we encourage users to continue en
Unreleased
----------

Changed
~~~~~~~
- Dropped support for pyspark <3.5.0 on Macs after discovering that these configurations frequently crash. Older versions of the library may also be affected.

.. _v0.18.2:

0.18.2 - 2025-04-02
Expand Down
12 changes: 8 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,19 @@
"""For test suites where we track coverage (i.e. the fast tests and the full
test suite), fail if test coverage falls below this percentage."""

def is_mac():
"""Returns true if the current system is a mac."""
return sys.platform == "darwin"

def is_arm_mac():
"""Returns true if the current system is am arm-based mac."""
return sys.platform == "darwin" and platform.processor() == "arm"
return is_mac() and platform.processor() == "arm"

DEPENDENCY_MATRIX = [
DependencyConfiguration(
id="3.9-oldest", python="3.9",
packages={
"pyspark[sql]": "==3.5.0",
"pyspark[sql]": "==3.3.1" if not is_mac() else "==3.5.0",
"sympy": "==1.8",
"pandas": "==1.4.0",
"numpy": "==1.23.2",
Expand All @@ -70,7 +74,7 @@ def is_arm_mac():
DependencyConfiguration(
id="3.10-oldest", python="3.10",
packages={
"pyspark[sql]": "==3.5.0",
"pyspark[sql]": "==3.3.1" if not is_mac() else "==3.5.0",
"sympy": "==1.8",
"pandas": "==1.4.0",
"numpy": "==1.23.2",
Expand All @@ -94,7 +98,7 @@ def is_arm_mac():
DependencyConfiguration(
id="3.11-oldest", python="3.11",
packages={
"pyspark[sql]": "==3.5.0",
"pyspark[sql]": "==3.4.0" if not is_mac() else "==3.5.0",
"sympy": "==1.8",
"pandas": "==1.5.0",
"numpy": "==1.23.2",
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ dependencies = [
"pandas >=1.5.0,<2 ; python_version == '3.11'",
"pandas >=2.2.0,<3 ; python_version >= '3.12'",
"pyarrow >=18.0.0,<19",
"pyspark[sql] >=3.5.0,<3.6",
"pyspark[sql] >=3.3.1,<3.6 ; python_version < '3.11' and sys_platform != 'darwin'",
"pyspark[sql] >=3.4.0,<3.6 ; python_version == '3.11' and sys_platform != 'darwin'",
"pyspark[sql] >=3.5.0,<3.6 ; python_version >= '3.12' and sys_platform != 'darwin'",
"pyspark[sql] >=3.5.0,<3.6 ; sys_platform == 'darwin'",
"randomgen >=1.20.0,<=1.26.0 ; python_version < '3.10'",
"randomgen >=1.23.0,<=1.26.0 ; python_version == '3.10'",
"randomgen >=1.26.0,<=2 ; python_version >= '3.11'",
Expand Down
101 changes: 68 additions & 33 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.