Commit Graph

19 Commits

Author SHA1 Message Date
Thomas J. Fan 269bdb9489
MAINT Bump versions to match oldest-supported-numpy (#22674) 2022-03-04 18:51:39 +01:00
Olivier Grisel c83c6fc83d
MNT update black config (#22647) 2022-03-01 19:43:03 +01:00
Thomas J. Fan f1d3417b08
MNT Drops Python 3.7 in CI, wheel building, and docs (#22617)
* MNT Drops Python 3.7

* MNT Bump NumPy and SciPy

* FIX Fix build

* FIX Bump versions improved

* DOC Fixes numpy version [pypy]

* BLD [pypy] [icc-build]

* Update docs

* MAINT use scipy.optimize.LinearConstraint in test

* MAINT scipy 1.1.0 related code clean-up

* scipy>=1.3.2 in pyproject.toml's build deps

* [cd build]

* DOC Adds comment about pypy

* MAINT remove _astype_copy_false

* FIX Update check for python version in setup.py

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-02-28 18:23:02 +01:00
Thomas J. Fan 5de723d2f9
CI Fixes wheel building (#22051) 2021-12-24 14:06:21 +01:00
Julien Jerphanion fac1ec8ec8
Revert "HOTFIX Don't use setuptools 58.5 which introduces regression (#21549)" (#21560)
This reverts commit 953d101c70.

The fix for setuptools#21549 has been introduced in 58.5.3.

See: https://github.com/pypa/setuptools/pull/2855#issuecomment-961487836
2021-11-05 10:07:01 +01:00
Julien Jerphanion 953d101c70
HOTFIX Don't use setuptools 58.5 which introduces regression (#21549) 2021-11-04 10:57:06 +01:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
Adrin Jalali d66b42708a
MNT black to ignore .vscode folder (#20485) 2021-07-08 15:45:48 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan e8f58cddb5
MAINT Adds target_version to black config (#20293) 2021-06-17 21:48:26 +02:00
Thomas J. Fan 0e7761cdc4
MAINT Black formatting prework (#20260) 2021-06-17 14:18:24 -04:00
Thomas J. Fan 9a13bdfaf1
MNT Adds black config and fixes formatting before black (#19031)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Thomas J. Fan 1038024a43
CI Removes python 3.6 builds from wheel building (#20184) 2021-06-03 15:47:34 +02:00
Chiara Marmo 40b45e6b7c
[MRG] CI Push Scipy minimum version to 1.1.0. Remove Python 3.6 from builds. (#20069)
* Push scipy min version to 1.0.0

* Update all ubuntu images to 20.04 focal.

* Add ubuntu images 18.04 bionic and scipy fron conda-forge.

* Fix conditions.

* Pin python 3.6 for ubuntu bionic.

* Change pipeline name.

* Change matrix element name.

* Keep python 3.9 from system not conda in Ubuntu 20.04.

* Remove python directive when unnecessary.

* Cleanup.

* Downgrade to python 3.6 as scipy 1.0.0 is incompatible with 3.8.

* Fix comment.

* Fix comment.

* Pin pytest again as we are forced to use 3.6.

* Move to conda installer for 32bit linux.

* Install miniconda for ubuntu 32bit.

* Install wget for ubuntu 32bit.

* Revert 32bit OS to ubuntu bionic 18.04.

* Install scipy from pip in 32bit system.

* Fix doctest failures.

* Revert example rendering.

* Relax pytest version in ubuntu install.

* Skip failing tests.

* Put comment at the right place.

* Remove python3.6. Ubuntu32 still needs to be adapted.

* Push numpy and scipy min versions for compatibility with 3.7.

* Push matplotlib min version for compatibility with 3.7. Install numpy via pip in 32bit linux.

* Install numpy before scipy in Linux 32bit.

* Pass numpy version to linux32.

* Test 32bit architecture on debian buster (still exists for 32bit with python 3.7).

* Install matplotlib from distribution.

* Syntax error...

* Stick to the numpy debian version to avoid Expected 124 from C header, got 112 from PyObject error.

* Clean comments.

* Revert skip in doctest to check with new dependencies.

* Rename distrib.

* Skip again...

* Fix test on check_array.

* Remove comment and fix lint at the same time.

* Clean import.

* Increase atol in test_derivatives to make the test pass in py37_conda_openblas environment.

* Avoid sparse matrix dependent on scipy version.

* Skip docstring test for pandas versions less then 1.1.0.

* Fix lint error.

* Empty commit to force checks.

* Add minimal dependencies in changelog.

* Update to python 3.7 CircleCI and Travis builds.

* Move to debian buster for python3.7 dependencies.

* Fix the container tag.

* Lower the minimal pandas version for compatibility with python 3.7.
2021-05-18 16:09:36 +02:00
Terence Honles d6bd7bee87
MNT simplify pyproject.toml by using oldest-supported-numpy [cd build] (#18900) 2021-02-06 19:20:31 +01:00
Terence Honles 8af5f611bd
MNT Support and test Python 3.9 (#18761)
* MNT Support and test Python 3.9

The following were used as references when updating pyproject.toml:

- https://github.com/scipy/scipy/issues/12940
- https://github.com/scikit-image/scikit-image/pull/4920
- https://github.com/scikit-image/scikit-image/pull/4920#discussion_r471467159

* Trigger wheel builder [cd build]

* Fix typo when optionally installing scikit-image

Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>

* Update build_tools/azure/install.sh [ci skip]

Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-11-10 17:22:01 +01:00
Jan Vesely 85d24b3cb5
pyproject.toml: Update numpy dependency on PyPy to 1.14.0 (#17215) 2020-05-14 10:48:30 +02:00
Benjamin Beier Liu 395cfd7871
BLD Sets minimal supported numpy version in pyproject.toml (#16823) 2020-04-04 19:15:48 -04:00
Jérémie du Boisberranger 97d49f2074
BLD Specify build time dependencies via pyproject.toml (#16244)
* add pyproject.toml

* do it in CI

* cln

* no build isolation in the doc

* bump dependencies

* no-build-isolation everywhere needed
2020-02-11 10:58:04 +01:00