Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(enhancement): rename python package to apache-polaris #2812

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

Draft
binarycat0 wants to merge 5 commits into apache:main
base: main
Choose a base branch
Loading
from binarycat0:chore/enhancement/2699-change-python-package-name

Conversation

@binarycat0
Copy link
Contributor

@binarycat0 binarycat0 commented Oct 14, 2025
edited
Loading

  • change package name from polaris to apache-polaris
  • reorganize python package catalogs
  • union all submodules (cli, polaris) under apache_polaris module
  • put polaris generated context into apache_polaris/sdk
  • make apache_polaris as a main module

Fixes: #2699

What changes were proposed in this pull request?

Package name

As discussed in the mailing list thread, the majority agreed that a more suitable and compliant name would be apache-polaris according to the Apache Distribution guide

pip install apache-polaris
polaris --help

Catalogs structure

It would be beneficial to modify the directory structure. The current setup can lead to conflicts after package installation because it doesn't create a parent directory to group all apache-polaris related modules together. Instead, it directly places the cli and polaris directories into the root .../site-packages of the active environment.

/site_packages/
├── cli
├── polaris
│  ├── catalog
└── └── management

In the structure I am proposing, all modules related to the project will be placed in the apache_polaris module and will be available for use in code through import apache_polaris.sdk.catalog, apache_polaris.sdk.management and import apache_polaris.cli respectively.

/site-packages/
├── apache_polaris
│  ├── cli
│  └── sdk
│  ├── catalog
│ └── management
>>> from apache_polaris.sdk import catalog
>>> from apache_polaris.sdk import management

Why are the changes needed?

Initial Issue: #2419
Follow up Issue: #2699

Does this PR introduce any user-facing change?

How was this patch tested?

make client-cleanup
make client-regenerate
make client-lint
make client-integration-test
make client-unit-test

CHANGELOG.md

@binarycat0 binarycat0 force-pushed the chore/enhancement/2699-change-python-package-name branch 2 times, most recently from 0d34b23 to 395cb27 Compare October 16, 2025 09:23
- reorganize python package catalogs
- union all submodules (cli, polaris) under apache_polaris module
- put polaris generated context into apache_polaris/sdk
- make apache_polaris as a main module
@binarycat0 binarycat0 force-pushed the chore/enhancement/2699-change-python-package-name branch from 4e6bbc6 to e797543 Compare October 23, 2025 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Change the name property in the client/python/pyproject.toml file

1 participant

AltStyle によって変換されたページ (->オリジナル) /