Skip to content

Commit f545491

Browse files
authored
Merge pull request ranaroussi#2669 from ranaroussi/main
sync main -> dev
2 parents 6e012fe + 89db9df commit f545491

6 files changed

Lines changed: 44 additions & 11 deletions

File tree

.github/workflows/auto_close_default_issues.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,24 @@ jobs:
1313
script: |
1414
const issue = context.payload.issue;
1515
const body = issue.body || '';
16+
const title = issue.title || '';
17+
const textToCheck = (title + ' ' + body).toLowerCase();
1618
1719
// Check for specific fields from your custom form
18-
// Adjust these patterns based on your form structure
1920
const hasCustomFields = body.includes('### Describe bug') ||
2021
body.includes('### Simple code that reproduces');
2122
22-
if (!hasCustomFields) {
23+
// Check for bug-related keywords
24+
const bugKeywords = ['bug', 'problem', 'broken'];
25+
const looksBugReport = bugKeywords.some(keyword => textToCheck.includes(keyword));
26+
27+
// Only close if it looks like a bug report but doesn't use the template
28+
if (!hasCustomFields && looksBugReport) {
2329
await github.rest.issues.createComment({
2430
owner: context.repo.owner,
2531
repo: context.repo.repo,
2632
issue_number: issue.number,
27-
body: 'This issue appears to use the default template. Stop that. Use our custom bug report form.'
33+
body: 'This issue appears to be a bug report but doesn\'t use our bug report template. Resubmit with our custom bug report form..'
2834
});
2935
3036
await github.rest.issues.update({

CHANGELOG.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
11
Change Log
22
===========
33

4+
1.0
5+
---
6+
yfinance been stable a long time now, time to grow up
7+
8+
No breaking changes, but some deprecation warnings.
9+
10+
Features:
11+
- New config class yf.config / Improve exception handling #2524
12+
- Feature: Earning Calendar (& other calendars) #2615 @ianmihura
13+
- Add optional retry mechanism for transient network errors #2627 @axisrow
14+
Fixes:
15+
- 'Industry' column names #2613 @danchev
16+
- Correct 30m interval alignment and filtering for NSE/early-open markets #2642 @biplavbarua
17+
- Screener's sector industry mapping #2648 @ericpien
18+
- Set period default to None in multi #2650 @evanreynolds9
19+
- price-div-repair dropping NaN rows #2651
20+
- Block curl_cffi version 0.14 #2653
21+
22+
23+
0.2.66
24+
------
25+
Screener: add Swiss exchange and industry field
26+
Support MIC #2579
27+
Fixes:
28+
- parse epoch dt #2573
29+
- earnings_dates #2591
30+
- merge intraday prices with divs/splits #2595
31+
- exceptions missing detail #2599
32+
433
0.2.65
534
------
635
Financials: ensure dtype float #2563

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<a target="new" href="https://pypi.python.org/pypi/yfinance"><img border=0 src="https://img.shields.io/badge/python-2.7,%203.6+-blue.svg?style=flat" alt="Python version"></a>
77
<a target="new" href="https://pypi.python.org/pypi/yfinance"><img border=0 src="https://img.shields.io/pypi/v/yfinance.svg?maxAge=60%" alt="PyPi version"></a>
88
<a target="new" href="https://pypi.python.org/pypi/yfinance"><img border=0 src="https://img.shields.io/pypi/status/yfinance.svg?maxAge=60" alt="PyPi status"></a>
9-
<a target="new" href="https://pypi.python.org/pypi/yfinance"><img border=0 src="https://img.shields.io/pypi/dm/yfinance.svg?maxAge=2592000&label=installs&color=%2327B1FF" alt="PyPi downloads"></a>
9+
<a target="new" href="https://pypi.python.org/pypi/yfinance"><img border=0 src="https://img.shields.io/pypi/dm/yfinance.svg?maxAge=86400&label=installs&color=%2327B1FF" alt="PyPi downloads"></a>
1010
<a target="new" href="https://github.com/ranaroussi/yfinance"><img border=0 src="https://img.shields.io/github/stars/ranaroussi/yfinance.svg?style=social&label=Star&maxAge=60" alt="Star this repo"></a>
1111
<a target="new" href="https://x.com/intent/follow?screen_name=aroussi"><img border=0 src="https://img.shields.io/twitter/follow/aroussi.svg?style=social&label=Follow&maxAge=60" alt="Follow me on twitter"></a>
1212

13-
13+
<a href="https://trendshift.io/repositories/4578" target="_blank"><img src="https://trendshift.io/api/badge/repositories/4578" alt="ranaroussi%2Fyfinance | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
1414

1515
**yfinance** offers a Pythonic way to fetch financial & market data from [Yahoo!Ⓡ finance](https://finance.yahoo.com).
1616

@@ -53,7 +53,7 @@ Install `yfinance` from PYPI using `pip`:
5353
$ pip install yfinance
5454
```
5555

56-
### [yfinance relies on the community to investigate bugs and contribute code. Here's how you can help.](CONTRIBUTING.md)
56+
### [yfinance relies on the community to investigate bugs and contribute code. Here's how you can help.](https://github.com/ranaroussi/yfinance/blob/main/CONTRIBUTING.md)
5757

5858
---
5959

@@ -64,7 +64,7 @@ $ pip install yfinance
6464
### Legal Stuff
6565

6666
**yfinance** is distributed under the **Apache Software License**. See
67-
the [LICENSE.txt](./LICENSE.txt) file in the release for details.
67+
the [LICENSE.txt](https://github.com/ranaroussi/yfinance/blob/main/LICENSE.txt) file in the release for details.
6868

6969
AGAIN - yfinance is **not** affiliated, endorsed, or vetted by Yahoo, Inc. It's
7070
an open-source tool that uses Yahoo's publicly available APIs, and is

doc/source/reference/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ The following are the publicly available classes, and functions exposed by the `
2424
- :class:`AsyncWebSocket <yfinance.AsyncWebSocket>`: Class for asynchronously streaming live market data.
2525
- :attr:`Sector <yfinance.Sector>`: Domain class for accessing sector information.
2626
- :attr:`Industry <yfinance.Industry>`: Domain class for accessing industry information.
27-
- :attr:`Market <yfinance.Market>`: Class for accessing market status & summary.
2827
- :attr:`EquityQuery <yfinance.EquityQuery>`: Class to build equity query filters.
2928
- :attr:`FundQuery <yfinance.FundQuery>`: Class to build fund query filters.
3029
- :attr:`screen <yfinance.screen>`: Run equity/fund queries.
@@ -42,7 +41,6 @@ The following are the publicly available classes, and functions exposed by the `
4241
yfinance.calendars
4342
yfinance.financials
4443
yfinance.analysis
45-
yfinance.market
4644
yfinance.search
4745
yfinance.lookup
4846
yfinance.websocket

meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "yfinance" %}
2-
{% set version = "0.2.65" %}
2+
{% set version = "1.0" %}
33

44
package:
55
name: "{{ name|lower }}"

yfinance/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.2.65"
1+
version = "1.0"

0 commit comments

Comments
 (0)