File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ jobs:
103
103
- uses : actions/download-artifact@v4
104
104
105
105
- 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
107
107
with :
108
108
subject-path : " */pybind11*"
109
109
Original file line number Diff line number Diff line change @@ -100,9 +100,7 @@ class Never : public none {
100
100
using none::none;
101
101
};
102
102
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
106
104
# define PYBIND11_TYPING_H_HAS_STRING_LITERAL
107
105
template <size_t N>
108
106
struct StringLiteral {
Original file line number Diff line number Diff line change @@ -1026,7 +1026,7 @@ def test_optional_object_annotations(doc):
1026
1026
1027
1027
@pytest .mark .skipif (
1028
1028
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." ,
1030
1030
)
1031
1031
def test_literal (doc ):
1032
1032
assert (
@@ -1037,7 +1037,7 @@ def test_literal(doc):
1037
1037
1038
1038
@pytest .mark .skipif (
1039
1039
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." ,
1041
1041
)
1042
1042
def test_typevar (doc ):
1043
1043
assert (
You can’t perform that action at this time.
0 commit comments