15
0

- update to 23.2.0:

* Type hints for `environ.config()` now allow for arguments
    (e.g. `@environ.config(prefix="")`).
  * `environ.secrets.DirectorySecrets.from_path()` now works when
    loading from `os.environ`.
  * Public APIs now carry type hints (except in-class methods
    like ``AppConfig.from_environ()``).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-environ-config?expand=0&rev=7
This commit is contained in:
2023-05-29 14:07:02 +00:00
committed by Git OBS Bridge
parent 65099c4a63
commit 93376d0dee
4 changed files with 17 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c7dbc5601060667301e992f6f0544c01e5144c86f1b2ec0b053e322788bb602
size 44427

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e83fa15efbd7ab7130268c33992d9d42747232315d05586e5276c96ee89020f9
size 44948

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon May 29 14:06:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 23.2.0:
* Type hints for `environ.config()` now allow for arguments
(e.g. `@environ.config(prefix="")`).
* `environ.secrets.DirectorySecrets.from_path()` now works when
loading from `os.environ`.
* Public APIs now carry type hints (except in-class methods
like ``AppConfig.from_environ()``).
-------------------------------------------------------------------
Tue May 23 12:34:02 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -17,12 +17,12 @@
Name: python-environ-config
Version: 22.1.0
Version: 23.2.0
Release: 0
Summary: Boilerplate-free configuration with env variables
License: MIT
URL: https://github.com/hynek/environ_config
Source: https://files.pythonhosted.org/packages/source/e/environ-config/environ-config-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/e/environ-config/environ_config-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -42,7 +42,7 @@ BuildRequires: %{python_module urllib3 < 2}
Boilerplate-free configuration with env variables.
%prep
%setup -q -n environ-config-%{version}
%setup -q -n environ_config-%{version}
%build
%python_build