Accepting request 1225998 from devel:languages:python:django

- update to 0.11.2:
  * Revert "Add variable expansion." feature
  * Revert "Add interpolate argument to avoid resolving proxied
    values." feature
  * Added support for Django 4.2
  * Added support for secure Elasticsearch connections
  * Added variable expansion
  * Added capability to handle comments after #, after quoted values,
  * Added support for ``interpolate`` parameter
  * Use the core redis library by default if running Django >= 4.0
  * Value of dict can now contain an equal sign
  * Added support for Python 3.11.
  * Added ``CONN_HEALTH_CHECKS`` to database base options
  * Added ``encoding`` parameter to ``read_env`` with default
    value 'utf8'
  * Added support for Django 4.1

OBS-URL: https://build.opensuse.org/request/show/1225998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-environ?expand=0&rev=6
This commit is contained in:
Ana Guerrero 2024-11-24 10:04:47 +00:00 committed by Git OBS Bridge
commit 6700b453b8
4 changed files with 33 additions and 10 deletions

View File

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

View File

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Nov 23 17:51:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.11.2:
* Revert "Add variable expansion." feature
* Revert "Add interpolate argument to avoid resolving proxied
values." feature
* Added support for Django 4.2
* Added support for secure Elasticsearch connections
* Added variable expansion
* Added capability to handle comments after #, after quoted values,
* Added support for ``interpolate`` parameter
* Use the core redis library by default if running Django >= 4.0
* Value of dict can now contain an equal sign
* Added support for Python 3.11.
* Added ``CONN_HEALTH_CHECKS`` to database base options
* Added ``encoding`` parameter to ``read_env`` with default
value 'utf8'
* Added support for Django 4.1
-------------------------------------------------------------------
Mon Jun 26 06:15:45 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-django-environ
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,15 +18,17 @@
%{?sle15_python_module_pythons}
Name: python-django-environ
Version: 0.4.5
Version: 0.11.2
Release: 0
Summary: Django application configuration via environment variables
License: MIT
Group: Development/Languages/Python
URL: https://github.com/joke2k/django-environ
Source: https://files.pythonhosted.org/packages/source/d/django-environ/django-environ-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django
@ -41,19 +43,20 @@ variables to configure Django applications.
%setup -q -n django-environ-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
LANG=en_US.UTF-8
%pytest environ/test.py
%pytest
%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst README.rst.txt
%doc CHANGELOG.rst README.rst
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/environ
%{python_sitelib}/django_environ-%{version}.dist-info
%changelog