------------------------------------------------------------------- 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 - update to 1.0.0: * Drop support for python 3.7, add python 3.12-dev * Handle situations where the cwd does not exist. * Use Python 3.11 non-beta in CI * Modernize variables code * Modernize main.py and parser.py code * Improve conciseness of cli.py and __init__.py * Improve error message for `get` and `list` commands when env file can't be opened * Updated License to align with BSD OSI template * Fix Out-of-scope error when "dest" variable is undefined * Fix IPython test warning about deprecated `magic` * Fix type hint for dotenv_path var, add StrPath alias * CLI: add support for invocations via 'python -m'. * `load_dotenv` function now returns `False`. * CLI: add --format= option to list command. * Drop Python 3.5 and 3.6 and upgrade GA * Use `open` instead of `io.open`. * Improve documentation for variables without a value * Add `parse_it` to Related Projects * Update README.md * Improve documentation with direct use of MkDocs ------------------------------------------------------------------- Wed Apr 26 01:56:00 UTC 2023 - John Vandenberg - Remove duplicate sle15_python_module_pythons ------------------------------------------------------------------- Fri Apr 21 12:32:14 UTC 2023 - Dirk Müller - add sle15_python_module_pythons (jsc#PED-68) ------------------------------------------------------------------- Wed Apr 19 01:08:36 UTC 2023 - Matej Cepl - Switch to single spec version build for PSP ------------------------------------------------------------------- Thu Apr 13 22:44:15 UTC 2023 - Matej Cepl - Make calling of %{sle15modernpython} optional. ------------------------------------------------------------------- Mon Apr 11 10:55:56 UTC 2022 - Markéta Machová - Update to 0.20.0 * 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]), 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. - Do not require mock ------------------------------------------------------------------- Mon Feb 21 09:09:13 UTC 2022 - Andreas Schneider - Skip building for python2 ------------------------------------------------------------------- Mon Dec 7 00:42:19 UTC 2020 - Benjamin Greiner - Skip testing with optional jupyter_ipython. Jupyter is only available for Python >= 3.7 gh#openSUSE/python-rpm-macros#66 ------------------------------------------------------------------- Wed Dec 2 17:16:41 UTC 2020 - Michael Ströder - Update to 0.15.0 * Add --export option to set to make it prepend the binding with export (#270 by @jadutter). * Make set command create the .env file in the current directory if no .env file was found (#270 by @jadutter). * Fix potentially empty expanded value for duplicate key (#260 by @bbc2). * Fix import error on Python 3.5.0 and 3.5.1 (#267 by @gongqingkui). * Fix parsing of unquoted values containing several adjacent space or tab characters (#277 by @bbc2, review by @x-yuri). ------------------------------------------------------------------- Wed Aug 5 13:46:03 UTC 2020 - Marketa Calabkova - Update to 0.14.0 * Privilege definition in file over the environment in variable expansion (#256 by [@elbehery95]). * Improve error message for when file isn't found (#245 by [@snobu]). * Use HTTPS URL in package meta data (#251 by [@ekohl]). ------------------------------------------------------------------- Tue Jun 30 04:44:30 UTC 2020 - John Vandenberg - Downgrade jupyter_ipython from Recommends to Suggests as python-dotenv is now a dependency of docker-compose ------------------------------------------------------------------- Wed May 20 12:41:06 UTC 2020 - Marketa Calabkova - Update to 0.13.0 * Add support for a Bash-like default value in variable expansion * Fix escaping of quoted values written by set_key * Few more fixes ------------------------------------------------------------------- Wed Mar 18 09:17:07 UTC 2020 - Tomáš Chvátal - Update to 0.12.0: * various fixes ------------------------------------------------------------------- Mon Jul 22 13:18:03 UTC 2019 - Tomáš Chvátal - Update to 0.10.3: * Small cleanups ------------------------------------------------------------------- Sat May 25 08:58:11 UTC 2019 - Tomáš Chvátal - Update to 0.10.2: * Add type hints and expose them to users (@qnighy)(#172) * load_dotenv and dotenv_values now accept an encoding parameter, defaults to None (@theskumar)(@earlbread)(#161) * Fix str/unicode inconsistency in Python 2: values are always str now. (@bbc2)(#121) * Fix Unicode error in Python 2, introduced in 0.10.0. (@bbc2)(#176) ------------------------------------------------------------------- Thu Mar 7 15:42:54 UTC 2019 - John Vandenberg - Add LANG=C.UTF-8 to %check to fix tests on Leap - Rename tarball to match name provided by PyPI ------------------------------------------------------------------- Fri Feb 15 06:37:32 UTC 2019 - John Vandenberg - Initial spec for 0.10.1