uranusjr opened a new pull request #19064: URL: https://github.com/apache/airflow/pull/19064
See #19059. Version parsing capabilities when building provider packages is now provided by `packaging.version.Version` instead. Non-Python software version parsing (sqlite) is re-implemented with regex. Usages of `strtobool` are replaced by the `to_boolean` utility function in the `airflow.utils.strings` module. This function is a bit more permissive than `strtobool`, but should be good enough for how Airflow uses it for. This function is available since 2.0 and should be safe for usages in provider packages as well. The `copy_file` usage is replaced by `shutils.copy2()`, which is good enough for Airflow's needs. The distutils reference in setup.py is kept since the file is only used at build-time against setuptools, which patches the distutils import with a vendored copy and is not deprecated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org