git: 272c9ebaddff - main - databases/{,py-}duckdb: update 1.2.2 → 1.3.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 17 Jun 2025 09:48:38 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=272c9ebaddff27d7a1b46d50521413c8aceaa81c

commit 272c9ebaddff27d7a1b46d50521413c8aceaa81c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-06-17 09:32:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-06-17 09:48:33 +0000

    databases/{,py-}duckdb: update 1.2.2 → 1.3.1
    
    Reported by:    portscout
---
 databases/duckdb/Makefile    | 20 ++++++++++---------
 databases/duckdb/distinfo    | 34 ++++++++++++++++----------------
 databases/duckdb/pkg-plist   | 47 ++++++++++++++++++++++++++++++++++++++------
 databases/py-duckdb/Makefile |  4 ++--
 databases/py-duckdb/distinfo |  6 +++---
 5 files changed, 74 insertions(+), 37 deletions(-)

diff --git a/databases/duckdb/Makefile b/databases/duckdb/Makefile
index ff29cee6265d..ef0bb89776aa 100644
--- a/databases/duckdb/Makefile
+++ b/databases/duckdb/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	duckdb
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.2.2
+DISTVERSION=	1.3.1
 CATEGORIES=	databases
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -14,14 +14,16 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		cmake:testing compiler:c++11-lang ssl
 USE_GITHUB=	yes
 GH_TUPLE=	\
-		duckdb:duckdb-excel:b724b308b2b3a3c5644272cc84ec140fbcc7617d:excel/extension/excel \
+		duckdb:duckdb-delta:6d626173e9efa6615c25eb08d979d1372100d5db:excel/extension/delta \
+		duckdb:duckdb-encodings:dc3c206e237b517abcdd95ebe40d02dcd0f71084:excel/extension/encodings \
+		duckdb:duckdb-excel:7e97933214d0c7de2315668ec68589ae85651afb:excel/extension/excel \
 		duckdb:duckdb-fts:3aa6a180b9c101d78070f5f7214c27552bb091c8:fts/extension/fts \
-		duckdb:duckdb-httpfs:c22532453e9fab8404f91729708d9f35e23d323d:httpfs/extension/httpfs \
-		duckdb:duckdb-inet:a8b361ab5d43f6390d7cb48c9a9f0638e9581cf9:inet/extension/inet \
-		duckdb:duckdb-spatial:3bb37f8d86f25c522165ffb64520396eb0cdf111:spatial/extension/spatial \
-		duckdb:duckdb-sqlite:66a5fa2448398379dc21c18308e3b95d42d84015:sqlite/extension/sqlite_scanner \
-		duckdb:duckdb-sqlsmith:e1eb0ae02a258f176d6e06b84c0d6c7a09c6b4da:sqlsmith/extension/sqlsmith \
-		duckdb:duckdb-vss:ba199a7215b75e83821ece13f6b921ccfcebd6ac:vss/extension/vss
+		duckdb:duckdb-httpfs:39779f89b16d0a35f04d3cfaf868e6366a2102f0:httpfs/extension/httpfs \
+		duckdb:duckdb-inet:eb2455703ca0665e69b9fd20fd1d8816c547cb49:inet/extension/inet \
+		duckdb:duckdb-spatial:95ed129e22bf9b14f64c8d0bd8fd55f9ca0a9e61:spatial/extension/spatial \
+		duckdb:duckdb-sqlite:ed38d770e0bbf1d5a6660ec1887cc5abef65be15:sqlite/extension/sqlite_scanner \
+		duckdb:duckdb-sqlsmith:06e8da8a95710c996fcd62f385962ccd36a363f6:sqlsmith/extension/sqlsmith \
+		duckdb:duckdb-vss:ccfa7c9c1f1f540fa7f433a93d32bed772aa44f4:vss/extension/vss
 # the list of out-of-tree extensions is here: .github/config/out_of_tree_extensions.cmake
 
 CXXFLAGS+=	-I${WRKSRC}/extension/inet/src/include 
@@ -72,6 +74,6 @@ post-extract: # remove the jemalloc extension directory just in case
 post-test: # run tests
 	@cd ${TEST_WRKSRC} && test/unittest
 
-# tests as of 1.2.2: All tests passed (48 skipped tests, 401085 assertions in 3613 test cases)
+# tests as of 1.3.1: All tests passed (50 skipped tests, 375234 assertions in 3785 test cases)
 
 .include <bsd.port.mk>
diff --git a/databases/duckdb/distinfo b/databases/duckdb/distinfo
index c2ccd2cfc93b..0bdc57cf691b 100644
--- a/databases/duckdb/distinfo
+++ b/databases/duckdb/distinfo
@@ -1,19 +1,19 @@
-TIMESTAMP = 1744173788
-SHA256 (duckdb-duckdb-v1.2.2_GH0.tar.gz) = 99387810537dd3f90454e5620ab624405d7f2e0d997aa1e3999316b7969592ed
-SIZE (duckdb-duckdb-v1.2.2_GH0.tar.gz) = 90355674
-SHA256 (duckdb-duckdb-excel-b724b308b2b3a3c5644272cc84ec140fbcc7617d_GH0.tar.gz) = b95712311e51b79f4de6dd8fdee3ffb578886d85b281a2d15b810144fa504098
-SIZE (duckdb-duckdb-excel-b724b308b2b3a3c5644272cc84ec140fbcc7617d_GH0.tar.gz) = 231715
+TIMESTAMP = 1750132384
+SHA256 (duckdb-duckdb-v1.3.1_GH0.tar.gz) = 6735519dc4a2deba55f1c348d5c5299fe204224a830c4b2ab1d323009f1ba4ef
+SIZE (duckdb-duckdb-v1.3.1_GH0.tar.gz) = 93460506
+SHA256 (duckdb-duckdb-excel-7e97933214d0c7de2315668ec68589ae85651afb_GH0.tar.gz) = f0260ed531d5526e4d0b723e7382818a5a530d6d3d3d262820a93177c32a5e9f
+SIZE (duckdb-duckdb-excel-7e97933214d0c7de2315668ec68589ae85651afb_GH0.tar.gz) = 231730
 SHA256 (duckdb-duckdb-fts-3aa6a180b9c101d78070f5f7214c27552bb091c8_GH0.tar.gz) = 3cc83386a0b9e367b743cc6d4c5dbea233439077cae2a92c1ff126e40abb2912
 SIZE (duckdb-duckdb-fts-3aa6a180b9c101d78070f5f7214c27552bb091c8_GH0.tar.gz) = 16360
