Skip to content

Modernize packaging#193

Closed
abhiaagarwal wants to merge 4 commits intoopenfga:mainfrom
abhiaagarwal:modernize-package
Closed

Modernize packaging#193
abhiaagarwal wants to merge 4 commits intoopenfga:mainfrom
abhiaagarwal:modernize-package

Conversation

@abhiaagarwal
Copy link
Copy Markdown
Contributor

@abhiaagarwal abhiaagarwal commented May 22, 2025

Description

This migrates the old setuptools-based packaging to instead use the pyproject.toml format, with uv as the package manager and hatchling as the build system. This mainly avoids adding the transitive dependencies of build and setuptools that are currently packaged with the sdk.

Moves CI over to use uv.

References

Closes #192

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

Summary by CodeRabbit

  • New Features

    • Added comprehensive project metadata, dependency groups, and build configuration to the project configuration file.
  • Bug Fixes

    • Corrected a minor path in the type checking configuration.
  • Documentation

    • Improved import examples in the README.
    • Updated API documentation to remove the name filter from the list_stores method.
  • Refactor

    • Removed support for the name parameter in the list_stores API client methods.
  • Chores

    • Migrated dependency and build management to modern standards, removing legacy packaging files and requirements.
    • Updated GitHub Actions workflow to use a new Python environment and dependency management tool.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use modern packaging

3 participants