From afcb1bb72b032058fc507af43fc251281b72795c Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 11:29:06 -0500 Subject: [PATCH 01/13] Update Github actions --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4283446..51739142 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,13 @@ jobs: os: - ubuntu-20.04 dc: + - dmd-2.108.1 - dmd-2.101.2 + - ldc-1.38.0 - ldc-1.30.0 python-version: + - '3.12' - '3.10' - '3.9' - '3.8' @@ -20,7 +23,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install package dependencies run: | @@ -29,12 +32,12 @@ jobs: - name: Install D compiler # must go before setting LD_LIBRARY_PATH for Python since this overrides it - uses: dlang-community/setup-dlang@v1.3.0 + uses: dlang-community/setup-dlang@v1.4.0 with: compiler: ${{ matrix.dc }} - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -66,4 +69,4 @@ jobs: LD_RUN_PATH: $PYTHON_LIB_DIR LIBRARY_PATH: /usr/lib/llvm-10/lib - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 From db80b116941d3ff97417976dba2c25de8befeff1 Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 11:50:38 -0500 Subject: [PATCH 02/13] Only update actions --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51739142..444f78d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,13 +9,13 @@ jobs: os: - ubuntu-20.04 dc: - - dmd-2.108.1 + #- dmd-2.108.1 - dmd-2.101.2 - - ldc-1.38.0 + #- ldc-1.38.0 - ldc-1.30.0 python-version: - - '3.12' + #- '3.12' - '3.10' - '3.9' - '3.8' From 9f6c4ec894ea7e7a318a5d3db6319db04cb5a1cc Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 12:26:19 -0500 Subject: [PATCH 03/13] dub upgrade --- dub.selections.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dub.selections.json b/dub.selections.json index 486d05ab..0b43a7a2 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -1,8 +1,8 @@ { "fileVersion": 1, "versions": { - "mirror": "0.3.2", - "monty": "0.0.12", - "unit-threaded": "2.0.3" + "mirror": "0.3.3", + "monty": "0.0.13", + "unit-threaded": "2.2.0" } } From b57c2ee177b9db5aba7e48990447d1fb8289e5a9 Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 13:44:08 -0500 Subject: [PATCH 04/13] Updated compilers --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 444f78d3..521870ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ jobs: os: - ubuntu-20.04 dc: - #- dmd-2.108.1 + - dmd-2.108.1 - dmd-2.101.2 - #- ldc-1.38.0 + - ldc-1.38.0 - ldc-1.30.0 python-version: From 0bfa28da6814dbfea791e3919671d9f749399c22 Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 13:48:08 -0500 Subject: [PATCH 05/13] Update monty everywhere --- examples/issues/dub.selections.json | 2 +- examples/numpy/dub.selections.json | 2 +- examples/phobos/std_algorithm/dub.selections.json | 2 +- examples/phobos/std_array/dub.selections.json | 2 +- examples/phobos/std_ascii/dub.selections.json | 2 +- examples/phobos/std_base64/dub.selections.json | 2 +- examples/phobos/std_bigint/dub.selections.json | 2 +- examples/phobos/std_compiler/dub.selections.json | 2 +- examples/phobos/std_complex/dub.selections.json | 2 +- examples/phobos/std_container/dub.selections.json | 2 +- examples/phobos/std_conv/dub.selections.json | 2 +- examples/phobos/std_csv/dub.selections.json | 2 +- examples/phobos/std_demangle/dub.selections.json | 2 +- examples/phobos/std_encoding/dub.selections.json | 2 +- examples/phobos/std_exception/dub.selections.json | 2 +- examples/phobos/std_format/dub.selections.json | 2 +- examples/phobos/std_functional/dub.selections.json | 2 +- examples/phobos/std_getopt/dub.selections.json | 2 +- examples/phobos/std_json/dub.selections.json | 2 +- examples/phobos/std_math/dub.selections.json | 2 +- examples/phobos/std_mathspecial/dub.selections.json | 2 +- examples/phobos/std_meta/dub.selections.json | 2 +- examples/phobos/std_mmfile/dub.selections.json | 2 +- examples/phobos/std_numeric/dub.selections.json | 2 +- examples/phobos/std_outbuffer/dub.selections.json | 2 +- examples/phobos/std_path/dub.selections.json | 2 +- examples/phobos/std_process/dub.selections.json | 2 +- examples/phobos/std_random/dub.selections.json | 2 +- examples/phobos/std_range/dub.selections.json | 2 +- examples/phobos/std_regex/dub.selections.json | 2 +- examples/phobos/std_signals/dub.selections.json | 2 +- examples/phobos/std_socket/dub.selections.json | 2 +- examples/phobos/std_stdint/dub.selections.json | 2 +- examples/phobos/std_stdio/dub.selections.json | 2 +- examples/phobos/std_string/dub.selections.json | 2 +- examples/phobos/std_system/dub.selections.json | 2 +- examples/phobos/std_traits/dub.selections.json | 2 +- examples/phobos/std_typecons/dub.selections.json | 2 +- examples/phobos/std_typetuple/dub.selections.json | 2 +- examples/phobos/std_uri/dub.selections.json | 2 +- examples/phobos/std_utf/dub.selections.json | 2 +- examples/phobos/std_uuid/dub.selections.json | 2 +- examples/phobos/std_variant/dub.selections.json | 2 +- examples/phobos/std_windows/dub.selections.json | 2 +- examples/phobos/std_zlib/dub.selections.json | 2 +- examples/pyd/dub.selections.json | 2 +- examples/simple/adder/dub.selections.json | 2 +- examples/simple/api/dub.selections.json | 2 +- examples/simple/dub.selections.json | 2 +- examples/simple/prefix/dub.selections.json | 2 +- examples/simple/structs/dub.selections.json | 2 +- examples/simple/templates/dub.selections.json | 2 +- examples/simple/wrap_all/dub.selections.json | 2 +- pynih/contract/dub.selections.json | 2 +- 54 files changed, 54 insertions(+), 54 deletions(-) diff --git a/examples/issues/dub.selections.json b/examples/issues/dub.selections.json index c998c426..2488ffcd 100644 --- a/examples/issues/dub.selections.json +++ b/examples/issues/dub.selections.json @@ -8,7 +8,7 @@ "memutils": "1.0.10", "mir-linux-kernel": "1.0.1", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "openssl": "3.3.3", "openssl-static": "1.0.3+3.0.8", "pyd": "0.14.4", diff --git a/examples/numpy/dub.selections.json b/examples/numpy/dub.selections.json index 532825f9..a1dce0dc 100644 --- a/examples/numpy/dub.selections.json +++ b/examples/numpy/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../"}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_algorithm/dub.selections.json b/examples/phobos/std_algorithm/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_algorithm/dub.selections.json +++ b/examples/phobos/std_algorithm/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_array/dub.selections.json b/examples/phobos/std_array/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_array/dub.selections.json +++ b/examples/phobos/std_array/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_ascii/dub.selections.json b/examples/phobos/std_ascii/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_ascii/dub.selections.json +++ b/examples/phobos/std_ascii/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_base64/dub.selections.json b/examples/phobos/std_base64/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_base64/dub.selections.json +++ b/examples/phobos/std_base64/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_bigint/dub.selections.json b/examples/phobos/std_bigint/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_bigint/dub.selections.json +++ b/examples/phobos/std_bigint/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_compiler/dub.selections.json b/examples/phobos/std_compiler/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_compiler/dub.selections.json +++ b/examples/phobos/std_compiler/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_complex/dub.selections.json b/examples/phobos/std_complex/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_complex/dub.selections.json +++ b/examples/phobos/std_complex/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_container/dub.selections.json b/examples/phobos/std_container/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_container/dub.selections.json +++ b/examples/phobos/std_container/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_conv/dub.selections.json b/examples/phobos/std_conv/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_conv/dub.selections.json +++ b/examples/phobos/std_conv/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_csv/dub.selections.json b/examples/phobos/std_csv/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_csv/dub.selections.json +++ b/examples/phobos/std_csv/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_demangle/dub.selections.json b/examples/phobos/std_demangle/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_demangle/dub.selections.json +++ b/examples/phobos/std_demangle/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_encoding/dub.selections.json b/examples/phobos/std_encoding/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_encoding/dub.selections.json +++ b/examples/phobos/std_encoding/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_exception/dub.selections.json b/examples/phobos/std_exception/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_exception/dub.selections.json +++ b/examples/phobos/std_exception/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_format/dub.selections.json b/examples/phobos/std_format/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_format/dub.selections.json +++ b/examples/phobos/std_format/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_functional/dub.selections.json b/examples/phobos/std_functional/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_functional/dub.selections.json +++ b/examples/phobos/std_functional/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_getopt/dub.selections.json b/examples/phobos/std_getopt/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_getopt/dub.selections.json +++ b/examples/phobos/std_getopt/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_json/dub.selections.json b/examples/phobos/std_json/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_json/dub.selections.json +++ b/examples/phobos/std_json/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_math/dub.selections.json b/examples/phobos/std_math/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_math/dub.selections.json +++ b/examples/phobos/std_math/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_mathspecial/dub.selections.json b/examples/phobos/std_mathspecial/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_mathspecial/dub.selections.json +++ b/examples/phobos/std_mathspecial/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_meta/dub.selections.json b/examples/phobos/std_meta/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_meta/dub.selections.json +++ b/examples/phobos/std_meta/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_mmfile/dub.selections.json b/examples/phobos/std_mmfile/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_mmfile/dub.selections.json +++ b/examples/phobos/std_mmfile/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_numeric/dub.selections.json b/examples/phobos/std_numeric/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_numeric/dub.selections.json +++ b/examples/phobos/std_numeric/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_outbuffer/dub.selections.json b/examples/phobos/std_outbuffer/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_outbuffer/dub.selections.json +++ b/examples/phobos/std_outbuffer/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_path/dub.selections.json b/examples/phobos/std_path/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_path/dub.selections.json +++ b/examples/phobos/std_path/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_process/dub.selections.json b/examples/phobos/std_process/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_process/dub.selections.json +++ b/examples/phobos/std_process/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_random/dub.selections.json b/examples/phobos/std_random/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_random/dub.selections.json +++ b/examples/phobos/std_random/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_range/dub.selections.json b/examples/phobos/std_range/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_range/dub.selections.json +++ b/examples/phobos/std_range/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_regex/dub.selections.json b/examples/phobos/std_regex/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_regex/dub.selections.json +++ b/examples/phobos/std_regex/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_signals/dub.selections.json b/examples/phobos/std_signals/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_signals/dub.selections.json +++ b/examples/phobos/std_signals/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_socket/dub.selections.json b/examples/phobos/std_socket/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_socket/dub.selections.json +++ b/examples/phobos/std_socket/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_stdint/dub.selections.json b/examples/phobos/std_stdint/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_stdint/dub.selections.json +++ b/examples/phobos/std_stdint/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_stdio/dub.selections.json b/examples/phobos/std_stdio/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_stdio/dub.selections.json +++ b/examples/phobos/std_stdio/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_string/dub.selections.json b/examples/phobos/std_string/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_string/dub.selections.json +++ b/examples/phobos/std_string/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_system/dub.selections.json b/examples/phobos/std_system/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_system/dub.selections.json +++ b/examples/phobos/std_system/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_traits/dub.selections.json b/examples/phobos/std_traits/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_traits/dub.selections.json +++ b/examples/phobos/std_traits/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_typecons/dub.selections.json b/examples/phobos/std_typecons/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_typecons/dub.selections.json +++ b/examples/phobos/std_typecons/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_typetuple/dub.selections.json b/examples/phobos/std_typetuple/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_typetuple/dub.selections.json +++ b/examples/phobos/std_typetuple/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_uri/dub.selections.json b/examples/phobos/std_uri/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_uri/dub.selections.json +++ b/examples/phobos/std_uri/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_utf/dub.selections.json b/examples/phobos/std_utf/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_utf/dub.selections.json +++ b/examples/phobos/std_utf/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_uuid/dub.selections.json b/examples/phobos/std_uuid/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_uuid/dub.selections.json +++ b/examples/phobos/std_uuid/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_variant/dub.selections.json b/examples/phobos/std_variant/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_variant/dub.selections.json +++ b/examples/phobos/std_variant/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_windows/dub.selections.json b/examples/phobos/std_windows/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_windows/dub.selections.json +++ b/examples/phobos/std_windows/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_zlib/dub.selections.json b/examples/phobos/std_zlib/dub.selections.json index 6d0f0d88..4b65ae71 100644 --- a/examples/phobos/std_zlib/dub.selections.json +++ b/examples/phobos/std_zlib/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/pyd/dub.selections.json b/examples/pyd/dub.selections.json index 532825f9..a1dce0dc 100644 --- a/examples/pyd/dub.selections.json +++ b/examples/pyd/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../"}, "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/simple/adder/dub.selections.json b/examples/simple/adder/dub.selections.json index 89f0c36f..7316a4cd 100644 --- a/examples/simple/adder/dub.selections.json +++ b/examples/simple/adder/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/api/dub.selections.json b/examples/simple/api/dub.selections.json index 89f0c36f..7316a4cd 100644 --- a/examples/simple/api/dub.selections.json +++ b/examples/simple/api/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/dub.selections.json b/examples/simple/dub.selections.json index 98abfa8a..322cb434 100644 --- a/examples/simple/dub.selections.json +++ b/examples/simple/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/prefix/dub.selections.json b/examples/simple/prefix/dub.selections.json index 89f0c36f..7316a4cd 100644 --- a/examples/simple/prefix/dub.selections.json +++ b/examples/simple/prefix/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/structs/dub.selections.json b/examples/simple/structs/dub.selections.json index 89f0c36f..7316a4cd 100644 --- a/examples/simple/structs/dub.selections.json +++ b/examples/simple/structs/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/templates/dub.selections.json b/examples/simple/templates/dub.selections.json index 89f0c36f..7316a4cd 100644 --- a/examples/simple/templates/dub.selections.json +++ b/examples/simple/templates/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/wrap_all/dub.selections.json b/examples/simple/wrap_all/dub.selections.json index 89f0c36f..7316a4cd 100644 --- a/examples/simple/wrap_all/dub.selections.json +++ b/examples/simple/wrap_all/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.12", + "monty": "0.0.13", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/pynih/contract/dub.selections.json b/pynih/contract/dub.selections.json index 58d4cf98..2ebe0bbc 100644 --- a/pynih/contract/dub.selections.json +++ b/pynih/contract/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../.."}, "mirror": "0.3.2", - "monty": "0.0.1", + "monty": "0.0.13", "unit-threaded": "1.0.4" } } From 45d7201ff7948a8139700fe1c3e42109cb1548dd Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 14:01:56 -0500 Subject: [PATCH 06/13] Fix CI on my machine --- pynih/contract/source/contract/pyclass.d | 2 +- pynih/contract/source/contract/udt.d | 4 +-- .../autowrap/pynih/python/conv/python_to_d.d | 4 +-- pynih/source/autowrap/pynih/python/cooked.d | 16 +---------- requirements.txt | 27 ++++--------------- 5 files changed, 11 insertions(+), 42 deletions(-) diff --git a/pynih/contract/source/contract/pyclass.d b/pynih/contract/source/contract/pyclass.d index 6303f874..c4146e13 100644 --- a/pynih/contract/source/contract/pyclass.d +++ b/pynih/contract/source/contract/pyclass.d @@ -79,7 +79,7 @@ package PyObject* pyclass_string_list_struct(PyObject* self, PyObject *args) { return null; } - const length = PyUnicode_GetSize(item); + const length = PyUnicode_GetLength(item); auto ptr = PyBytes_AsString(unicode); auto str = ptr is null ? null : ptr[0 .. length]; diff --git a/pynih/contract/source/contract/udt.d b/pynih/contract/source/contract/udt.d index a3d1f625..e6bd72e5 100644 --- a/pynih/contract/source/contract/udt.d +++ b/pynih/contract/source/contract/udt.d @@ -22,10 +22,10 @@ package PyObject* simple_struct_func(PyObject* self, PyObject *args) nothrow @no // either this of PyGetSetDef static PyMemberDef[3] members; members[0].name = cast(typeof(PyMemberDef.name)) &"the_int"[0]; - members[0].type = T_INT; + members[0].type = Py_T_INT; members[0].offset = MyType.i.offsetof; members[1].name = cast(typeof(PyMemberDef.name)) &"the_double"[0]; - members[1].type = T_DOUBLE; + members[1].type = Py_T_DOUBLE; members[1].offset = MyType.d.offsetof; static PyTypeObject type; diff --git a/pynih/source/autowrap/pynih/python/conv/python_to_d.d b/pynih/source/autowrap/pynih/python/conv/python_to_d.d index c2bc48a6..dd43cb8f 100644 --- a/pynih/source/autowrap/pynih/python/conv/python_to_d.d +++ b/pynih/source/autowrap/pynih/python/conv/python_to_d.d @@ -233,11 +233,11 @@ T to(T)(PyObject* value) if(isArray!T && !isSomeString!T) T to(T)(PyObject* value) if(isSomeString!T) { - import python.c: PyUnicode_GetSize, PyUnicode_Check, + import python.c: PyUnicode_GetLength, PyUnicode_Check, PyBytes_AsString, PyUnicode_AsUTF8String, Py_ssize_t; import std.conv: to; - const length = PyUnicode_GetSize(value); + const length = PyUnicode_GetLength(value); if(length == 0) return T.init; auto str = PyUnicode_AsUTF8String(value); diff --git a/pynih/source/autowrap/pynih/python/cooked.d b/pynih/source/autowrap/pynih/python/cooked.d index 21a876e1..83ee86b4 100644 --- a/pynih/source/autowrap/pynih/python/cooked.d +++ b/pynih/source/autowrap/pynih/python/cooked.d @@ -20,7 +20,7 @@ auto createModule(Module module_, alias cfunctions, alias aggregates = Aggregate static PyModuleDef moduleDef; auto pyMethodDefs = cFunctionsToPyMethodDefs!(cfunctions); - moduleDef = pyModuleDef(module_.name.ptr, null /*doc*/, -1 /*size*/, pyMethodDefs); + moduleDef = PyModuleDef(pyModuleDefHeadInit, module_.name.ptr, null /*doc*/, -1 /*size*/, pyMethodDefs); auto module_ = PyModule_Create(&moduleDef); addModuleTypes!(aggregates.Types)(module_); @@ -73,20 +73,6 @@ private PyMethodDef* cFunctionsToPyMethodDefs(alias cfunctions)() } -/** - Helper function to get around the C syntax problem with - PyModuleDef_HEAD_INIT - it doesn't compile in D. -*/ -private auto pyModuleDef(A...)(auto ref A args) { - import std.functional: forward; - - return PyModuleDef( - // the line below is a manual D version expansion of PyModuleDef_HEAD_INIT - PyModuleDef_Base(PyObject(1 /*ref count*/, null /*type*/), null /*m_init*/, 0/*m_index*/, null/*m_copy*/), - forward!args - ); -} - /** Helper function to create PyMethodDef structs. The strings are compile-time parameters to avoid passing GC-allocated memory diff --git a/requirements.txt b/requirements.txt index f5e037ac..7b352005 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,22 +1,5 @@ -attrs==21.2.0 -blessings==1.7 -bpython==0.21 -certifi==2023.7.22 -chardet==4.0.0 -curtsies==0.3.5 -cwcwidth==0.1.4 -greenlet==1.1.0 -idna==3.7 -iniconfig==1.1.1 -numpy==1.22.0 -packaging==20.9 -pluggy==0.13.1 -py==1.10.0 -Pygments==2.15.0 -pyparsing==2.4.7 -pytest==6.2.4 -pyxdg==0.27 -requests==2.32.0 -six==1.16.0 -toml==0.10.2 -urllib3==1.26.18 +iniconfig==2.0.0 +numpy==1.26.4 +packaging==24.0 +pluggy==1.5.0 +pytest==8.2.1 From f8866696693612ea1ce7cf3ad1d54b3d4a40d7df Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 14:10:08 -0500 Subject: [PATCH 07/13] Better default for PYD_LIBPYTHON --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50706b74..c9636971 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DC ?= dmd export PYTHON_LIB_DIR ?= /usr/lib export DUB_CONFIGURATION ?= env export PYD_LIBPYTHON_DIR ?= /usr/lib -export PYD_LIBPYTHON ?= python3.9 +export PYD_LIBPYTHON ?= $(shell python --version | awk '{print $$2}' | awk -F. '{print "python" $$1 "." $$2}') export PYD_D_VERSION_1 ?= Python_2_4_Or_Later export PYD_D_VERSION_2 ?= Python_2_5_Or_Later export PYD_D_VERSION_3 ?= Python_2_6_Or_Later From 0c28aa053ee909e7889905df6e48403d183b9344 Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 14:14:53 -0500 Subject: [PATCH 08/13] Update requirements.txt from a Ubuntu docker container --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 7b352005..f982921e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,7 @@ +exceptiongroup==1.2.1 iniconfig==2.0.0 numpy==1.26.4 packaging==24.0 pluggy==1.5.0 pytest==8.2.1 +tomli==2.0.1 From 9f472030ea6f91c76e372f0d04dbffaf80fa5374 Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 14:16:30 -0500 Subject: [PATCH 09/13] Drop Python 3.8 from CI --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 521870ca..ea3383e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,6 @@ jobs: #- '3.12' - '3.10' - '3.9' - - '3.8' runs-on: ${{ matrix.os }} steps: From 2ee72a5dc9edb774be80fba58606a215f3ef6a4e Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 14:18:43 -0500 Subject: [PATCH 10/13] Only Python 3.11 --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea3383e7..6a0430f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,7 @@ jobs: python-version: #- '3.12' - - '3.10' - - '3.9' + - '3.11' runs-on: ${{ matrix.os }} steps: From b65a6a21fb6653aca58c60aa685ad6b99f14a294 Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Thu, 30 May 2024 16:13:07 -0500 Subject: [PATCH 11/13] Fix Python versions less than 3.12 --- pynih/contract/source/contract/udt.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pynih/contract/source/contract/udt.d b/pynih/contract/source/contract/udt.d index e6bd72e5..a3d1f625 100644 --- a/pynih/contract/source/contract/udt.d +++ b/pynih/contract/source/contract/udt.d @@ -22,10 +22,10 @@ package PyObject* simple_struct_func(PyObject* self, PyObject *args) nothrow @no // either this of PyGetSetDef static PyMemberDef[3] members; members[0].name = cast(typeof(PyMemberDef.name)) &"the_int"[0]; - members[0].type = Py_T_INT; + members[0].type = T_INT; members[0].offset = MyType.i.offsetof; members[1].name = cast(typeof(PyMemberDef.name)) &"the_double"[0]; - members[1].type = Py_T_DOUBLE; + members[1].type = T_DOUBLE; members[1].offset = MyType.d.offsetof; static PyTypeObject type; From ab49cc194d7ed429f5ff2f459413331d685870ca Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Wed, 5 Jun 2024 16:54:58 -0500 Subject: [PATCH 12/13] Upgrade to monty 0.0.14 --- dub.selections.json | 2 +- examples/issues/dub.selections.json | 2 +- examples/numpy/dub.selections.json | 2 +- examples/phobos/std_algorithm/dub.selections.json | 2 +- examples/phobos/std_array/dub.selections.json | 2 +- examples/phobos/std_ascii/dub.selections.json | 2 +- examples/phobos/std_base64/dub.selections.json | 2 +- examples/phobos/std_bigint/dub.selections.json | 2 +- examples/phobos/std_compiler/dub.selections.json | 2 +- examples/phobos/std_complex/dub.selections.json | 2 +- examples/phobos/std_container/dub.selections.json | 2 +- examples/phobos/std_conv/dub.selections.json | 2 +- examples/phobos/std_csv/dub.selections.json | 2 +- examples/phobos/std_demangle/dub.selections.json | 2 +- examples/phobos/std_encoding/dub.selections.json | 2 +- examples/phobos/std_exception/dub.selections.json | 2 +- examples/phobos/std_format/dub.selections.json | 2 +- examples/phobos/std_functional/dub.selections.json | 2 +- examples/phobos/std_getopt/dub.selections.json | 2 +- examples/phobos/std_json/dub.selections.json | 2 +- examples/phobos/std_math/dub.selections.json | 2 +- examples/phobos/std_mathspecial/dub.selections.json | 2 +- examples/phobos/std_meta/dub.selections.json | 2 +- examples/phobos/std_mmfile/dub.selections.json | 2 +- examples/phobos/std_numeric/dub.selections.json | 2 +- examples/phobos/std_outbuffer/dub.selections.json | 2 +- examples/phobos/std_path/dub.selections.json | 2 +- examples/phobos/std_process/dub.selections.json | 2 +- examples/phobos/std_random/dub.selections.json | 2 +- examples/phobos/std_range/dub.selections.json | 2 +- examples/phobos/std_regex/dub.selections.json | 2 +- examples/phobos/std_signals/dub.selections.json | 2 +- examples/phobos/std_socket/dub.selections.json | 2 +- examples/phobos/std_stdint/dub.selections.json | 2 +- examples/phobos/std_stdio/dub.selections.json | 2 +- examples/phobos/std_string/dub.selections.json | 2 +- examples/phobos/std_system/dub.selections.json | 2 +- examples/phobos/std_traits/dub.selections.json | 2 +- examples/phobos/std_typecons/dub.selections.json | 2 +- examples/phobos/std_typetuple/dub.selections.json | 2 +- examples/phobos/std_uri/dub.selections.json | 2 +- examples/phobos/std_utf/dub.selections.json | 2 +- examples/phobos/std_uuid/dub.selections.json | 2 +- examples/phobos/std_variant/dub.selections.json | 2 +- examples/phobos/std_windows/dub.selections.json | 2 +- examples/phobos/std_zlib/dub.selections.json | 2 +- examples/pyd/dub.selections.json | 2 +- examples/simple/adder/dub.selections.json | 2 +- examples/simple/api/dub.selections.json | 2 +- examples/simple/dub.selections.json | 2 +- examples/simple/prefix/dub.selections.json | 2 +- examples/simple/structs/dub.selections.json | 2 +- examples/simple/templates/dub.selections.json | 2 +- examples/simple/wrap_all/dub.selections.json | 2 +- pynih/contract/dub.selections.json | 2 +- pynih/contract/source/contract/scalars.d | 2 +- pynih/contract/source/contract/udt.d | 8 ++++---- pynih/source/autowrap/pynih/python/conv/python_to_d.d | 4 ++-- pynih/source/autowrap/pynih/python/type.d | 6 +++--- 59 files changed, 65 insertions(+), 65 deletions(-) diff --git a/dub.selections.json b/dub.selections.json index 0b43a7a2..bebf27f6 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -2,7 +2,7 @@ "fileVersion": 1, "versions": { "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "unit-threaded": "2.2.0" } } diff --git a/examples/issues/dub.selections.json b/examples/issues/dub.selections.json index 2488ffcd..f59d7f9e 100644 --- a/examples/issues/dub.selections.json +++ b/examples/issues/dub.selections.json @@ -8,7 +8,7 @@ "memutils": "1.0.10", "mir-linux-kernel": "1.0.1", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "openssl": "3.3.3", "openssl-static": "1.0.3+3.0.8", "pyd": "0.14.4", diff --git a/examples/numpy/dub.selections.json b/examples/numpy/dub.selections.json index a1dce0dc..67621982 100644 --- a/examples/numpy/dub.selections.json +++ b/examples/numpy/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../"}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_algorithm/dub.selections.json b/examples/phobos/std_algorithm/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_algorithm/dub.selections.json +++ b/examples/phobos/std_algorithm/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_array/dub.selections.json b/examples/phobos/std_array/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_array/dub.selections.json +++ b/examples/phobos/std_array/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_ascii/dub.selections.json b/examples/phobos/std_ascii/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_ascii/dub.selections.json +++ b/examples/phobos/std_ascii/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_base64/dub.selections.json b/examples/phobos/std_base64/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_base64/dub.selections.json +++ b/examples/phobos/std_base64/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_bigint/dub.selections.json b/examples/phobos/std_bigint/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_bigint/dub.selections.json +++ b/examples/phobos/std_bigint/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_compiler/dub.selections.json b/examples/phobos/std_compiler/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_compiler/dub.selections.json +++ b/examples/phobos/std_compiler/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_complex/dub.selections.json b/examples/phobos/std_complex/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_complex/dub.selections.json +++ b/examples/phobos/std_complex/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_container/dub.selections.json b/examples/phobos/std_container/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_container/dub.selections.json +++ b/examples/phobos/std_container/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_conv/dub.selections.json b/examples/phobos/std_conv/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_conv/dub.selections.json +++ b/examples/phobos/std_conv/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_csv/dub.selections.json b/examples/phobos/std_csv/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_csv/dub.selections.json +++ b/examples/phobos/std_csv/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_demangle/dub.selections.json b/examples/phobos/std_demangle/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_demangle/dub.selections.json +++ b/examples/phobos/std_demangle/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_encoding/dub.selections.json b/examples/phobos/std_encoding/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_encoding/dub.selections.json +++ b/examples/phobos/std_encoding/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_exception/dub.selections.json b/examples/phobos/std_exception/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_exception/dub.selections.json +++ b/examples/phobos/std_exception/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_format/dub.selections.json b/examples/phobos/std_format/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_format/dub.selections.json +++ b/examples/phobos/std_format/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_functional/dub.selections.json b/examples/phobos/std_functional/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_functional/dub.selections.json +++ b/examples/phobos/std_functional/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_getopt/dub.selections.json b/examples/phobos/std_getopt/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_getopt/dub.selections.json +++ b/examples/phobos/std_getopt/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_json/dub.selections.json b/examples/phobos/std_json/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_json/dub.selections.json +++ b/examples/phobos/std_json/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_math/dub.selections.json b/examples/phobos/std_math/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_math/dub.selections.json +++ b/examples/phobos/std_math/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_mathspecial/dub.selections.json b/examples/phobos/std_mathspecial/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_mathspecial/dub.selections.json +++ b/examples/phobos/std_mathspecial/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_meta/dub.selections.json b/examples/phobos/std_meta/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_meta/dub.selections.json +++ b/examples/phobos/std_meta/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_mmfile/dub.selections.json b/examples/phobos/std_mmfile/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_mmfile/dub.selections.json +++ b/examples/phobos/std_mmfile/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_numeric/dub.selections.json b/examples/phobos/std_numeric/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_numeric/dub.selections.json +++ b/examples/phobos/std_numeric/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_outbuffer/dub.selections.json b/examples/phobos/std_outbuffer/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_outbuffer/dub.selections.json +++ b/examples/phobos/std_outbuffer/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_path/dub.selections.json b/examples/phobos/std_path/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_path/dub.selections.json +++ b/examples/phobos/std_path/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_process/dub.selections.json b/examples/phobos/std_process/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_process/dub.selections.json +++ b/examples/phobos/std_process/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_random/dub.selections.json b/examples/phobos/std_random/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_random/dub.selections.json +++ b/examples/phobos/std_random/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_range/dub.selections.json b/examples/phobos/std_range/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_range/dub.selections.json +++ b/examples/phobos/std_range/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_regex/dub.selections.json b/examples/phobos/std_regex/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_regex/dub.selections.json +++ b/examples/phobos/std_regex/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_signals/dub.selections.json b/examples/phobos/std_signals/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_signals/dub.selections.json +++ b/examples/phobos/std_signals/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_socket/dub.selections.json b/examples/phobos/std_socket/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_socket/dub.selections.json +++ b/examples/phobos/std_socket/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_stdint/dub.selections.json b/examples/phobos/std_stdint/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_stdint/dub.selections.json +++ b/examples/phobos/std_stdint/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_stdio/dub.selections.json b/examples/phobos/std_stdio/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_stdio/dub.selections.json +++ b/examples/phobos/std_stdio/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_string/dub.selections.json b/examples/phobos/std_string/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_string/dub.selections.json +++ b/examples/phobos/std_string/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_system/dub.selections.json b/examples/phobos/std_system/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_system/dub.selections.json +++ b/examples/phobos/std_system/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_traits/dub.selections.json b/examples/phobos/std_traits/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_traits/dub.selections.json +++ b/examples/phobos/std_traits/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_typecons/dub.selections.json b/examples/phobos/std_typecons/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_typecons/dub.selections.json +++ b/examples/phobos/std_typecons/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_typetuple/dub.selections.json b/examples/phobos/std_typetuple/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_typetuple/dub.selections.json +++ b/examples/phobos/std_typetuple/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_uri/dub.selections.json b/examples/phobos/std_uri/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_uri/dub.selections.json +++ b/examples/phobos/std_uri/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_utf/dub.selections.json b/examples/phobos/std_utf/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_utf/dub.selections.json +++ b/examples/phobos/std_utf/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_uuid/dub.selections.json b/examples/phobos/std_uuid/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_uuid/dub.selections.json +++ b/examples/phobos/std_uuid/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_variant/dub.selections.json b/examples/phobos/std_variant/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_variant/dub.selections.json +++ b/examples/phobos/std_variant/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_windows/dub.selections.json b/examples/phobos/std_windows/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_windows/dub.selections.json +++ b/examples/phobos/std_windows/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/phobos/std_zlib/dub.selections.json b/examples/phobos/std_zlib/dub.selections.json index 4b65ae71..79e8afed 100644 --- a/examples/phobos/std_zlib/dub.selections.json +++ b/examples/phobos/std_zlib/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../.."}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/pyd/dub.selections.json b/examples/pyd/dub.selections.json index a1dce0dc..67621982 100644 --- a/examples/pyd/dub.selections.json +++ b/examples/pyd/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../../"}, "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "pyd": "0.14.4", "unit-threaded": "2.1.9" } diff --git a/examples/simple/adder/dub.selections.json b/examples/simple/adder/dub.selections.json index 7316a4cd..fd2ef9d9 100644 --- a/examples/simple/adder/dub.selections.json +++ b/examples/simple/adder/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/api/dub.selections.json b/examples/simple/api/dub.selections.json index 7316a4cd..fd2ef9d9 100644 --- a/examples/simple/api/dub.selections.json +++ b/examples/simple/api/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/dub.selections.json b/examples/simple/dub.selections.json index 322cb434..b1bcf335 100644 --- a/examples/simple/dub.selections.json +++ b/examples/simple/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/prefix/dub.selections.json b/examples/simple/prefix/dub.selections.json index 7316a4cd..fd2ef9d9 100644 --- a/examples/simple/prefix/dub.selections.json +++ b/examples/simple/prefix/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/structs/dub.selections.json b/examples/simple/structs/dub.selections.json index 7316a4cd..fd2ef9d9 100644 --- a/examples/simple/structs/dub.selections.json +++ b/examples/simple/structs/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/templates/dub.selections.json b/examples/simple/templates/dub.selections.json index 7316a4cd..fd2ef9d9 100644 --- a/examples/simple/templates/dub.selections.json +++ b/examples/simple/templates/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/examples/simple/wrap_all/dub.selections.json b/examples/simple/wrap_all/dub.selections.json index 7316a4cd..fd2ef9d9 100644 --- a/examples/simple/wrap_all/dub.selections.json +++ b/examples/simple/wrap_all/dub.selections.json @@ -6,7 +6,7 @@ "excel-d": "0.5.12", "localimport": "1.3.0", "mirror": "0.3.3", - "monty": "0.0.13", + "monty": "0.0.14", "nogc": "0.5.1", "pyd": "0.14.4", "scriptlike": "0.10.3", diff --git a/pynih/contract/dub.selections.json b/pynih/contract/dub.selections.json index 2ebe0bbc..b18541bc 100644 --- a/pynih/contract/dub.selections.json +++ b/pynih/contract/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "autowrap": {"path":"../.."}, "mirror": "0.3.2", - "monty": "0.0.13", + "monty": "0.0.14", "unit-threaded": "1.0.4" } } diff --git a/pynih/contract/source/contract/scalars.d b/pynih/contract/source/contract/scalars.d index 8fbe343f..2c18d1da 100644 --- a/pynih/contract/source/contract/scalars.d +++ b/pynih/contract/source/contract/scalars.d @@ -37,7 +37,7 @@ package PyObject* one_bool_param_to_not(PyObject* self, PyObject *args) nothrow if(arg is null) return null; if(!PyBool_Check(arg)) return null; - const dArg = arg == pyTrue; + const dArg = arg == Py_True; return PyBool_FromLong(!dArg); } diff --git a/pynih/contract/source/contract/udt.d b/pynih/contract/source/contract/udt.d index a3d1f625..28b60dcf 100644 --- a/pynih/contract/source/contract/udt.d +++ b/pynih/contract/source/contract/udt.d @@ -34,7 +34,7 @@ package PyObject* simple_struct_func(PyObject* self, PyObject *args) nothrow @no type.tp_name = &"MyType"[0]; type.tp_basicsize = MyType.sizeof; type.tp_members = &members[0]; - type.tp_flags = TypeFlags.Default; + type.tp_flags = Py_TPFLAGS_DEFAULT; if(PyType_Ready(&type) < 0) { PyErr_SetString(PyExc_TypeError, &"not ready"[0]); @@ -87,7 +87,7 @@ package PyObject* twice_struct_func(PyObject* self, PyObject *args) nothrow @nog type.tp_name = &"Twice"[0]; type.tp_basicsize = Twice.sizeof; type.tp_methods = &methods[0]; - type.tp_flags = TypeFlags.Default; + type.tp_flags = Py_TPFLAGS_DEFAULT; if(PyType_Ready(&type) < 0) { PyErr_SetString(PyExc_TypeError, &"not ready"[0]); @@ -224,7 +224,7 @@ package PyObject* struct_getset(PyObject* self, PyObject *args) nothrow @nogc { outerType.tp_name = &"StructGetSet"[0]; outerType.tp_basicsize = StructGetSet.sizeof; - outerType.tp_flags = TypeFlags.Default; + outerType.tp_flags = Py_TPFLAGS_DEFAULT; outerType.tp_repr = outerType.tp_str = &reprOuter; outerType.tp_getset = &outerGetSets[0]; @@ -242,7 +242,7 @@ package PyObject* struct_getset(PyObject* self, PyObject *args) nothrow @nogc { innerType.tp_name = &"StructGetSet.Inner"[0]; innerType.tp_basicsize = StructGetSet.Inner.sizeof; - innerType.tp_flags = TypeFlags.Default; + innerType.tp_flags = Py_TPFLAGS_DEFAULT; innerType.tp_repr = innerType.tp_str = &reprInner; innerType.tp_getset = &innerGetSets[0]; diff --git a/pynih/source/autowrap/pynih/python/conv/python_to_d.d b/pynih/source/autowrap/pynih/python/conv/python_to_d.d index dd43cb8f..27dddbaa 100644 --- a/pynih/source/autowrap/pynih/python/conv/python_to_d.d +++ b/pynih/source/autowrap/pynih/python/conv/python_to_d.d @@ -253,8 +253,8 @@ T to(T)(PyObject* value) if(isSomeString!T) { T to(T)(PyObject* value) if(is(Unqual!T == bool)) { - import python.c: pyTrue; - return value is pyTrue; + import python.c: Py_True; + return value is Py_True; } diff --git a/pynih/source/autowrap/pynih/python/type.d b/pynih/source/autowrap/pynih/python/type.d index c053b741..48e12cea 100644 --- a/pynih/source/autowrap/pynih/python/type.d +++ b/pynih/source/autowrap/pynih/python/type.d @@ -63,7 +63,7 @@ struct PythonType(T) { private static void initialise() nothrow { import autowrap.common: AlwaysTry; - import python.c: PyType_GenericNew, PyType_Ready, TypeFlags, + import python.c: PyType_GenericNew, PyType_Ready, Py_TPFLAGS_DEFAULT, Py_TPFLAGS_BASETYPE, PyErr_SetString, PyExc_TypeError, PyNumberMethods, PySequenceMethods; import mirror.meta.traits: UnaryOperators, BinaryOperators, AssignOperators, functionName; @@ -76,9 +76,9 @@ struct PythonType(T) { // This allows tp_name to do its usual Python job and allows us to // construct a D class from its runtime Python type. _pyType.tp_name = fullyQualifiedName!(Unqual!T).ptr; - _pyType.tp_flags = TypeFlags.Default; + _pyType.tp_flags = Py_TPFLAGS_DEFAULT; static if(is(T == class) || is(T == interface)) - _pyType.tp_flags |= TypeFlags.BaseType; + _pyType.tp_flags |= Py_TPFLAGS_BASETYPE; // FIXME: types are that user aggregates *and* callables static if(isUserAggregate!T) { From ef2d8fb09774eeda2a6ed8c20536b02b702d66b8 Mon Sep 17 00:00:00 2001 From: Atila Neves Date: Wed, 5 Jun 2024 17:41:51 -0500 Subject: [PATCH 13/13] Python 3.10, 3.11, and 3.12 in CI --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a0430f8..7a605fd7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,9 @@ jobs: - ldc-1.30.0 python-version: - #- '3.12' + - '3.12' - '3.11' + - '3.10' runs-on: ${{ matrix.os }} steps: