Prepare v4.0.0 release#155
Open
lukekim wants to merge 2 commits into
Open
Conversation
- Bump version to 4.0.0 (now defined statically in pyproject.toml) - Consolidate packaging into pyproject.toml; remove setup.py, requirements.txt, test.requirements.txt, MANIFEST.in - Update Spice.ai Cloud endpoints to region-specific hostnames (us-east-1-prod-aws-flight.spiceai.io / -data.spiceai.io); fix Client(http_url=...) default to local - Rewrite README to cover DataFrame API, Expr DSL, functions module, typed query helpers, catalog introspection, writers, and parameterized queries; bump documented Python requirement to 3.11+ - Add docs/release_notes/v4.0.0.md - Update CI version workflow and CODEOWNERS to reference pyproject.toml instead of setup.py
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Prepares the v4.0.0 release: updates docs to match the implementation, bumps the version, consolidates packaging into
pyproject.toml, and switches Spice.ai Cloud endpoints to the region-specific hostnames.Changes
Version & packaging
pyproject.toml;dynamic = ["version"]removed).pyproject.toml. Removed:setup.pyrequirements.txttest.requirements.txtMANIFEST.in.github/workflows/version.ymland.github/CODEOWNERSand the release-checklist issue template to point atpyproject.tomlinstead ofsetup.py.python -m buildproduces a clean sdist and wheel.Region-specific Cloud endpoints
The legacy
flight.spiceai.io/data.spiceai.iohostnames are no longer valid. Updated to region-specific defaults:grpc+tls://us-east-1-prod-aws-flight.spiceai.iohttps://us-east-1-prod-aws-data.spiceai.ioAlso fixed
Client(http_url=...)to default to the local URL (previously defaulted to the cloud URL whileflight_urldefaulted to local).Docs
README.mdto cover everything the implementation now ships:query_arrow/pandas/polars/pylist/pydict/batches)client.table/sql/from_arrow/from_pandas/from_pydict)col,lit,case) andspicepy.functionscatalogs,schemas,tables,describe,get_schema,explain,show)write_parquet,write_csv,write_json)params=andquery_with_paramspip install git+https://github.com/spiceai/spicepy@v4.0.0(spicepy is not on PyPI under that name).pyproject.toml).docs/release_notes/v4.0.0.md.Breaking changes (documented in release notes)
Client(http_url=...)now defaults to local.api_keystrings treated asNone(already in trunk via Handle empty api_key #133).