From d0deb1dacb10733af587473464a4915c40f93f05 Mon Sep 17 00:00:00 2001 From: object-Object Date: Sat, 26 Oct 2024 14:46:59 -0400 Subject: [PATCH] Hotfix: fix broken env loading by excluding pydantic-settings 2.6.0 (pydantic/pydantic-settings#445) --- CHANGELOG.md | 6 ++++++ pyproject.toml | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 700c9fdf..23e046ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Pydantic's HISTORY.md](https://github.com/pydantic/pydantic/blob/main/HISTORY.md), and this project *mostly* adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## `1!0.1.0a21` + +### Fixed + +* Fix broken environment variable loading by adding a dependency exclusion for Pydantic Settings v2.6.0 (see [pydantic/pydantic-settings#445](https://github.com/pydantic/pydantic-settings/issues/445)). + ## `1!0.1.0a20` ### Added diff --git a/pyproject.toml b/pyproject.toml index fd14b7e7..82caace1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,8 @@ dependencies = [ "ordered-set~=4.1", "packaging~=23.2", "pluggy~=1.3", - "pydantic_settings~=2.0", + # !=2.6.0 - https://github.com/pydantic/pydantic-settings/issues/445 + "pydantic_settings~=2.0,!=2.6.0", "pydantic>=2.7.1,<3,!=2.9.0", "pygithub~=2.1", "pyjson5~=1.6",