-SHA256 (duckdb-duckdb-httpfs-c22532453e9fab8404f91729708d9f35e23d323d_GH0.tar.gz) = 75551d59fdd6f4bdb2e631d11a28029da02e3f93d82a35951266aeb24ad9fe24
-SIZE (duckdb-duckdb-httpfs-c22532453e9fab8404f91729708d9f35e23d323d_GH0.tar.gz) = 49324
-SHA256 (duckdb-duckdb-inet-a8b361ab5d43f6390d7cb48c9a9f0638e9581cf9_GH0.tar.gz) = 9901824223c8e2c43915bfda6f67d963081399d672084195c98c8a02bf034f26
-SIZE (duckdb-duckdb-inet-a8b361ab5d43f6390d7cb48c9a9f0638e9581cf9_GH0.tar.gz) = 63902
-SHA256 (duckdb-duckdb-spatial-3bb37f8d86f25c522165ffb64520396eb0cdf111_GH0.tar.gz) = ac53596affb45a6ddbf4ef4fd6e9ba2a4df176cf8ad015abbeb8a65c24e792fc
-SIZE (duckdb-duckdb-spatial-3bb37f8d86f25c522165ffb64520396eb0cdf111_GH0.tar.gz) = 68752054
-SHA256 (duckdb-duckdb-sqlite-66a5fa2448398379dc21c18308e3b95d42d84015_GH0.tar.gz) = 9141c880b9800f0d06e66ede79efe585fb3d207855feda23213b2e442a939a57
-SIZE (duckdb-duckdb-sqlite-66a5fa2448398379dc21c18308e3b95d42d84015_GH0.tar.gz) = 4663181
-SHA256 (duckdb-duckdb-sqlsmith-e1eb0ae02a258f176d6e06b84c0d6c7a09c6b4da_GH0.tar.gz) = 542d9ac48d7691397c3602d0e4b943c3b6d0062b0a39bcb378b782ea13d8a915
-SIZE (duckdb-duckdb-sqlsmith-e1eb0ae02a258f176d6e06b84c0d6c7a09c6b4da_GH0.tar.gz) = 48231
-SHA256 (duckdb-duckdb-vss-ba199a7215b75e83821ece13f6b921ccfcebd6ac_GH0.tar.gz) = 7e08ffee2344dd72820d6208d750bdcca46b14f252c73abb21a6c811e33166a5
-SIZE (duckdb-duckdb-vss-ba199a7215b75e83821ece13f6b921ccfcebd6ac_GH0.tar.gz) = 160281
+SHA256 (duckdb-duckdb-httpfs-39779f89b16d0a35f04d3cfaf868e6366a2102f0_GH0.tar.gz) = b90aff0ca62209dee33e4fe8652164798cdc086cefd73973f02e7a64c2d37df6
+SIZE (duckdb-duckdb-httpfs-39779f89b16d0a35f04d3cfaf868e6366a2102f0_GH0.tar.gz) = 49268
+SHA256 (duckdb-duckdb-inet-eb2455703ca0665e69b9fd20fd1d8816c547cb49_GH0.tar.gz) = 4876ef06f8686360a14fa90ae72484208e56d084d298a674684504ae4469dadc
+SIZE (duckdb-duckdb-inet-eb2455703ca0665e69b9fd20fd1d8816c547cb49_GH0.tar.gz) = 63919
+SHA256 (duckdb-duckdb-spatial-95ed129e22bf9b14f64c8d0bd8fd55f9ca0a9e61_GH0.tar.gz) = de44d1a888336883192805393eaeb3c2a7807794093864de892d6033ea3cd7a8
+SIZE (duckdb-duckdb-spatial-95ed129e22bf9b14f64c8d0bd8fd55f9ca0a9e61_GH0.tar.gz) = 68783794
+SHA256 (duckdb-duckdb-sqlite-ed38d770e0bbf1d5a6660ec1887cc5abef65be15_GH0.tar.gz) = c5152ea839e6b330fbdbf3bb2516958514a9a5cd605b0d07e31aee395796a461
+SIZE (duckdb-duckdb-sqlite-ed38d770e0bbf1d5a6660ec1887cc5abef65be15_GH0.tar.gz) = 4663242
+SHA256 (duckdb-duckdb-sqlsmith-06e8da8a95710c996fcd62f385962ccd36a363f6_GH0.tar.gz) = d355c1c5dff5128b682e42807ee4de39d7fd80a29fdd7e96036ee1c684015cd4
+SIZE (duckdb-duckdb-sqlsmith-06e8da8a95710c996fcd62f385962ccd36a363f6_GH0.tar.gz) = 48815
+SHA256 (duckdb-duckdb-vss-ccfa7c9c1f1f540fa7f433a93d32bed772aa44f4_GH0.tar.gz) = e5514f82fee187f55a261b1864e5ce0c77291d2c7bc2a475733d4c66ee7cc084
+SIZE (duckdb-duckdb-vss-ccfa7c9c1f1f540fa7f433a93d32bed772aa44f4_GH0.tar.gz) = 160302
diff --git a/databases/duckdb/pkg-plist b/databases/duckdb/pkg-plist
index e7ca60f9edc3..0599f78630e0 100644
--- a/databases/duckdb/pkg-plist
+++ b/databases/duckdb/pkg-plist
@@ -45,6 +45,7 @@ include/duckdb/catalog/dependency_catalog_set.hpp
 include/duckdb/catalog/dependency_list.hpp
 include/duckdb/catalog/dependency_manager.hpp
 include/duckdb/catalog/duck_catalog.hpp
+include/duckdb/catalog/entry_lookup_info.hpp
 include/duckdb/catalog/similar_catalog_entry.hpp
 include/duckdb/catalog/standard_entry.hpp
 include/duckdb/common/adbc/adbc-init.hpp
@@ -97,6 +98,7 @@ include/duckdb/common/checksum.hpp
 include/duckdb/common/chrono.hpp
 include/duckdb/common/column_index.hpp
 include/duckdb/common/common.hpp
+include/duckdb/common/complex_json.hpp
 include/duckdb/common/compressed_file_system.hpp
 include/duckdb/common/constants.hpp
 include/duckdb/common/crypto/md5.hpp
@@ -117,6 +119,7 @@ include/duckdb/common/enums/copy_overwrite_mode.hpp
 include/duckdb/common/enums/cte_materialize.hpp
 include/duckdb/common/enums/date_part_specifier.hpp
 include/duckdb/common/enums/debug_initialize.hpp
+include/duckdb/common/enums/debug_vector_verification.hpp
 include/duckdb/common/enums/destroy_buffer_upon.hpp
 include/duckdb/common/enums/explain_format.hpp
 include/duckdb/common/enums/expression_type.hpp
@@ -124,6 +127,7 @@ include/duckdb/common/enums/file_compression_type.hpp
 include/duckdb/common/enums/file_glob_options.hpp
 include/duckdb/common/enums/filter_propagate_result.hpp
 include/duckdb/common/enums/function_errors.hpp
+include/duckdb/common/enums/http_status_code.hpp
 include/duckdb/common/enums/index_constraint_type.hpp
 include/duckdb/common/enums/join_type.hpp
 include/duckdb/common/enums/joinref_type.hpp
@@ -140,6 +144,7 @@ include/duckdb/common/enums/output_type.hpp
 include/duckdb/common/enums/pending_execution_result.hpp
 include/duckdb/common/enums/physical_operator_type.hpp
 include/duckdb/common/enums/prepared_statement_mode.hpp
+include/duckdb/common/enums/preserve_order.hpp
 include/duckdb/common/enums/profiler_format.hpp
 include/duckdb/common/enums/quantile_enum.hpp
 include/duckdb/common/enums/relation_type.hpp
@@ -193,12 +198,19 @@ include/duckdb/common/list.hpp
 include/duckdb/common/local_file_system.hpp
 include/duckdb/common/map.hpp
 include/duckdb/common/memory_safety.hpp
-include/duckdb/common/multi_file_list.hpp
-include/duckdb/common/multi_file_reader.hpp
-include/duckdb/common/multi_file_reader_options.hpp
+include/duckdb/common/multi_file/base_file_reader.hpp
+include/duckdb/common/multi_file/multi_file_column_mapper.hpp
+include/duckdb/common/multi_file/multi_file_data.hpp
+include/duckdb/common/multi_file/multi_file_function.hpp
+include/duckdb/common/multi_file/multi_file_list.hpp
+include/duckdb/common/multi_file/multi_file_options.hpp
+include/duckdb/common/multi_file/multi_file_reader.hpp
+include/duckdb/common/multi_file/multi_file_states.hpp
+include/duckdb/common/multi_file/union_by_name.hpp
 include/duckdb/common/mutex.hpp
 include/duckdb/common/named_parameter_map.hpp
 include/duckdb/common/numeric_utils.hpp
+include/duckdb/common/open_file_info.hpp
 include/duckdb/common/opener_file_system.hpp
 include/duckdb/common/operator/abs.hpp
 include/duckdb/common/operator/add.hpp
