Skip to content

Conversation

@Macbucheron1
Copy link

Adds python3Packages.supabase-functions (import name: supabase_functions) packaged from PyPI supabase_functions 2.27.0.

nixpkgs already provides python3Packages.supafunc, but upstream has deprecated the supafunc distribution name in favor of supabase_functions. Downstream consumers are migrating their dependency name and imports accordingly (e.g. from supabase_functions import ...). This PR introduces the supabase-functions package/module name to match upstream naming and avoid import failures for consumers expecting supabase_functions, while keeping supafunc available for compatibility.

Note: upstream pins the build backend requirement as uv_build>=0.8.3,<0.9.0 in pyproject.toml. nixpkgs currently provides uv-build 0.9.x, so this PR relaxes the upper bound to <0.10.0 to 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:

    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:

    • [NixOS tests] in [nixos/tests].
    • [Package tests] at passthru.tests.
    • Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
  • Ran nixpkgs-review on this PR. See [nixpkgs-review usage].

  • Tested basic functionality of all binary files, usually in ./result/bin/.

    Commands run:

    • nix build -L .#python3Packages.supabase-functions
    • python -c "import supabase_functions" via python3.withPackages
  • Nixpkgs Release Notes

    • Package update: when the change is major or breaking.
  • NixOS Release Notes

    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.

@Macbucheron1 Macbucheron1 changed the title feat: adding supabase-functions python3Packages.supabase-functions: init at 2.27.0 Jan 3, 2026
@nixpkgs-ci nixpkgs-ci bot requested a review from natsukium January 3, 2026 08:38
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 12.first-time contribution This PR is the author's first one; please be gentle! 6.topic: python Python is a high-level, general-purpose programming language. labels Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant