Skip to content

Commit 87c570e

Browse files
committed
2.1.2: fixes a deprecation warning in python 3.13
1 parent 9bcfb05 commit 87c570e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
python-version: [3.9, 3.12]
12+
python-version: [3.9, 3.13]
1313

1414
steps:
1515
- uses: actions/checkout@v4

stock_pandas/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
cumulators
2121
)
2222

23-
__version__ = '2.1.1'
23+
__version__ = '2.1.2'

stock_pandas/meta/time_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def define(
8888
primary_name = names[0]
8989

9090
class NewClass(TimeFrame):
91-
_unify = unify
91+
_unify = staticmethod(unify)
9292
_str = primary_name
9393

9494
NewClass.__name__ = f'TimeFrame{suffix}'

0 commit comments

Comments
 (0)