@@ -223,6 +235,7 @@ include/duckdb/common/pair.hpp
 include/duckdb/common/perfect_map_set.hpp
 include/duckdb/common/pipe_file_system.hpp
 include/duckdb/common/platform.hpp
+include/duckdb/common/primitive_dictionary.hpp
 include/duckdb/common/printer.hpp
 include/duckdb/common/profiler.hpp
 include/duckdb/common/progress_bar/display/terminal_progress_bar_display.hpp
@@ -250,6 +263,7 @@ include/duckdb/common/serializer/serialization_traits.hpp
 include/duckdb/common/serializer/serializer.hpp
 include/duckdb/common/serializer/write_stream.hpp
 include/duckdb/common/set.hpp
+include/duckdb/common/shadow_forbidden_functions.hpp
 include/duckdb/common/shared_ptr.hpp
 include/duckdb/common/shared_ptr_ipp.hpp
 include/duckdb/common/sort/comparators.hpp
@@ -264,6 +278,7 @@ include/duckdb/common/string.hpp
 include/duckdb/common/string_map_set.hpp
 include/duckdb/common/string_util.hpp
 include/duckdb/common/swap.hpp
+include/duckdb/common/table_column.hpp
 include/duckdb/common/thread.hpp
 include/duckdb/common/to_string.hpp
 include/duckdb/common/tree_renderer.hpp
@@ -329,7 +344,6 @@ include/duckdb/common/types/vector_buffer.hpp
 include/duckdb/common/types/vector_cache.hpp
 include/duckdb/common/uhugeint.hpp
 include/duckdb/common/unicode_bar.hpp
-include/duckdb/common/union_by_name.hpp
 include/duckdb/common/unique_ptr.hpp
 include/duckdb/common/unordered_map.hpp
 include/duckdb/common/unordered_set.hpp
@@ -362,6 +376,9 @@ include/duckdb/execution/expression_executor_state.hpp
 include/duckdb/execution/ht_entry.hpp
 include/duckdb/execution/index/art/art.hpp
 include/duckdb/execution/index/art/art_key.hpp
+include/duckdb/execution/index/art/art_merger.hpp
+include/duckdb/execution/index/art/art_operator.hpp
+include/duckdb/execution/index/art/art_scanner.hpp
 include/duckdb/execution/index/art/base_leaf.hpp
 include/duckdb/execution/index/art/base_node.hpp
 include/duckdb/execution/index/art/iterator.hpp
@@ -399,6 +416,7 @@ include/duckdb/execution/operator/csv_scanner/csv_casting.hpp
 include/duckdb/execution/operator/csv_scanner/csv_error.hpp
 include/duckdb/execution/operator/csv_scanner/csv_file_handle.hpp
 include/duckdb/execution/operator/csv_scanner/csv_file_scanner.hpp
+include/duckdb/execution/operator/csv_scanner/csv_multi_file_info.hpp
 include/duckdb/execution/operator/csv_scanner/csv_option.hpp
 include/duckdb/execution/operator/csv_scanner/csv_reader_options.hpp
 include/duckdb/execution/operator/csv_scanner/csv_schema.hpp
@@ -409,8 +427,8 @@ include/duckdb/execution/operator/csv_scanner/csv_validator.hpp
 include/duckdb/execution/operator/csv_scanner/encode/csv_encoder.hpp
 include/duckdb/execution/operator/csv_scanner/global_csv_state.hpp
 include/duckdb/execution/operator/csv_scanner/header_value.hpp
-include/duckdb/execution/operator/csv_scanner/quote_rules.hpp
 include/duckdb/execution/operator/csv_scanner/scanner_boundary.hpp
+include/duckdb/execution/operator/csv_scanner/set_columns.hpp
 include/duckdb/execution/operator/csv_scanner/skip_scanner.hpp
 include/duckdb/execution/operator/csv_scanner/sniffer/csv_sniffer.hpp
 include/duckdb/execution/operator/csv_scanner/sniffer/sniff_result.hpp
