File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ jobs:
103103 - uses : actions/download-artifact@v4
104104
105105 - name : Generate artifact attestation for sdist and wheel
106- uses : actions/attest-build-provenance@310b0a4a3b0b78ef57ecda988ee04b132db73ef8 # v1.4.1
106+ uses : actions/attest-build-provenance@6149ea5740be74af77f260b9db67e633f6b0a9a1 # v1.4.2
107107 with :
108108 subject-path : " */pybind11*"
109109
Original file line number Diff line number Diff line change @@ -100,9 +100,7 @@ class Never : public none {
100100 using none::none;
101101};
102102
103- #if defined(__cpp_nontype_template_parameter_class) \
104- && (/* See #5201 */ !defined (__GNUC__) \
105- || (__GNUC__ > 10 || (__GNUC__ == 10 && __GNUC_MINOR__ >= 3 )))
103+ #if defined(__cpp_nontype_template_args) && __cpp_nontype_template_args >= 201911L
106104# define PYBIND11_TYPING_H_HAS_STRING_LITERAL
107105template <size_t N>
108106struct StringLiteral {
Original file line number Diff line number Diff line change @@ -1026,7 +1026,7 @@ def test_optional_object_annotations(doc):
10261026
10271027@pytest .mark .skipif (
10281028 not m .defined_PYBIND11_TYPING_H_HAS_STRING_LITERAL ,
1029- reason = "C++20 feature not available." ,
1029+ reason = "C++20 non-type template args feature not available." ,
10301030)
10311031def test_literal (doc ):
10321032 assert (
@@ -1037,7 +1037,7 @@ def test_literal(doc):
10371037
10381038@pytest .mark .skipif (
10391039 not m .defined_PYBIND11_TYPING_H_HAS_STRING_LITERAL ,
1040- reason = "C++20 feature not available." ,
1040+ reason = "C++20 non-type template args feature not available." ,
10411041)
10421042def test_typevar (doc ):
10431043 assert (
You can’t perform that action at this time.
0 commit comments