14
0

- 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
This commit is contained in:
2023-05-07 09:17:51 +00:00
committed by Git OBS Bridge
parent 17bddd5012
commit 293557e8b0
4 changed files with 31 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-python-dotenv
Version: 0.20.0
Version: 1.0.0
Release: 0
Summary: Python library for .env support
License: BSD-3-Clause
@@ -28,7 +28,7 @@ Source: https://github.com/theskumar/python-dotenv/archive/v%{version}.t
BuildRequires: %{python_module click >= 5.0}
BuildRequires: %{python_module pytest >= 3.0.5}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module sh >= 1.09}
BuildRequires: %{python_module sh >= 2.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click >= 5.0
@@ -46,7 +46,6 @@ Add .env support to your Django/Flask apps in development and deployments.
%prep
%setup -q -n python-dotenv-%{version}
sed -i 's/import mock/import unittest.mock as mock/' tests/test_ipython.py tests/test_main.py
%build
export LANG=C.UTF-8