@@ -513,6 +531,7 @@ include/duckdb/function/built_in_functions.hpp
 include/duckdb/function/cast/bound_cast_data.hpp
 include/duckdb/function/cast/cast_function_set.hpp
 include/duckdb/function/cast/default_casts.hpp
+include/duckdb/function/cast/nested_to_varchar_cast.hpp
 include/duckdb/function/cast/vector_cast_helpers.hpp
 include/duckdb/function/cast_rules.hpp
 include/duckdb/function/compression/compression.hpp
@@ -588,9 +607,10 @@ include/duckdb/function/window/window_segment_tree.hpp
 include/duckdb/function/window/window_shared_expressions.hpp
 include/duckdb/function/window/window_token_tree.hpp
 include/duckdb/function/window/window_value_function.hpp
-include/duckdb/logging/http_logger.hpp
+include/duckdb/logging/file_system_logger.hpp
 include/duckdb/logging/log_manager.hpp
 include/duckdb/logging/log_storage.hpp
+include/duckdb/logging/log_type.hpp
 include/duckdb/logging/logger.hpp
 include/duckdb/logging/logging.hpp
 include/duckdb/main/appender.hpp
@@ -739,6 +759,9 @@ include/duckdb/optimizer/statistics_propagator.hpp
 include/duckdb/optimizer/sum_rewriter.hpp
 include/duckdb/optimizer/topn_optimizer.hpp
 include/duckdb/optimizer/unnest_rewriter.hpp
+include/duckdb/original/std/locale.hpp
+include/duckdb/original/std/memory.hpp
+include/duckdb/original/std/sstream.hpp
 include/duckdb/parallel/base_pipeline_event.hpp
 include/duckdb/parallel/concurrentqueue.hpp
 include/duckdb/parallel/event.hpp
@@ -874,6 +897,7 @@ include/duckdb/parser/statement/update_extensions_statement.hpp
 include/duckdb/parser/statement/update_statement.hpp
 include/duckdb/parser/statement/vacuum_statement.hpp
 include/duckdb/parser/tableref.hpp
+include/duckdb/parser/tableref/at_clause.hpp
 include/duckdb/parser/tableref/basetableref.hpp
 include/duckdb/parser/tableref/column_data_ref.hpp
 include/duckdb/parser/tableref/delimgetref.hpp
@@ -953,7 +977,9 @@ include/duckdb/planner/extension_callback.hpp
 include/duckdb/planner/filter/conjunction_filter.hpp
 include/duckdb/planner/filter/constant_filter.hpp
 include/duckdb/planner/filter/dynamic_filter.hpp
+include/duckdb/planner/filter/expression_filter.hpp
 include/duckdb/planner/filter/in_filter.hpp
+include/duckdb/planner/filter/list.hpp
 include/duckdb/planner/filter/null_filter.hpp
 include/duckdb/planner/filter/optional_filter.hpp
 include/duckdb/planner/filter/struct_filter.hpp
@@ -973,6 +999,7 @@ include/duckdb/planner/operator/logical_create_index.hpp
 include/duckdb/planner/operator/logical_create_secret.hpp
 include/duckdb/planner/operator/logical_create_table.hpp
 include/duckdb/planner/operator/logical_cross_product.hpp
+include/duckdb/planner/operator/logical_cte.hpp
 include/duckdb/planner/operator/logical_cteref.hpp
 include/duckdb/planner/operator/logical_delete.hpp
 include/duckdb/planner/operator/logical_delim_get.hpp
@@ -1026,6 +1053,8 @@ include/duckdb/planner/subquery/rewrite_correlated_expressions.hpp
 include/duckdb/planner/subquery/rewrite_cte_scan.hpp
 include/duckdb/planner/table_binding.hpp
 include/duckdb/planner/table_filter.hpp
