[Packaging] Add Ubuntu 24.04 Noble Numbat support#28888
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @bebound, |
️✔️AzureCLI-BreakingChangeTest
|
|
Packaging |
|
Noble package is half the size of Jammy:
|
|
Noble uses This would significantly slow the This change was introduced in debhelper 13.10.10. |
| ${TAB}dh \$@ --sourcedirectory $source_dir | ||
|
|
||
| override_dh_clean: | ||
| ${TAB}dh_clean --exclude=__pycache__ |
There was a problem hiding this comment.
To ensure the pyc files are included in package, as they are excluded by default starting with debhelper version 13.10.10.
See #28888 (comment)
There was a problem hiding this comment.
This is a more official doc: https://manpages.ubuntu.com/manpages/noble/en/man1/dh_clean.1.html
|
I've created a bug report for debhelper: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070794 |
|
As suggest by Niels from Debian bug report, we should move the byte-compile step in the post install script, which could help us to reduce the package size. Debian Python Policy also suggests this:
This is beyond the scope of this PR. I've simply omitted the |
|
Fascinating in-depth investigation! |
Ubuntu 24.04 was released on April 25, 2024
Resolve #28872
We'll drop 18.04 in #28942
Ref: https://wiki.ubuntu.com/Releases