From 3a5a53b76c534050ce00b7d0be0ef9251ab36e21b320537bf9887185ce6701c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 12:15:23 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-python-dotenv revision bf73c3068b573ba27244e70bc01efe3e --- python-dotenv-1.0.0.tar.gz | 3 --- python-dotenv-1.0.1.tar.gz | 3 +++ python-python-dotenv.changes | 17 +++++++++++++++-- python-python-dotenv.spec | 6 +++--- 4 files changed, 21 insertions(+), 8 deletions(-) delete mode 100644 python-dotenv-1.0.0.tar.gz create mode 100644 python-dotenv-1.0.1.tar.gz diff --git a/python-dotenv-1.0.0.tar.gz b/python-dotenv-1.0.0.tar.gz deleted file mode 100644 index c46fbc0..0000000 --- a/python-dotenv-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93fc54524656990bc9911ab224c991457cd8f39364c48cded2f1c4cb3846c0ac -size 24730 diff --git a/python-dotenv-1.0.1.tar.gz b/python-dotenv-1.0.1.tar.gz new file mode 100644 index 0000000..d49998f --- /dev/null +++ b/python-dotenv-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cba4f54853af25e248c37400d4bd16549b52b27ee16839317841bbe388b19d56 +size 25641 diff --git a/python-python-dotenv.changes b/python-python-dotenv.changes index 3fd205a..57f25b5 100644 --- a/python-python-dotenv.changes +++ b/python-python-dotenv.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 1 21:23:28 UTC 2024 - Dirk Müller + +- update to 1.0.1: + * Gracefully handle code which has been imported from a zipfile + * Allow modules using load_dotenv to be reloaded when launched + in a separate thread + * Fix file not closed after deletion, handle error in the + rewrite function + * Use pathlib.Path in tests + * Fix year in release date in changelog.md + * Use https in README links + ------------------------------------------------------------------- Sun May 7 09:14:08 UTC 2023 - Dirk Müller @@ -51,8 +64,8 @@ Mon Apr 11 10:55:56 UTC 2022 - Markéta Machová * The default value of the encoding parameter for load_dotenv and dotenv_values is now "utf-8" instead of None * Add --override/--no-override option to dotenv run * Raise ValueError if quote_mode isn't one of always, auto or never in set_key - * Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. - * The stream argument of load_dotenv and dotenv_values can now be a text stream (IO[str]), + * Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. + * The stream argument of load_dotenv and dotenv_values can now be a text stream (IO[str]), which includes values like io.StringIO("foo") and open("file.env", "r") * Add support for Python 3.10. * Add encoding (Optional[str]) parameter to get_key, set_key and unset_key. diff --git a/python-python-dotenv.spec b/python-python-dotenv.spec index dec9add..a0009a7 100644 --- a/python-python-dotenv.spec +++ b/python-python-dotenv.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-dotenv # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-python-dotenv -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: Python library for .env support License: BSD-3-Clause @@ -34,7 +34,7 @@ BuildRequires: python-rpm-macros Requires: python-click >= 5.0 # rubygem-dotenv also provides executable dotenv Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Suggests: python-jupyter_ipython # There is a very similar Python package which also used `dotenv` namespace Conflicts: python-dotenv