diff --git a/python-dotenv-1.2.1.tar.gz b/python-dotenv-1.2.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4695927071d7e358f98b759eabf1cb80e585cf30 Binary files /dev/null and b/python-dotenv-1.2.1.tar.gz differ diff --git a/python-dotenv.spec b/python-dotenv.spec index f187da4b98b4b00b1a741026fac39017825c0b05..e6f691bdae6890c88fc0799e48c72135d5390205 100644 --- a/python-dotenv.spec +++ b/python-dotenv.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-dotenv -Version: 1.1.1 +Version: 1.2.1 Release: 1 Summary: Read key-value pairs from a .env file and set them as environment variables License: BSD-3-Clause URL: https://github.com/theskumar/python-dotenv -Source0: %{pypi_source python_dotenv} +Source0: %{pypi_source python-dotenv} BuildArch: noarch @@ -18,6 +18,10 @@ Provides: python-dotenv = %{version}-%{release} Requires: python3-click BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-flit-core +BuildRequires: python3-poetry-core +BuildRequires: python3-pip +BuildRequires: python3-wheel %description -n python3-dotenv Python-dotenv reads key-value pairs from a .env file and can set them as environment variables. It helps in the development of applications following the 12-factor principles. @@ -30,13 +34,13 @@ Provides: python3-dotenv-doc Development documents and examples for python-dotenv. %prep -%autosetup -n python_dotenv-%{version} -p1 +%autosetup -n python-dotenv-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -68,13 +72,18 @@ find %{buildroot} -type f -exec file {} ';' | grep "\" | awk -F ':' '{prin %files -n python3-dotenv -f filelist.lst %license LICENSE %doc README.md -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst %license LICENSE %{_docdir}/* %changelog +* Fri Dec 19 2025 zhang-ke - 1.2.1-1 +- update to 1.2.1 +- Support reading .env from FIFOs (Unix) +- feat: add PYTHON_DOTENV_DISABLED flag to disable load_dotenv + * Mon Aug 18 2025 zhang_wenyu - 1.1.1-1 - Update to 1.1.1: * Ensure find_dotenv work reliably on python 3.13 diff --git a/python_dotenv-1.1.1.tar.gz b/python_dotenv-1.1.1.tar.gz deleted file mode 100644 index a441dece498c1859517d775880092556aeb21718..0000000000000000000000000000000000000000 Binary files a/python_dotenv-1.1.1.tar.gz and /dev/null differ