Skip to content

Commit

Permalink
feat: add support for python 3.11 (#771)
Browse files Browse the repository at this point in the history
* add support for python 3.11

Signed-off-by: Nischay Ram Mamidi <NischayPro@gmail.com>

* add Python 3.11 tag in setup.py

Signed-off-by: Nischay Ram Mamidi <NischayPro@gmail.com>

* update comment of locking numpy version

Signed-off-by: Nischay Ram Mamidi <NischayPro@gmail.com>

* update comment

Signed-off-by: Nischay Ram Mamidi <NischayPro@gmail.com>

* add changelog entry

Signed-off-by: Nicolas Höning <nicolas@seita.nl>

---------

Signed-off-by: Nischay Ram Mamidi <NischayPro@gmail.com>
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Co-authored-by: Nicolas Höning <nicolas@seita.nl>
  • Loading branch information
Nischay-Pro and nhoening committed Aug 2, 2023
1 parent e8eb247 commit 383e7fd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -65,7 +65,7 @@ install-flexmeasures:
pip install -e .

install-pip-tools:
pip3 install -q "pip-tools>=6.4"
pip3 install -q "pip-tools>=7.0"

install-docs-dependencies:
pip install -r requirements/docs.txt
Expand Down
1 change: 1 addition & 0 deletions documentation/changelog.rst
Expand Up @@ -32,6 +32,7 @@ Infrastructure / Support
* The endpoint `[POST] /health/ready <api/v3_0.html#get--api-v3_0-health-ready>`_ returns the status of the Redis connection, if configured [see `PR #699 <https://www.github.com/FlexMeasures/flexmeasures/pull/699>`_]
* Document the `device_scheduler` linear program [see `PR #764 <https://www.github.com/FlexMeasures/flexmeasures/pull/764>`_].
* Add support for `HiGHS <https://highs.dev/>`_ solver [see `PR #766 <https://www.github.com/FlexMeasures/flexmeasures/pull/766>`_].
* Add support for installing FlexMeasures under Python 3.11 [see `PR #771 <https://www.github.com/FlexMeasures/flexmeasures/pull/771>`_].

v0.14.2 | July 25, 2023
============================
Expand Down
4 changes: 2 additions & 2 deletions requirements/app.in
Expand Up @@ -16,8 +16,8 @@ humanize
psycopg2-binary
bcrypt
pytz
# limit the numpy version to make it compatible with numba==0.56.4, which timely-beliefs >=1.18 depends on (library sktime).
numpy<1.24
# limit the numpy version to make it compatible with dependencies in timely-beliefs >=1.18 (libraries sktime, numba).
numpy<1.25
isodate
click
click-default-group
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -53,6 +53,7 @@ def load_requirements(use_case):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Flask",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
Expand Down

0 comments on commit 383e7fd

Please sign in to comment.