Skip to content

Commit 39c1726

Browse files
committed
update python version and packages
1 parent 493a42a commit 39c1726

File tree

5 files changed

+17
-18
lines changed

5 files changed

+17
-18
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
python-version: ['3.8', '3.9', '3.10', '3.11']
14+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1515
os: [ubuntu-20.04, macos-latest]
1616
steps:
1717
- uses: actions/checkout@v1
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ${{ matrix.os }}
3131
strategy:
3232
matrix:
33-
python-version: ['3.8', '3.9', '3.10', '3.11']
33+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
3434
os: [ubuntu-20.04, macos-latest]
3535
steps:
3636
- uses: actions/checkout@v1
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ${{ matrix.os }}
5050
strategy:
5151
matrix:
52-
python-version: ['3.8', '3.9', '3.10', '3.11']
52+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
5353
os: [ubuntu-20.04, macos-latest]
5454
steps:
5555
- uses: actions/checkout@v1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ combine third party tools or implement new functionalities from scratch.
3939

4040
## Requirements
4141

42-
**MLPrimitives** has been developed and tested on [Python 3.8, 3.9, 3.10, and 3.11](https://www.python.org/downloads/)
42+
**MLPrimitives** has been developed and tested on [Python 3.8, 3.9, 3.10, 3.11, and 3.12](https://www.python.org/downloads/)
4343

4444
Also, although it is not strictly required, the usage of a
4545
[virtualenv](https://virtualenv.pypa.io/en/latest/) is highly recommended in order to avoid

mlprimitives/primitives/sklearn.impute.SimpleImputer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
"type": "str, int or float",
4646
"default": null
4747
},
48-
"verbose": {
49-
"type": "bool",
50-
"default": false
51-
},
5248
"copy": {
5349
"type": "bool",
5450
"default": true

setup.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
history = history_file.read()
1313

1414
install_requires = [
15-
'Keras>=2.4,<2.15',
16-
'featuretools>=0.6.1,<0.23',
15+
'Keras>=2.4,<4',
16+
'featuretools>=0.6.1,<2',
1717
'iso639>=0.1.4,<0.2',
1818
'langdetect>=1.0.7,<2',
19-
'lightfm>=1.15,<2',
20-
'mlblocks>=0.6,<0.7',
19+
#'lightfm>=1.15,<2', <-- no longer supported
20+
'mlblocks>=0.6,<1',
2121
'networkx>=2.0,<3',
2222
'nltk>=3.3,<4',
23-
'numpy>=1.16.0,<2',
23+
'numpy>=1.16.0,<3',
2424
'opencv-python>=3.4.0.12,<4.7',
25-
'pandas>=1,<2',
25+
'pandas>=1,<3',
2626
'python-louvain>=0.10,<0.14', # community
2727
'scikit-image>=0.15',
2828
'scikit-learn>=0.21',
2929
'scipy>=1.1.0,<2',
3030
'statsmodels>=0.9.0,<0.15',
31-
'tensorflow>=2,<2.15',
31+
'tensorflow>=2,<3',
3232
'xgboost>=0.72.1,<2',
3333
'protobuf<4',
3434
]
@@ -48,7 +48,7 @@
4848
# general
4949
'bumpversion>=0.5.3,<0.6',
5050
'pip>=9.0.1',
51-
'watchdog>=0.8.3,<0.11',
51+
'watchdog>=0.8.3,<5',
5252

5353
# docs
5454
'm2r>=0.2.0,<0.3',
@@ -104,6 +104,7 @@
104104
'Programming Language :: Python :: 3.9',
105105
'Programming Language :: Python :: 3.10',
106106
'Programming Language :: Python :: 3.11',
107+
'Programming Language :: Python :: 3.12',
107108
],
108109
description='Pipelines and primitives for machine learning and data science.',
109110
entry_points = {
@@ -127,7 +128,7 @@
127128
long_description_content_type='text/markdown',
128129
name='mlprimitives',
129130
packages=find_packages(include=['mlprimitives', 'mlprimitives.*']),
130-
python_requires='>=3.8,<3.12',
131+
python_requires='>=3.8,<3.13',
131132
setup_requires=setup_requires,
132133
test_suite='tests',
133134
tests_require=tests_require,

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
[tox]
2-
envlist = py3{8,9,10,11}, test-devel
2+
envlist = py3{8,9,10,11,12}, test-devel
33

44
[travis]
55
python =
66
3.8: py38, test-devel
77
3.9: py39
88
3.10: py310
99
3.11: py311
10+
3.12: py312
1011

1112
[gh-actions]
1213
python =
1314
3.8: py38, test-devel
1415
3.9: py39
1516
3.10: py310
1617
3.11: py311
18+
3.12: py312
1719

1820
[testenv]
1921
passenv = CI TRAVIS TRAVIS_*

0 commit comments

Comments
 (0)