Skip to content
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

Modernize Python Client packaging #104

Merged
merged 1 commit into from
Jan 14, 2024
Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jan 14, 2024

Accompanying apache/airflow#36763 where we fix and modernize the way how Python client gets generated, this on is result of applying the modernisation:

  • converting project configuration to pyproject.toml and removing all setup.* and requirements files
  • converting to modern packaging backend (hatchling) to build wheel and sdist packages (with reproducibility)
  • using hatch test environment definition and coverage to run tests
  • we deleted release instructions and dev tools (the ones in Airflow will be used to generate and sign the package)
  • similarly .pre-comit-config.yml is not needed as the client gets generated in the Apache Airflow project.

All those are going to be maintained in Apache Airflow project as part of apache/airflow#36763 as a single source of truth - when new Python client gets released the project files will be overwritten from those prepare from Airflow project, this is just initial PR to seed the new

@potiuk potiuk force-pushed the modernize-python-client-packaging branch 5 times, most recently from 605d68b to aa88452 Compare January 14, 2024 06:27
@potiuk potiuk force-pushed the modernize-python-client-packaging branch 2 times, most recently from 7dfaeeb to 9200d83 Compare January 14, 2024 06:44
Accompanying apache/airflow#36763 where we
fix and modernize the way how Python client gets generated, this
on is result of applying the modernisation:

* converting project configuration to pyproject.toml and removing
  all setup.* and requirements files
* converting to modern packaging backend (hatchling) to build
  wheel and sdist packages (with reproducibility)
* using hatch test environment definition and coverage to run tests
* we deleted release instructions and dev tools (the ones in Airflow
  will be used to generate and sign the package)
* similarly .pre-comit-config.yml is not needed as the client
  gets generated in the Apache Airflow project.

All those are going to be maintained in Apache Airflow project
as part of apache/airflow#36763 as a single
source of truth - when new Python client gets released the project
files will be overwritten from those prepare from Airflow project,
this is just initial PR to seed the new
@potiuk potiuk force-pushed the modernize-python-client-packaging branch from 9200d83 to ecae09d Compare January 14, 2024 07:54
@potiuk potiuk merged commit 11726ed into main Jan 14, 2024
1 check passed
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