- Update to 1.2.2:
## Added
* Support for Python 3.14, including the free-threaded (3.14t) build.
## Changed
* The dotenv run command now forwards flags directly to the specified
command
* Dropped Support for Python 3.9.
## Fixed
* Improved set_key and unset_key behavior when interacting with symlinks
* Corrected the license specifier and added missing Python 3.14 classifiers
in package metadata
* Move more config to pyproject.toml, removed setup.cfg
* Add support for reading .env from FIFOs (Unix)
* Upgrade build system to use PEP 517 & PEP 518 to use build and
pyproject.toml
* Add support for disabling of load_dotenv() using PYTHON_DOTENV_DISABLED
env var
## Breaking Changes
* dotenv.set_key and dotenv.unset_key used to follow symlinks in some
situations. This is no longer the case.
* In the CLI, set and unset used to follow symlinks in some situations.
This is no longer the case.
* dotenv.set_key, dotenv.unset_key and the CLI commands set and unset used
to reset the file mode of the modified .env file to 0o600 in some
situations. This is no longer the case: The original mode of the file is
now preserved. Is the file needed to be created or wasn't a regular file,
mode 0o600 is used.
- Drop patch avoid-click-8.2-bug.patch, no longer needed.
OBS-URL: https://build.opensuse.org/request/show/1336261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=20
## Added
* Support for Python 3.14, including the free-threaded (3.14t) build.
## Changed
* The dotenv run command now forwards flags directly to the specified
command
* Dropped Support for Python 3.9.
## Fixed
* Improved set_key and unset_key behavior when interacting with symlinks
* Corrected the license specifier and added missing Python 3.14 classifiers
in package metadata
* Move more config to pyproject.toml, removed setup.cfg
* Add support for reading .env from FIFOs (Unix)
* Upgrade build system to use PEP 517 & PEP 518 to use build and
pyproject.toml
* Add support for disabling of load_dotenv() using PYTHON_DOTENV_DISABLED
env var
## Breaking Changes
* dotenv.set_key and dotenv.unset_key used to follow symlinks in some
situations. This is no longer the case.
* In the CLI, set and unset used to follow symlinks in some situations.
This is no longer the case.
* dotenv.set_key, dotenv.unset_key and the CLI commands set and unset used
to reset the file mode of the modified .env file to 0o600 in some
situations. This is no longer the case: The original mode of the file is
now preserved. Is the file needed to be created or wasn't a regular file,
mode 0o600 is used.
- Drop patch avoid-click-8.2-bug.patch, no longer needed.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=42
* 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
* 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]),
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=30
- 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
OBS-URL: https://build.opensuse.org/request/show/1085289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=13
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=28
- 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
OBS-URL: https://build.opensuse.org/request/show/969176
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=23