You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/02/14 00:05:26 UTC

(airflow) branch fix_replacement_of_provider_package created (now e93b835e40)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a change to branch fix_replacement_of_provider_package
in repository https://gitbox.apache.org/repos/asf/airflow.git


      at e93b835e40 Fixed replacement of - to . in sdist package name

This branch includes the following new commits:

     new e93b835e40 Fixed replacement of - to . in sdist package name

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(airflow) 01/01: Fixed replacement of - to . in sdist package name

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch fix_replacement_of_provider_package
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit e93b835e40c1deabb84d3313d8fbec0acdc3b996
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Feb 14 01:02:44 2024 +0100

    Fixed replacement of - to . in sdist package name
    
    Follow up after #37406 - we could not test this change as there
    was no way to test canary builds but as the capability has been
    added in #37408 we can fix the failure and actually test it in
    a "canary" PR.
---
 dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index a6dcec3aa3..2506be5c86 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -901,7 +901,7 @@ def _get_all_providers_in_dist(
         matched = filename_pattern.match(file.name)
         if not matched:
             raise Exception(f"Cannot parse provider package name from {file.name}")
-        provider_package_id = matched.group(1).replace("-", ".")
+        provider_package_id = matched.group(1).replace("_", ".")
         yield provider_package_id