-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
3.11.0 #577
Merged
Merged
3.11.0 #577
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
5b69f0b
Rebase patches
isuruf 2268432
Update to 3.11.0rc1
isuruf 3898fd0
remove unnecessary env vars
isuruf 3df5991
Fix patch numbers
isuruf 186d143
update 0012-Add-CondaEcosystemModifyDllSearchPath.patch
isuruf 52ee12c
fix python jinja var
isuruf 512b216
MNT: Re-rendered with conda-build 3.22.0, conda-smithy 3.21.1, and co…
4f4c64f
Set --with-build-python
isuruf 40a581d
3.10 -> 3.11
isuruf 8900866
Move Conda DLL patch to pylifecycle.c
isuruf ca0181e
3.10 -> 3.11
isuruf 21f4471
Fix typo
isuruf 071818b
pynche was removed
isuruf aad24dd
Update to 3.11.0rc2
chrisburr 0805b1a
Disable downstreams tests due to automatic skiping not working
chrisburr 8d4b02e
update to 3.11.0
isuruf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
readline: | ||
- '8' | ||
sqlite: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
readline: | ||
- '8' | ||
sqlite: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
readline: | ||
- '8' | ||
sqlite: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
readline: | ||
- '8' | ||
sqlite: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
readline: | ||
- '8' | ||
sqlite: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
readline: | ||
- '8' | ||
sqlite: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
sqlite: | ||
- '3' | ||
target_platform: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ pin_run_as_build: | |
zlib: | ||
max_pin: x.x | ||
python: | ||
- '3.10' | ||
- '3.11' | ||
sqlite: | ||
- '3' | ||
target_platform: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
python: | ||
- 3.10 | ||
- 3.11 | ||
python_impl: | ||
- cpython | ||
numpy: | ||
- 1.16 | ||
c_compiler: # [win] | ||
- vs2017 # [win] | ||
cxx_compiler: # [win] | ||
- vs2017 # [win] | ||
vc: # [win] | ||
- 14.1 # [win] | ||
MACOSX_SDK_VERSION: # [osx and x86_64] | ||
- 11.0 # [osx and x86_64] | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is this intended? We can built it pretty nicely with 10.14 SDK on osx-64
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.
Yes, it's intended. Building with 10.14 will give you a python interpreter that's broken on 11.0. For eg: #575
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.
However, using 11.0 doesn't build for intel 64 macos here. It was ok when building python 3.10.4 but not python 3.11. We're having a look at why, if you have any insights that would be great.
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 don't understand what you are saying here. Details please.
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.
If we use macOS SDK version 11.0, we can't build python 3.11 for the osx-64 target. (which is 64-bit intel CPU Mac). However, for previous versions of Python (we're on 3.10.4 at the moment), we successfully used SDK version 11.0 to build for all targets (both ARM and Intel mac).
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.
What is the error when you use SDK 11.0?
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.
/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_2092500kee/croots/recipe/python-split_1663247373378/work/Objects/longobject.c:5693:5: error: implicit declaration of function 'static_assert' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
The only change between a package that builds successfully, and one which fails with this message, is changing the SDK version from 10.14 to 11.0. This is when building Python v3.11 rc 1, for osx-64. When building the same feedstock for osx-arm64, using SDK version 11.0, the build completes successfully.
The
static_assert
call in question was added somewhere between Python v3.10.4 and v3.11.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.
That's a consequence of upstream python switching to C11, which introduces a
static_assert
macro (xref upstream conversion PR).Have you verified that you're compiling with
-std=c11
?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.
That topic is also discussed quite extensively in python/cpython#91731