Skip to content

Modernize Python Client packaging - #104

Merged
potiuk merged 1 commit into
mainfrom
modernize-python-client-packaging
Jan 14, 2024
Merged

Modernize Python Client packaging#104
potiuk merged 1 commit into
mainfrom
modernize-python-client-packaging

Conversation

@potiuk

Copy link
Copy Markdown
Member

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
potiukforce-pushed the modernize-python-client-packaging branch 5 times, most recently from 605d68b to aa88452CompareJanuary 14, 2024 06:27
@potiuk
potiukforce-pushed the modernize-python-client-packaging branch 2 times, most recently from 7dfaeeb to 9200d83CompareJanuary 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
potiukforce-pushed the modernize-python-client-packaging branch from 9200d83 to ecae09dCompareJanuary 14, 2024 07:54
@potiuk
potiuk merged commit 11726ed into mainJan 14, 2024
Sign up for freeto 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

@potiuk@eladkal