Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 3.8, Require Numpy 2.0 #483

Merged
merged 19 commits into from
Sep 3, 2024
Merged

Remove 3.8, Require Numpy 2.0 #483

merged 19 commits into from
Sep 3, 2024

Conversation

HKaras
Copy link
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
6 checks passed
@HKaras HKaras deleted the remove_3.8 branch September 3, 2024 15:36
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