public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-yfinance] rawhide: update to 1.5.1
@ 2026-06-28 21:15 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-28 21:15 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-yfinance
            Branch : rawhide
            Commit : 626bd1a22579a86dab257544b98b0c3b4a5ca3c6
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-28T18:12:52-03:00
            Stats  : +5/-6 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-yfinance/c/626bd1a22579a86dab257544b98b0c3b4a5ca3c6?branch=rawhide

            Log:
            update to 1.5.1

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index 549c4c1..05677fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,3 +46,4 @@
 /yfinance-0.2.51.tar.gz
 /yfinance-0.2.54.tar.gz
 /yfinance-1.4.1.tar.gz
+/yfinance-1.5.1.tar.gz

diff --git a/python-yfinance.spec b/python-yfinance.spec
index b41d256..5ca6cf5 100644
--- a/python-yfinance.spec
+++ b/python-yfinance.spec
@@ -1,6 +1,6 @@
 %global         srcname     yfinance
 %global         forgeurl    https://github.com/ranaroussi/%{srcname}
-Version:        1.4.1
+Version:        1.5.1
 %global         tag         %{version}
 %forgemeta
 
@@ -36,10 +36,7 @@ Summary:        %{summary}
 %forgeautosetup
 
 # Remove the python shebang from non-executable files.
-sed -i '1{\@^#!/usr/bin/env python@d}' yfinance/*.py
-
-# Allow an older version of requests.
-sed -i 's/requests>=2.31/requests>=2.28/' requirements.txt setup.py
+find yfinance -name "*.py" -exec sed -i -e '1{\@^#!/usr/bin/env python@d}' {} +
 
 # curl_cffi is not packaged in Fedora, but is optional and falls back to requests.
 sed -i '/curl_cffi/d' requirements.txt
@@ -69,6 +66,7 @@ rm -vf %{buildroot}%{_bindir}/sample
 
 
 %files -n python3-%{srcname} -f %{pyproject_files}
+%license LICENSE.txt
 %doc README.md
 
 

diff --git a/sources b/sources
index 8eb9ce1..70d9f43 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (yfinance-1.4.1.tar.gz) = ce1d467a98aa6d641ef6daa50b92bf2ed28ba79dd343d842c4e198e87d4dff37a50c7c3ce15d497705d88495dd0f99bc900f446244e780ed55911eca129380dc
+SHA512 (yfinance-1.5.1.tar.gz) = 5fec25c07ee9706404377f9ab3703afd8a1eaa4c3fa9821ffbd8ed15f0c38f5be395626336f3a6831a3c41cb1e2bee37a1f2c3d4bc05522cbbc8dd622a78d572

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28 21:15 [rpms/python-yfinance] rawhide: update to 1.5.1 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox