1
0

17 Commits

Author SHA256 Message Date
25ae03750a - 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
  * 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
2024-02-01 21:24:10 +00:00
293557e8b0 - 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/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=28
2023-05-07 09:17:51 +00:00
17bddd5012 Accepting request 1082840 from home:jayvdb:branches:devel:languages:python
- Remove duplicate sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1082840
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=26
2023-04-26 21:07:12 +00:00
78a9ef1d0c Accepting request 1081568 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=25
2023-04-21 13:22:19 +00:00
c3781e609a Accepting request 969176 from home:mcalabkova:branches:devel:languages:python
- 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
2022-04-11 12:14:30 +00:00
f0c4d124d7 Accepting request 956338 from home:gladiac:branches:devel:languages:python
- Skip building for python2

Fixes build on openSUSE Leap 15.3.

OBS-URL: https://build.opensuse.org/request/show/956338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=22
2022-02-22 08:24:40 +00:00
61bcb2047e Accepting request 853549 from home:bnavigator:branches:devel:languages:python
- Skip testing with optional jupyter_ipython. Jupyter is only
  available for Python >= 3.7
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/853549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=20
2020-12-07 12:32:39 +00:00
18843658cb Accepting request 853255 from home:stroeder:branches:devel:languages:python
- 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).

OBS-URL: https://build.opensuse.org/request/show/853255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=18
2020-12-07 09:49:11 +00:00
John Vandenberg
f968c1f0fb Accepting request 824508 from home:mcalabkova:branches:devel:languages:python
- 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]).

OBS-URL: https://build.opensuse.org/request/show/824508
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=16
2020-08-05 15:44:14 +00:00
John Vandenberg
91dbbd7246 Accepting request 817811 from home:jayvdb:branches:devel:languages:python
- Downgrade jupyter_ipython from Recommends to Suggests as
  python-dotenv is now a dependency of docker-compose

OBS-URL: https://build.opensuse.org/request/show/817811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=14
2020-07-01 03:00:01 +00:00
Tomáš Chvátal
a972b4486b Accepting request 807717 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/807717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=12
2020-05-21 09:02:40 +00:00
Tomáš Chvátal
bf4687f7dd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=10 2020-03-18 09:20:20 +00:00
Tomáš Chvátal
b245c51864 - Update to 0.10.3:
* Small cleanups

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=8
2019-07-22 13:21:25 +00:00
Tomáš Chvátal
9baf85d349 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=6
2019-05-25 09:00:13 +00:00
Tomáš Chvátal
44e50b1cc0 Accepting request 682530 from home:jayvdb:py-check-failures
- Add LANG=C.UTF-8 to %check to fix tests on Leap
- Rename tarball to match name provided by PyPI

OBS-URL: https://build.opensuse.org/request/show/682530
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=4
2019-03-07 16:40:33 +00:00
John Vandenberg
2f047d3bf0 Remove unnecessary build dependency on pypandoc
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=2
2019-02-16 02:51:10 +00:00
Tomáš Chvátal
e419cc134d Accepting request 676338 from home:jayvdb:django
- Initial spec for 0.10.1

OBS-URL: https://build.opensuse.org/request/show/676338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=1
2019-02-15 08:03:22 +00:00