Skip to content
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

Support python 3.12 #549

Merged
merged 6 commits into from
Aug 16, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/test_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, "3.10", "3.11"]
python-version: [3.8, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes

## 0.9.2

- [545](https://github.com/fugue-project/fugue/issues/545) Support Python 3.12
- [548](https://github.com/fugue-project/fugue/issues/548) Support single dict[str,Any] as transformer input and output

## 0.9.1

- [543](https://github.com/fugue-project/fugue/issues/543) Support type hinting with standard collections
Expand Down
4 changes: 2 additions & 2 deletions scripts/setupsparkconnect.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
wget https://dlcdn.apache.org/spark/spark-3.5.1/spark-3.5.1-bin-hadoop3.tgz -O - | tar -xz -C /tmp
wget https://dlcdn.apache.org/spark/spark-3.5.2/spark-3.5.2-bin-hadoop3.tgz -O - | tar -xz -C /tmp
# export SPARK_NO_DAEMONIZE=1
bash /tmp/spark-3.5.1-bin-hadoop3/sbin/start-connect-server.sh --jars https://repo1.maven.org/maven2/org/apache/spark/spark-connect_2.12/3.5.1/spark-connect_2.12-3.5.1.jar
bash /tmp/spark-3.5.2-bin-hadoop3/sbin/start-connect-server.sh --jars https://repo1.maven.org/maven2/org/apache/spark/spark-connect_2.12/3.5.2/spark-connect_2.12-3.5.2.jar
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ omit =
fugue_test/__init__.py

[flake8]
ignore = E24,E203,W503,C401,C408,A001,A003,A005,W504,C407,C405,B023,B028
ignore = E24,E203,W503,C401,C408,C420,A001,A003,A005,W504,C407,C405,B023,B028
max-line-length = 88
format = pylint
exclude = .svc,CVS,.bzr,.hg,.git,__pycache__,venv,tests/*,docs/*
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_version() -> str:
url="http://github.com/fugue-project/fugue",
install_requires=[
"triad>=0.9.7",
"adagio>=0.2.4",
"adagio>=0.2.6",
],
extras_require={
"sql": SQL_DEPENDENCIES,
Expand All @@ -63,7 +63,7 @@ def get_version() -> str:
"numpy",
],
"polars": ["polars"],
"ibis": SQL_DEPENDENCIES + ["ibis-framework", "pandas<2.2"],
"ibis": SQL_DEPENDENCIES + ["ibis-framework[pandas]", "pandas<2.2"],
"notebook": ["notebook", "jupyterlab", "ipython>=7.10.0"],
"all": SQL_DEPENDENCIES
+ [
Expand All @@ -77,7 +77,7 @@ def get_version() -> str:
"duckdb>=0.5.0",
"pyarrow>=6.0.1",
"pandas>=2.0.2,<2.2", # because of Ray and ibis
"ibis-framework",
"ibis-framework[pandas]",
"polars",
],
},
Expand All @@ -92,6 +92,7 @@ def get_version() -> str:
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
],
python_requires=">=3.8",
Expand Down
Loading