+include/duckdb/planner/table_filter_state.hpp
+include/duckdb/planner/tableref/bound_at_clause.hpp
 include/duckdb/planner/tableref/bound_basetableref.hpp
 include/duckdb/planner/tableref/bound_column_data_ref.hpp
 include/duckdb/planner/tableref/bound_cteref.hpp
@@ -1046,6 +1075,7 @@ include/duckdb/storage/buffer/buffer_handle.hpp
 include/duckdb/storage/buffer/buffer_pool.hpp
 include/duckdb/storage/buffer/temporary_file_information.hpp
 include/duckdb/storage/buffer_manager.hpp
+include/duckdb/storage/caching_file_system.hpp
 include/duckdb/storage/checkpoint/row_group_writer.hpp
 include/duckdb/storage/checkpoint/string_checkpoint_state.hpp
 include/duckdb/storage/checkpoint/table_data_reader.hpp
@@ -1082,6 +1112,10 @@ include/duckdb/storage/compression/chimp/chimp_analyze.hpp
 include/duckdb/storage/compression/chimp/chimp_compress.hpp
 include/duckdb/storage/compression/chimp/chimp_fetch.hpp
 include/duckdb/storage/compression/chimp/chimp_scan.hpp
+include/duckdb/storage/compression/dict_fsst/analyze.hpp
+include/duckdb/storage/compression/dict_fsst/common.hpp
+include/duckdb/storage/compression/dict_fsst/compression.hpp
+include/duckdb/storage/compression/dict_fsst/decompression.hpp
 include/duckdb/storage/compression/dictionary/analyze.hpp
 include/duckdb/storage/compression/dictionary/common.hpp
 include/duckdb/storage/compression/dictionary/compression.hpp
@@ -1099,6 +1133,7 @@ include/duckdb/storage/compression/roaring/roaring.hpp
 include/duckdb/storage/data_pointer.hpp
 include/duckdb/storage/data_table.hpp
 include/duckdb/storage/database_size.hpp
+include/duckdb/storage/external_file_cache.hpp
 include/duckdb/storage/in_memory_block_manager.hpp
 include/duckdb/storage/index.hpp
 include/duckdb/storage/index_storage_info.hpp
diff --git a/databases/py-duckdb/Makefile b/databases/py-duckdb/Makefile
index 144eb17b3d42..63aa6e636911 100644
--- a/databases/py-duckdb/Makefile
+++ b/databases/py-duckdb/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	duckdb
-DISTVERSION=	1.2.2
+DISTVERSION=	1.3.1
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -24,7 +24,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fsspec>0:filesystems/py-fsspec@${PY_FLAVOR}
 USES=		python
 USE_PYTHON=	distutils autoplist pytest
 
-MAKE_ENV=	OVERRIDE_GIT_DESCRIBE=v${DISTVERSION}-g00000000-0
+MAKE_ENV=	OVERRIDE_GIT_DESCRIBE=v${DISTVERSION}-g00000000
 TEST_WRKSRC=	${WRKDIR} # tests fail when run from the build directory due to a name collision with duckdb directory
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # 2 tests fail, see https://github.com/duckdb/duckdb/issues/5642
 
diff --git a/databases/py-duckdb/distinfo b/databases/py-duckdb/distinfo
index 30ef9005723f..f6d1d97497c4 100644
--- a/databases/py-duckdb/distinfo
+++ b/databases/py-duckdb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744182033
-SHA256 (duckdb-1.2.2.tar.gz) = 1e53555dece49201df08645dbfa4510c86440339889667702f936b7d28d39e43
-SIZE (duckdb-1.2.2.tar.gz) = 11595514
+TIMESTAMP = 1750152031
+SHA256 (duckdb-1.3.1.tar.gz) = 8e101990a879533b1d33f003df2eb2a3c4bc7bdf976bd7ef7c32342047935327
+SIZE (duckdb-1.3.1.tar.gz) = 11628075