From Fedora Project Wiki
(→‎Current status: perl-Coro-Multicore done)
 
(16 intermediate revisions by 3 users not shown)
Line 30: Line 30:
* Name: [[User:Ppisar| Petr Písař]]
* Name: [[User:Ppisar| Petr Písař]]
* Email: <ppisar@redhat.com>
* Email: <ppisar@redhat.com>
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
* Release notes owner: [[User:Immanetize|Pete Travis]] ([[User talk:Immanetize|talk]])
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
Line 45: Line 45:


* Targeted release: [[Releases/25 | Fedora 25 ]]  
* Targeted release: [[Releases/25 | Fedora 25 ]]  
* Last updated: 2016-05-24
* Last updated: 2016-07-25
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Bugzilla states meaning as usual:
Bugzilla states meaning as usual:
Line 71: Line 71:
* Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs
* Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs
* Synchronize packages upgraded in f25 build root
* Synchronize packages upgraded in f25 build root
* Rebuilt Perl packages: 2862 of 2865 done (99.90 %)
* Unfixable packages retired (1)
** perl-Algorithm-Permute - known issue [https://rt.cpan.org/Public/Bug/Display.html?id=112247 CPAN RT#112247] - [https://bugzilla.redhat.com/show_bug.cgi?id=1338712 https://bugzilla.redhat.com/show_bug.cgi?id=1338712]


=== Items in progress ===
=== Items in progress ===
* Rebuilt Perl packages: 2856 of 2865 done (99.69 %)


=== Items to be done ===
=== Items to be done ===
* [https://jplesnik.fedorapeople.org/5.24/not-rebuild.svg The graph with failed/unsatisfied packages]
* [https://jplesnik.fedorapeople.org/5.24/not-rebuild.svg The graph with failed/unsatisfied packages]
* Failed (5)
* Failed (2)
** perl-Algorithm-Permute - known issue [https://rt.cpan.org/Public/Bug/Display.html?id=112247 CPAN RT#112247] - [https://bugzilla.redhat.com/show_bug.cgi?id=1338712 https://bugzilla.redhat.com/show_bug.cgi?id=1338712]
** perl-Data-Alias - known issue [https://rt.cpan.org/Public/Bug/Display.html?id=112289 CPAN RT#112289] - [https://bugzilla.redhat.com/show_bug.cgi?id=1338720 https://bugzilla.redhat.com/show_bug.cgi?id=1338720]
** perl-Data-Alias - known issue [https://rt.cpan.org/Public/Bug/Display.html?id=112289 CPAN RT#112289] - [https://bugzilla.redhat.com/show_bug.cgi?id=1338720 https://bugzilla.redhat.com/show_bug.cgi?id=1338720]
** perl-Scope-Upper - known issue [https://rt.cpan.org/Public/Bug/Display.html?id=112246 CPAN RT#112246] - [https://bugzilla.redhat.com/show_bug.cgi?id=1338725 https://bugzilla.redhat.com/show_bug.cgi?id=1338725]
** uwsgi - fails with v8-5.2.258 - [https://bugzilla.redhat.com/show_bug.cgi?id=1339293 https://bugzilla.redhat.com/show_bug.cgi?id=1339293]
** uwsgi - requires perl-Coro
** weechat - [https://bugzilla.redhat.com/show_bug.cgi?id=1338728 https://bugzilla.redhat.com/show_bug.cgi?id=1338728]
* Unsatisfied build-time dependencies (4)
** perl-RDF-Trine - missing perl-TryCatch - [https://bugzilla.redhat.com/show_bug.cgi?id=1339244 https://bugzilla.redhat.com/show_bug.cgi?id=1339244]
** perl-Task-Moose - missing perl-TryCatch - [https://bugzilla.redhat.com/show_bug.cgi?id=1339249 https://bugzilla.redhat.com/show_bug.cgi?id=1339249]
** perl-TryCatch - missing perl-Scope-Upper - [https://bugzilla.redhat.com/show_bug.cgi?id=1339241 https://bugzilla.redhat.com/show_bug.cgi?id=1339241]
** rt - perl-Scope-Upper


== Detailed Description ==
== Detailed Description ==
Line 133: Line 127:


== Release Notes ==
== Release Notes ==
<onlyinclude>
* New features:
* New features:
TBD
** Unicode 8.0 is now supported.
** An exception will be raised when closing an in-place output file fails.
** ''(?[ ])'' will successfully compile when ''use locale'' is in effect.
** Integer shift (''<<'' and ''>>'') now more explicitly defined. Negative shifts are reverse shifts.
** ''printf'' and ''sprintf'' now allow reordered precision arguments.
** When passing the ''SA_SIGINFO'' flag to ''sigaction'', the ''errno'', ''status'', ''uid'', ''pid'', ''addr'' and ''band'' fields are included in the hash passed to the handler, if supported by the platform.
** Hashbang redirection was extended also to Perl 6.


* Changes:
* Changes:
TBD
** Postfix dereferencing is no longer experimental.
** Remove duplicate environment variables from ''environ''.
** More regular expression patterns are now checked for validity at compilation time, and invalid ones will cause the program to not compile.
** Using ''\N{}'' is a fatal error under experimental feature ''"'strict' mode"'' in re.
** A ''my'', ''our'', or ''state'' declaration is no longer allowed inside of another ''my'', ''our'', or ''state'' declaration.
** The ''/\C/'' character class has been removed.
** Using ''chdir(\'\')'' or ''chdir(undef)'' to change working directory to a home directory fails now. Use ''chdir()'' instead.
** ASCII characters in variable names must now be all visible.
** ''$Carp::MaxArgNums'' is supposed to be the number of arguments to display.
** Only blanks and tabs are now allowed within ''[...]'' within ''(?[...])''.
** Matching fixed string regular expression is now faster in most cases.


* Removed features:
* Removed features:
TBD
** The autoderef feature has been removed.
** Lexical ''$_'' has been removed.
** ''PPPort.so'' no longer get installed, as they are not used by PPPort.pm.
** Using code points above the platform's ''IV_MAX'' is now deprecated.
** Bitwise operations on strings containing code points above 0xFF is deprecated. Instead, encode these strings to byte strings first.
** ''sysread()'', ''syswrite()'', ''recv()'' and ''send()'' are deprecated on :utf8 handles.
 
</onlyinclude>


[[Category:ChangeAcceptedF25]]
[[Category:ChangeAcceptedF25]]

Latest revision as of 18:09, 11 September 2016


Perl 5.24

Summary

A new perl 5.24 version brings a lot of changes done over a year of development. Perl 5.24 will be released 5/9/2016. See 5.24.0 perldelta for more details about preparing release.

Owner

Current status

Completed items

  • Get dedicated build-root from rel-engs (f25-perl)
  • Define perl_bootstrap in perl-srpm-macros
  • Rebase perl to 5.24.0
  • Build new perl 5.24 keeping old COMPAT Provides
  • Rebuild dual-lived packages (otherwise yum recommends --skip-broken and fails)
  • Rebuild packages needed for minimal build-root
  • Rebuild packages needed for building source packages from git repository
  • Remove old perl(:MODULE_COMPAT_5.22.*) from perl
  • Undefine perl_bootstrap
  • Rebuild packages having perl_bootstrap condition in spec file
  • Rebuild other packages: Use Fedora::Rebuild dependency solver
  • Rebuild all updated packages
  • Merge dedicated build-root to rawhide and remove the dedicated one by rel-engs
  • Synchronize packages upgraded in f25 build root
  • Rebuilt Perl packages: 2862 of 2865 done (99.90 %)
  • Unfixable packages retired (1)

Items in progress

Items to be done

Detailed Description

New perl is released every year and updates containing mainly bug fixes follow during the year. The 5.24.0 version is stable release this year.

Benefit to Fedora

Up-to-date and latest perl release will be delivered to Fedora users.

Scope

Every Perl package will be rebuilt in a dedicated f25-perl build-root against perl 5.24.0 and then if no major problem emerges the packages will be merged back to f25 build-root.

  • Proposal owners:

New perl and all packages requiring perl or a Perl module will be rebuilt into f25-perl build-root.

  • Other developers:

Owners of packages that fail to rebuild, mainly perl-sig users, will be asked using Bugzilla to fix or remove their packages from the distribution.

  • Release engineering:

Release engineers will be asked for new f25-perl build-root inheriting from f25 build-root. After successful finishing the rebuild, they will be asked to merge f25-perl packages back to f25 build-root.

  • Policies and guidelines:

No policies have to be modified to complete this change.

Upgrade/compatibility impact

Vast majority of functionality will be preserved. Only the packages that failed to build against perl 5.24 will be removed from the distribution. That will require to remove those packages from existing systems otherwise package manager will encounter unsatisfied dependencies.

How To Test

Try upgrading from Fedora 24 to 25. Try some Perl application to verify they work as expected. Try embedded perl in slapd or snmpd.

User Experience

There should not be any remarkable change in user experience.

Dependencies

There is more than 2700 packages depending on perl. Most of them are expected not to break. Finishing this change can be endangered only by critical changes in a toolchain.

Contingency Plan

If we find perl 5.24 is not suitable for Fedora 25, we will revert back to perl 5.22 and we drop the temporary build-root with already rebuilt packages.

  • Contingency deadline: branching Fedora 25 from Rawhide.
  • Blocks release? No.

Documentation

Release Notes

  • New features:
    • Unicode 8.0 is now supported.
    • An exception will be raised when closing an in-place output file fails.
    • (?[ ]) will successfully compile when use locale is in effect.
    • Integer shift (<< and >>) now more explicitly defined. Negative shifts are reverse shifts.
    • printf and sprintf now allow reordered precision arguments.
    • When passing the SA_SIGINFO flag to sigaction, the errno, status, uid, pid, addr and band fields are included in the hash passed to the handler, if supported by the platform.
    • Hashbang redirection was extended also to Perl 6.
  • Changes:
    • Postfix dereferencing is no longer experimental.
    • Remove duplicate environment variables from environ.
    • More regular expression patterns are now checked for validity at compilation time, and invalid ones will cause the program to not compile.
    • Using \N{} is a fatal error under experimental feature "'strict' mode" in re.
    • A my, our, or state declaration is no longer allowed inside of another my, our, or state declaration.
    • The /\C/ character class has been removed.
    • Using chdir(\'\') or chdir(undef) to change working directory to a home directory fails now. Use chdir() instead.
    • ASCII characters in variable names must now be all visible.
    • $Carp::MaxArgNums is supposed to be the number of arguments to display.
    • Only blanks and tabs are now allowed within [...] within (?[...]).
    • Matching fixed string regular expression is now faster in most cases.
  • Removed features:
    • The autoderef feature has been removed.
    • Lexical $_ has been removed.
    • PPPort.so no longer get installed, as they are not used by PPPort.pm.
    • Using code points above the platform's IV_MAX is now deprecated.
    • Bitwise operations on strings containing code points above 0xFF is deprecated. Instead, encode these strings to byte strings first.
    • sysread(), syswrite(), recv() and send() are deprecated on :utf8 handles.