python3Packages.supabase-functions: init at 2.27.0 #476532
Open
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.
Adds
python3Packages.supabase-functions(import name:supabase_functions) packaged from PyPIsupabase_functions2.27.0.nixpkgs already provides
python3Packages.supafunc, but upstream has deprecated thesupafuncdistribution name in favor ofsupabase_functions. Downstream consumers are migrating their dependency name and imports accordingly (e.g.from supabase_functions import ...). This PR introduces thesupabase-functionspackage/module name to match upstream naming and avoid import failures for consumers expectingsupabase_functions, while keepingsupafuncavailable for compatibility.Note: upstream pins the build backend requirement as
uv_build>=0.8.3,<0.9.0inpyproject.toml. nixpkgs currently providesuv-build0.9.x, so this PR relaxes the upper bound to<0.10.0to allow non-isolated PEP-517 builds with the nixpkgs backend (consistent with uv’s build-backend documentation).Homepage: https://github.com/supabase/supabase-py/tree/v2.27.0/src/functions
PyPI: https://pypi.org/project/supabase-functions/
Upstream deprecation/migration reference:
Things done
Built on platform:
Tested, as applicable:
passthru.tests.Ran
nixpkgs-reviewon this PR. See [nixpkgs-review usage].Tested basic functionality of all binary files, usually in
./result/bin/.Commands run:
nix build -L .#python3Packages.supabase-functionspython -c "import supabase_functions"viapython3.withPackagesNixpkgs Release Notes
NixOS Release Notes
Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.