-
Notifications
You must be signed in to change notification settings - Fork 578
Bump blead to Perl version 7.1.0 #18020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e81ec71
to
334c9a4
Compare
In a Perl version number such as 5.6.2, this is the 2. | ||
Values greater than 50 represent potentially unstable | ||
development subversions. | ||
This value is manually set in patchlevel.h | ||
|
||
PERL_VERSION (Oldsyms.U): | ||
PERL_VERSION_MINOR (Oldsyms.U): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we need a new meta-unit. Oldsyms.U sounds a little confusing now.
Given that, maybe it is a good thing to keep Oldsyms.U which documents the old symbols for a while (with the replaced-by names) to be removed in 7.4.0 or so.
@@ -615,7 +615,7 @@ The directories set up by Configure fall into three broad categories. | |||
|
|||
=item Directories for the perl distribution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
INSTALL will need a note that as of 7.0.0 the prefix will be .../lib/perl
instead of .../lib/perl5
(which is likely to break some code that analyses already installed modules)
As a side note, will perl-7.x.x be able to load modules from perl-5.x.x when inc_version_list
not equals to none
.
If so, do we need a new parameter to Configure
to define that location?
@@ -1901,7 +1901,7 @@ fi | |||
touch posthint.sh | |||
|
|||
: set package name | |||
package='perl5' | |||
package='perl7' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not yet found time to dig into rebuilding Configure with all these changes, so I have no idea if anything would be impacted at all. I will need to find time first to experiment and time to backport all changes.
Are we going to rename the repo at the same time? If the version becomes 7.x, the repo name |
Indeed we can rename the repo once merged. Not sure about the best timing. |
1114834
to
482f4e5
Compare
482f4e5
to
c7f82f1
Compare
Use new core PERL_VERSION compare macros in vxs.inc When bumping version which this change we would need to make sure to use the last version of ppport.h
To provide backward compatibility with XS code PERL_REVISION, PERL_VERSION and PERL_SUBVERSION are frozen at 5.255.255 - view patchlevel.h This is introducing new Perl semantic versioning macros: PERL_VERSION_MAJOR, PERL_VERSION_MINOR, PERL_VERSION_PATCH It's recommended to use the compare functions PERL_VERSION_EQ, PERL_VERSION_LT... instead of a direct access to the `VERSION` macros.
c7f82f1
to
b927ee9
Compare
Why does this PR exist? People are currently imagining multiple possible reasons. Please provide an explanation of the purpose of this PR, and the full intent, not just what to the contents are meant to do. |
So we can discuss and have a common place to see what's required to bump the major version. If you look up top, you'll notice that this is a draft and cannot be merged. |
Thanks for the clarification. And yeah, that was ether's action a week after opening to prevent it from being merged, but the original intent was still unclear and could have been at odds with her action. :) |
You're leaving me to imagine wild things now. What were some imagining the reason was? |
Bump blead to 7 as soon as possible, which would be a significant stumbling block for a 5.34 release, or other development releases. |
This PR was created to match the direction described by this message: https://www.nntp.perl.org/group/perl.perl5.porters/2020/07/msg258137.html Since then a step back was performed and we are postponing the change. |
Thanks a lot for clarifying. :) |
@atoomic, Given your statement above and the fact that work in this direction has stalled since the summer, I recommend closing this p.r. Thank you very much. |
This pull request bumps the Perl version to 7.1.0 with some incremental changes:
Note that in order to provide backward compatibility with XS distributions, PERL_REVISION, PERL_VERSION and PERL_SUBVERSION are frozen at
5.255.255
(view patchlevel.h)New semantic versioning macros are introduced as part of this change:
PERL_VERSION_MAJOR, PERL_VERSION_MINOR, PERL_VERSION_PATCH
This is solving XS issues where
PERL_VERSION
is used without checkingPERL_REVISION
but also fixing issues from old version ofppport.h
which only support the major version being5
.It's recommended to use the compare functions PERL_VERSION_EQ, PERL_VERSION_LT... instead of a direct access to these macros.