14
0

- Update to 1.1.1

* CLI: Ensure `find_dotenv` work reliably on python 3.13
  * CLI: revert the use of execvpe on Windows

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=40
This commit is contained in:
2025-09-26 08:54:14 +00:00
committed by Git OBS Bridge
commit 90f8b07a3c
7 changed files with 330 additions and 0 deletions

13
avoid-click-8.2-bug.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: python-dotenv-1.1.0/src/dotenv/cli.py
===================================================================
--- python-dotenv-1.1.0.orig/src/dotenv/cli.py
+++ python-dotenv-1.1.0/src/dotenv/cli.py
@@ -60,6 +60,8 @@ def stream_file(path: os.PathLike) -> It
yield stream
except OSError as exc:
print(f"Error opening env file: {exc}", file=sys.stderr)
+ # Work around https://github.com/pallets/click/issues/2913
+ sys.stderr.flush()
exit(2)