-
Notifications
You must be signed in to change notification settings - Fork 521
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
Add python 3.11 support (#663) #673
Closed
Closed
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f873cfe
Add python 3.11 support (#663)
mayeut ae08bdc
block Cython 3.0+ as a build dep (#702)
nitzmahone c42fa3b
6.0.1 release
nitzmahone b4d80a7
Python 3.12 + musllinux_1_1_x86_64 wheel support
nitzmahone f5527a2
disable CI trigger on PR edits
nitzmahone dd9f0e1
6.0.2rc1 (#809)
nitzmahone 41309b0
Release 6.0.2 (#819)
nitzmahone 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# PyYAML Security Policy | ||
|
||
## Reporting a Suspected Vulnerability | ||
|
||
The PyYAML project encourages responsible disclosure of suspected security | ||
vulnerabilities. However, we do not offer bug bounties, paid disclosure, or | ||
paid fixes for discovered vulnerabilities. To report a suspected security | ||
vulnerability, please e-mail details to <[email protected]> without creating | ||
public issues, pull requests, or discussion. Non-security correspondence to | ||
this address will be ignored. |
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 | ||||
---|---|---|---|---|---|---|
|
@@ -123,17 +123,20 @@ jobs: | |||||
# - { platform: manylinux1, arch: x86_64, spec: cp37 } | ||||||
# - { platform: manylinux1, arch: x86_64, spec: cp38 } | ||||||
# - { platform: manylinux1, arch: x86_64, spec: cp39 } | ||||||
- { platform: manylinux2014, arch: x86_64, spec: cp310 } | ||||||
# - { platform: manylinux2014, arch: x86_64, spec: cp310 } | ||||||
- { platform: manylinux2014, arch: x86_64, spec: cp311 } | ||||||
# - { platform: manylinux2014, arch: aarch64, spec: cp36 } | ||||||
# - { platform: manylinux2014, arch: aarch64, spec: cp37 } | ||||||
# - { platform: manylinux2014, arch: aarch64, spec: cp38 } | ||||||
# - { platform: manylinux2014, arch: aarch64, spec: cp39 } | ||||||
# - { platform: manylinux2014, arch: aarch64, spec: cp310 } | ||||||
# - { platform: manylinux2014, arch: aarch64, spec: cp311 } | ||||||
# - { platform: manylinux2014, arch: s390x, spec: cp36 } | ||||||
# - { platform: manylinux2014, arch: s390x, spec: cp37 } | ||||||
# - { platform: manylinux2014, arch: s390x, spec: cp38 } | ||||||
# - { platform: manylinux2014, arch: s390x, spec: cp39 } | ||||||
# - { platform: manylinux2014, arch: s390x, spec: cp310 } | ||||||
# - { platform: manylinux2014, arch: s390x, spec: cp311 } | ||||||
|
||||||
steps: | ||||||
- name: Checkout PyYAML | ||||||
|
@@ -233,7 +236,8 @@ jobs: | |||||
# - spec: cp37-macosx_x86_64 | ||||||
# - spec: cp38-macosx_x86_64 | ||||||
# - spec: cp39-macosx_x86_64 | ||||||
- spec: cp310-macosx_x86_64 | ||||||
# - spec: cp310-macosx_x86_64 | ||||||
- spec: cp311-macosx_x86_64 | ||||||
|
||||||
# # build for arm64 under a hacked macOS 12 self-hosted x86_64-on-arm64 runner until arm64 is fully supported | ||||||
# # FIXME: ? cp38-macosx_arm64 requires special handling and fails some test_zdist tests under cibw 2.1.2, skip it (so Apple's XCode python3 won't have a wheel) | ||||||
|
@@ -249,6 +253,13 @@ jobs: | |||||
# runs_on: [self-hosted, macOS, arm64] | ||||||
# arch: arm64 | ||||||
# run_wrapper: arch -arm64 bash --noprofile --norc -eo pipefail {0} | ||||||
# sdkroot: macosx11.3 | ||||||
# | ||||||
# - spec: cp311-macosx_arm64 | ||||||
# deployment_target: '11.0' | ||||||
# runs_on: [self-hosted, macOS, arm64] | ||||||
# arch: arm64 | ||||||
# run_wrapper: arch -arm64 bash --noprofile --norc -eo pipefail {0} | ||||||
# sdkroot: macosx11.3 | ||||||
|
||||||
steps: | ||||||
|
@@ -293,9 +304,9 @@ jobs: | |||||
strategy: | ||||||
matrix: | ||||||
include: | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
arch: x64 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
arch: win32 | ||||||
steps: | ||||||
- name: Get cached libyaml state | ||||||
|
@@ -323,7 +334,7 @@ jobs: | |||||
mkdir libyaml/build | ||||||
|
||||||
pushd libyaml/build | ||||||
cmake.exe -G "Visual Studio 15 2017" -A ${{ matrix.arch }} -DYAML_STATIC_LIB_NAME=yaml .. | ||||||
cmake.exe -G "Visual Studio 16 2019" -A ${{ matrix.arch }} -DYAML_STATIC_LIB_NAME=yaml .. | ||||||
cmake.exe --build . --config Release | ||||||
popd | ||||||
|
||||||
|
@@ -335,46 +346,54 @@ jobs: | |||||
strategy: | ||||||
matrix: | ||||||
include: | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: 3.6 | ||||||
# - platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: x64 | ||||||
# python_arch: x64 | ||||||
# spec: 3.7 | ||||||
# - platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: x64 | ||||||
# python_arch: x64 | ||||||
# spec: 3.8 | ||||||
# - platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: x64 | ||||||
# python_arch: x64 | ||||||
# spec: 3.9 | ||||||
- platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: x64 | ||||||
# python_arch: x64 | ||||||
# spec: '3.10' | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: '3.10' | ||||||
- platform: windows-2016 | ||||||
spec: '3.11.0-rc.2' | ||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: 3.6 | ||||||
# - platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: win32 | ||||||
# python_arch: x86 | ||||||
# spec: 3.7 | ||||||
# - platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: win32 | ||||||
# python_arch: x86 | ||||||
# spec: 3.8 | ||||||
# - platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: win32 | ||||||
# python_arch: x86 | ||||||
# spec: 3.9 | ||||||
- platform: windows-2016 | ||||||
# - platform: windows-2019 | ||||||
# build_arch: win32 | ||||||
# python_arch: x86 | ||||||
# spec: '3.10' | ||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: '3.10' | ||||||
spec: '3.11.0-rc.2' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
steps: | ||||||
# autocrlf screws up tests under Windows | ||||||
- name: Set git to use LF | ||||||
|
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 | ||||
---|---|---|---|---|---|---|
|
@@ -122,16 +122,19 @@ jobs: | |||||
- { platform: manylinux1, arch: x86_64, spec: cp38 } | ||||||
- { platform: manylinux1, arch: x86_64, spec: cp39 } | ||||||
- { platform: manylinux2014, arch: x86_64, spec: cp310 } | ||||||
- { platform: manylinux2014, arch: x86_64, spec: cp311 } | ||||||
- { platform: manylinux2014, arch: aarch64, spec: cp36 } | ||||||
- { platform: manylinux2014, arch: aarch64, spec: cp37 } | ||||||
- { platform: manylinux2014, arch: aarch64, spec: cp38 } | ||||||
- { platform: manylinux2014, arch: aarch64, spec: cp39 } | ||||||
- { platform: manylinux2014, arch: aarch64, spec: cp310 } | ||||||
- { platform: manylinux2014, arch: aarch64, spec: cp311 } | ||||||
- { platform: manylinux2014, arch: s390x, spec: cp36 } | ||||||
- { platform: manylinux2014, arch: s390x, spec: cp37 } | ||||||
- { platform: manylinux2014, arch: s390x, spec: cp38 } | ||||||
- { platform: manylinux2014, arch: s390x, spec: cp39 } | ||||||
- { platform: manylinux2014, arch: s390x, spec: cp310 } | ||||||
- { platform: manylinux2014, arch: s390x, spec: cp311 } | ||||||
|
||||||
steps: | ||||||
- name: Checkout PyYAML | ||||||
|
@@ -232,6 +235,7 @@ jobs: | |||||
- spec: cp38-macosx_x86_64 | ||||||
- spec: cp39-macosx_x86_64 | ||||||
- spec: cp310-macosx_x86_64 | ||||||
- spec: cp311-macosx_x86_64 | ||||||
|
||||||
# build for arm64 under a hacked macOS 12 self-hosted x86_64-on-arm64 runner until arm64 is fully supported | ||||||
# FIXME: ? cp38-macosx_arm64 requires special handling and fails some test_zdist tests under cibw 2.1.2, skip it (so Apple's XCode python3 won't have a wheel) | ||||||
|
@@ -249,6 +253,13 @@ jobs: | |||||
run_wrapper: arch -arm64 bash --noprofile --norc -eo pipefail {0} | ||||||
sdkroot: macosx11.3 | ||||||
|
||||||
- spec: cp311-macosx_arm64 | ||||||
deployment_target: '11.0' | ||||||
runs_on: [self-hosted, macOS, arm64] | ||||||
arch: arm64 | ||||||
run_wrapper: arch -arm64 bash --noprofile --norc -eo pipefail {0} | ||||||
sdkroot: macosx11.3 | ||||||
|
||||||
steps: | ||||||
- name: Checkout PyYAML | ||||||
uses: actions/checkout@v2 | ||||||
|
@@ -291,9 +302,9 @@ jobs: | |||||
strategy: | ||||||
matrix: | ||||||
include: | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
arch: x64 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
arch: win32 | ||||||
steps: | ||||||
- name: Get cached libyaml state | ||||||
|
@@ -321,7 +332,7 @@ jobs: | |||||
mkdir libyaml/build | ||||||
|
||||||
pushd libyaml/build | ||||||
cmake.exe -G "Visual Studio 15 2017" -A ${{ matrix.arch }} -DYAML_STATIC_LIB_NAME=yaml .. | ||||||
cmake.exe -G "Visual Studio 16 2019" -A ${{ matrix.arch }} -DYAML_STATIC_LIB_NAME=yaml .. | ||||||
cmake.exe --build . --config Release | ||||||
popd | ||||||
|
||||||
|
@@ -333,46 +344,54 @@ jobs: | |||||
strategy: | ||||||
matrix: | ||||||
include: | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: 3.6 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: 3.7 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: 3.8 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: 3.9 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: '3.10' | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: x64 | ||||||
python_arch: x64 | ||||||
spec: '3.11.0-rc.2' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: 3.6 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: 3.7 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: 3.8 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: 3.9 | ||||||
- platform: windows-2016 | ||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: '3.10' | ||||||
- platform: windows-2019 | ||||||
build_arch: win32 | ||||||
python_arch: x86 | ||||||
spec: '3.11.0-rc.2' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
steps: | ||||||
# autocrlf screws up tests under Windows | ||||||
- name: Set git to use LF | ||||||
|
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
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.