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

Drop Python 3.7 Support #632

Merged

Conversation

marvinpfoertner
Copy link
Collaborator

In a Nutshell

NumPy v1.22 dropped support for Python 3.7 (see numpy/numpy#19665). Let's do the same for ProbNum.

Detailed Description

  • require Python 3.8 as the minimal Python version
  • update CI
  • remove the conditional dependency on cached_property for Python <3.8 and remove the corresponding conditional imports

Related Issues

None

@marvinpfoertner marvinpfoertner added testing and CI Unit tests, coverage and continuous integration dependencies Pull requests that update a dependency file labels Feb 10, 2022
@marvinpfoertner marvinpfoertner self-assigned this Feb 10, 2022
@marvinpfoertner marvinpfoertner requested a review from a team as a code owner February 10, 2022 12:46
@marvinpfoertner marvinpfoertner added this to In progress in ProbNum Development via automation Feb 10, 2022
@codecov
Copy link

codecov bot commented Feb 10, 2022

Codecov Report

Merging #632 (2c48601) into main (eaf86d4) will increase coverage by 0.22%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #632      +/-   ##
==========================================
+ Coverage   89.56%   89.78%   +0.22%     
==========================================
  Files         181      181              
  Lines        6863     6836      -27     
  Branches     1062     1062              
==========================================
- Hits         6147     6138       -9     
+ Misses        485      467      -18     
  Partials      231      231              
Impacted Files Coverage Δ
...um/linalg/solvers/beliefs/_linear_system_belief.py 90.32% <100.00%> (+2.63%) ⬆️
src/probnum/randprocs/markov/integrator/_ioup.py 100.00% <100.00%> (+2.81%) ⬆️
src/probnum/randprocs/markov/integrator/_iwp.py 100.00% <100.00%> (+2.40%) ⬆️
src/probnum/randprocs/markov/integrator/_matern.py 100.00% <100.00%> (+2.70%) ⬆️
...num/randprocs/markov/integrator/_preconditioner.py 100.00% <100.00%> (+5.55%) ⬆️
src/probnum/randvars/_constant.py 89.36% <100.00%> (+3.36%) ⬆️
src/probnum/randvars/_normal.py 82.43% <100.00%> (+0.65%) ⬆️
src/probnum/randvars/_random_variable.py 63.41% <100.00%> (+0.31%) ⬆️
src/probnum/randvars/_randomvariablelist.py 86.66% <100.00%> (+2.53%) ⬆️

ProbNum Development automation moved this from In progress to Review in progress Feb 10, 2022
@marvinpfoertner marvinpfoertner merged commit bb826be into probabilistic-numerics:main Feb 10, 2022
ProbNum Development automation moved this from Review in progress to Done Feb 10, 2022
@marvinpfoertner marvinpfoertner deleted the drop-python3.7 branch February 10, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file testing and CI Unit tests, coverage and continuous integration
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants