Skip to content

Commit f0a07c2

Browse files
V0.4.5 (#33)
* version and tox update * gha wheels update * updated python versions
1 parent 96adbaf commit f0a07c2

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

.github/workflows/build_wheels.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
required: true
1010
default: 'PYPI'
1111
options: [ 'TESTPYPI', 'PYPI' ]
12+
version:
13+
description: 'Version to publish'
14+
required: true
15+
default: '0.4.6'
1216

1317
jobs:
1418
dist:
@@ -18,15 +22,15 @@ jobs:
1822
fail-fast: false
1923
matrix:
2024
os: [ ubuntu-latest ]
21-
python-version: [ "3.10" ]
25+
python-version: [ "3.12" ]
2226

2327
steps:
2428
- name: Checkout alphalens
2529
uses: actions/checkout@v4
2630
with:
2731
fetch-depth: 0
2832
fetch-tags: true
29-
ref: v0.4.4
33+
ref: ${{ github.event.inputs.version }}
3034

3135
- name: Set up Python ${{ matrix.python-version }}
3236
uses: actions/setup-python@v5

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ ubuntu-latest , windows-latest, macos-latest ]
21-
python-version: [ 3.9, '3.10', '3.11', '3.12' ]
21+
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
2222
steps:
2323
- name: Checkout alphalens
2424
uses: actions/checkout@v4

pyproject.toml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "alphalens-reloaded"
33
description = "Performance analysis of predictive (alpha) stock factors"
4-
requires-python = '>=3.9'
4+
requires-python = '>=3.10'
55
dynamic = ["version"]
66
readme = "README.md"
77
authors = [
@@ -19,10 +19,10 @@ classifiers = [
1919
'License :: OSI Approved :: Apache Software License',
2020
'Natural Language :: English',
2121
'Programming Language :: Python',
22-
'Programming Language :: Python :: 3.9',
2322
'Programming Language :: Python :: 3.10',
2423
'Programming Language :: Python :: 3.11',
2524
'Programming Language :: Python :: 3.12',
25+
'Programming Language :: Python :: 3.13',
2626
'Operating System :: OS Independent',
2727
'Intended Audience :: Science/Research',
2828
'Topic :: Office/Business :: Financial :: Investment',
@@ -33,7 +33,7 @@ dependencies = [
3333
# following pandas
3434
"numpy>=1.23.5; python_version<'3.12'",
3535
"numpy>=1.26.0; python_version>='3.12'",
36-
"pandas >=1.3.0,<3.0",
36+
"pandas >=1.5.0,<3.0",
3737
"matplotlib >=1.4.0",
3838
"scipy >=0.14.0",
3939
"seaborn >=0.6.0",
@@ -136,25 +136,23 @@ legacy_tox_ini = """
136136
[tox]
137137
138138
envlist =
139-
py39-pandas{13,14,15}-numpy1
140-
py310-pandas{13,14,15,20,21,22}-numpy1
141-
py311-pandas{13,14,15,20,21,22}-numpy1
142-
py312-pandas{13,14,15,20,21,22}-numpy1
143-
py39-pandas222-numpy2
144-
py310-pandas222-numpy2
145-
py311-pandas222-numpy2
146-
py312-pandas222-numpy2
139+
py310-pandas{15,20,21,22}-numpy1
140+
py311-pandas{15,20,21,22}-numpy1
141+
py312-pandas{15,20,21,22}-numpy1
142+
py310-pandas222-numpy2{0,1,2}
143+
py311-pandas222-numpy2{0,1,2}
144+
py312-pandas222-numpy2{0,1,2}
147145
148146
isolated_build = True
149147
skip_missing_interpreters = True
150148
minversion = 3.23.0
151149
152150
[gh-actions]
153151
python =
154-
3.9: py39
155152
3.10: py310
156153
3.11: py311
157154
3.12: py312
155+
3.13: py313
158156
159157
[testenv]
160158
usedevelop = True
@@ -164,16 +162,15 @@ setenv =
164162
changedir = tmp
165163
extras = test
166164
deps =
167-
pandas13: pandas>=1.3.0,<1.4
168-
pandas14: pandas>=1.4.0,<1.5
169165
pandas15: pandas>=1.5.0,<1.6
170166
pandas20: pandas>=2.0,<2.1
171167
pandas21: pandas>=2.1,<2.2
172168
pandas22: pandas>=2.2,<2.3
173169
pandas222: pandas>=2.2.2,<2.3
174170
numpy1: numpy>=1.23.5,<2.0
175-
numpy2: numpy>=2.0,<2.1
176-
171+
numpy20: numpy>=2.0.0,<2.1.0
172+
numpy21: numpy>=2.1.0,<2.2.0
173+
numpy22: numpy>=2.2.0,<2.3.0
177174
178175
commands =
179176
pytest -n 2 --cov={toxinidir}/src --cov-report term --cov-report=xml --cov-report=html:htmlcov {toxinidir}/tests

0 commit comments

Comments
 (0)