public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-yfinance] rawhide: Update rawhide to upstream release 1.8.0 rhbz#2515365
Date: Sat, 28 Nov 2026 19:51:18 GMT	[thread overview]
Message-ID: <179589547831.1.14327221315784920301.rpms-python-yfinance-2015052f28b9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-yfinance
Branch : rawhide
Commit : 2015052f28b96b99877f6386cb186fe2378d281f
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-24T21:46:24-03:00
Stats  : +9/-19 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-yfinance/c/2015052f28b96b99877f6386cb186fe2378d281f?branch=rawhide

Log:
Update rawhide to upstream release 1.8.0 rhbz#2515365

---
diff --git a/python-yfinance.spec b/python-yfinance.spec
index b846b90..bb4b3c5 100644
--- a/python-yfinance.spec
+++ b/python-yfinance.spec
@@ -1,19 +1,15 @@
 %global         srcname     yfinance
-%global         forgeurl    https://github.com/ranaroussi/%{srcname}
-Version:        1.5.2
-%global         tag         %{version}
-%forgemeta
+Version:        1.8.0
 
 Name:           python-%{srcname}
 Release:        %autorelease
 Summary:        Download market data from Yahoo! Finance API
 
 License:        Apache-2.0
-URL:            %forgeurl
-Source0:        %forgesource
+URL:            https://github.com/ranaroussi/%{srcname}
+Source:         %pypi_source %{srcname}
 
 BuildArch:      noarch
-
 BuildRequires:  python3-devel
 
 %global _description %{expand:
@@ -33,15 +29,15 @@ Summary:        %{summary}
 
 
 %prep
-%forgeautosetup
+%autosetup -n %{srcname}-%{version}
+
+# curl_cffi is not packaged in Fedora. It is optional at runtime and
+# yfinance falls back to plain requests when it is unavailable.
+%pyproject_patch_dependency curl_cffi:ignore
 
 # Remove the python shebang from non-executable files.
 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
-sed -i "s/'curl_cffi>=0.15',//" setup.py
-
 %generate_buildrequires
 %pyproject_buildrequires
 
@@ -52,12 +48,6 @@ sed -i "s/'curl_cffi>=0.15',//" setup.py
 
 %install
 %pyproject_install
-
-# A sample executable is included but it does not seem to work. It's not needed
-# for the package since this is a python library meant to be used by other
-# python executables.
-rm -vf %{buildroot}%{_bindir}/sample
-
 %pyproject_save_files yfinance
 
 

diff --git a/sources b/sources
index 5e84b3a..87b4b2a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (yfinance-1.5.2.tar.gz) = f52a0964478f9627dbb3523a418c2e6d144854157ece3ebd3658a5a75e134920e0895f938dc37f742b13acfc67177258412344e88a0587fa65942148195f4ecd
+SHA512 (yfinance-1.8.0.tar.gz) = 94d1d6935b1bf1d4e24751d2cc21dd29d50d6cba18ab2a826e93829e24a72692618d7f8fc396ea0b338ff270998abb8aebdb8362fcde66b472d9383427141dd9

                 reply	other threads:[~2026-11-28 19:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179589547831.1.14327221315784920301.rpms-python-yfinance-2015052f28b9@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox