Skip to content

Migrate to pyproject.toml and hatchling #2600

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

Merged
merged 4 commits into from
Jun 26, 2024
Merged

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Jun 26, 2024

As done in elastic/elasticsearch-serverless-python#6, except that:

  • There was no need to fix Dockerfiles or docs configuration
  • I use elasticsearch/_version.py as the source of truth for the version, which avoids keeping the version in two places
  • I fixed utils/build-dists.py to use pyproject.toml.

Copy link

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@pquentin pquentin requested a review from miguelgrinberg June 26, 2024 14:04
@pquentin pquentin merged commit b44e963 into elastic:main Jun 26, 2024
11 checks passed
@pquentin pquentin deleted the pyproject.toml branch November 6, 2024 04:32
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.

2 participants