Skip to content

Remove 3.8, Require Numpy 2.0#483

Merged
HKaras merged 19 commits intoJeschkeLab:mainfrom
HKaras:remove_3.8
Sep 3, 2024
Merged

Remove 3.8, Require Numpy 2.0#483
HKaras merged 19 commits intoJeschkeLab:mainfrom
HKaras:remove_3.8

Conversation

@HKaras
Copy link
Copy Markdown
Member

@HKaras HKaras commented Sep 2, 2024

Numpy 2.0 is not compatible with Python 3.8 which is EOL in November. I suggest we now require Python > 3.9 and Numpy >2.0.

HKaras and others added 15 commits December 5, 2022 15:36
* Increase version number and update changelog (JeschkeLab#455)

* Bugfixes 4th sep (JeschkeLab#460)

* Fix normalisation in rice model

Closes JeschkeLab#459

* Remove three spin anaysis

Closes JeschkeLab#427

* Improved installation instructions

* Caution about difference in definition of cost function

Closes JeschkeLab#450

* Bump Version

* Bug for non linearly constrained problems

When a problem is not linearly constrained and not non-negative, the linear solver outputs a result class not the solution.

* Keeping changelog up-to date

* Fixing Sophgrid bug (JeschkeLab#464)

* Fixing Sophgrid bug

* Add unit test for sophgrid

* Update changelog.rst for new release (JeschkeLab#466)
* Fixing Sophgrid bug

* Add unit test for sophgrid

* Minor doc update

* Bump version Number

* Remove unnecessary doc files

* Update changelog
* Seperate Kinterpolator into its own function

Interpolation in Scipy is very slow, currently the same interpolation is being rerun for every calculation of the dipolarkernal. This is now cached to speed it up.

* Only run orientation selection on grid and integral based kernals

This hunk of code is not needed when fresnel integrals are used so does not need to be evaluated

* Update changelog
* Update for 3.12

* Updated workflows and changelog

* Upload to 3.12
* Update for 3.12

* Updated workflows and changelog

* Upload to 3.12

* Numpy 2.0 compatibility updates

* Update Changelog
* Update for 3.12

* Updated workflows and changelog

* Upload to 3.12

* Fix bug in regparam grid search

Regparam would never build the grid correctly. Now using grid or Brent is automatically determined from number of elements in the regparamrange.

* Add extra error messages

* Update changelog

* Updated Example

* Updated test

The test has been updated. The previous convergence criteria was unreliable and only worked based on a coincidence.

* Prepare For Release

* Remove duplicate python version
@HKaras HKaras added the bugfix Patches something that isn't working label Sep 2, 2024
@HKaras HKaras requested a review from stestoll September 2, 2024 20:01
@HKaras HKaras self-assigned this Sep 2, 2024
Can't add 3.13 until official release
@HKaras HKaras merged commit 55d4eab into JeschkeLab:main Sep 3, 2024
@HKaras HKaras deleted the remove_3.8 branch September 3, 2024 15:36
HKaras added a commit that referenced this pull request Mar 18, 2026
* Remove 3.8 Require Numpy 2.0

Co-authored-by: Stefan Stoll <stestoll@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Patches something that isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants