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

Set minimum python version to 3.7 #253

Merged
merged 4 commits into from
Jan 15, 2022
Merged

Set minimum python version to 3.7 #253

merged 4 commits into from
Jan 15, 2022

Conversation

dnerini
Copy link
Member

@dnerini dnerini commented Jan 9, 2022

Close #252

and maximum version to 3.9
@dnerini dnerini self-assigned this Jan 9, 2022
@dnerini dnerini mentioned this pull request Jan 9, 2022
@codecov
Copy link

codecov bot commented Jan 9, 2022

Codecov Report

Merging #253 (c6eb3da) into master (bd94785) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head c6eb3da differs from pull request most recent head 1ca7735. Consider uploading reports for the commit 1ca7735 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #253   +/-   ##
=======================================
  Coverage   80.78%   80.79%           
=======================================
  Files         140      140           
  Lines       10625    10625           
=======================================
+ Hits         8583     8584    +1     
+ Misses       2042     2041    -1     
Flag Coverage Δ
unit_tests 80.79% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pysteps/io/importers.py 71.73% <0.00%> (-0.15%) ⬇️
pysteps/tests/test_interfaces.py 100.00% <0.00%> (+0.71%) ⬆️
pysteps/tests/test_motion.py 94.30% <0.00%> (+0.81%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd94785...1ca7735. Read the comment docs.

@dnerini dnerini added this to the v1.6 milestone Jan 14, 2022
@aperezhortal
Copy link
Member

Thanks for updating this! The PR looks ready to merge. I pushed one commit with a minor update to the installation guide, and removing an empty file that seemed unused.

@dnerini dnerini merged commit c8e3c74 into master Jan 15, 2022
@dnerini dnerini deleted the update-python-versions branch January 15, 2022 07:58
dnerini added a commit to EsmailGhaemi/pysteps that referenced this pull request Jan 15, 2022
* Set minimum python version to 3.7

and maximum version to 3.9

* Update github actions

Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>
dnerini added a commit that referenced this pull request Jan 15, 2022
* Set minimum python version to 3.7

and maximum version to 3.9

* Update github actions

Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>
dnerini added a commit that referenced this pull request Jan 15, 2022
* Add initial structure

* Add SAL method

* Refactor imports

* Add MissingOptionalDependency checks

* Rename methods

* Apply suggestions from code review

Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>

* Add basic test

* Add interface

* More testing

* Return a tuple instead of pandas dataframe

* Some refactoring

* More refactoring

* Avoid re-computing the same calculations

* Extract sal method into separate module

* Minor refactoring

* Rename tests

* Fix compability issue and rename module

* Remove unused argument

* Add thr_factor argument

* Fix backward compatibility

* Rename variable

* Fix black

* Fix black part 2

* Replace max_precip with quantile95_precip

Replace max_precip with quantile95_precip for calculating the threshold.

* Convert masked arrays to numpy arrays

This avoids problems with nanquantile

* Fix skimage backward compatibility

* Add bibliography

* Compute quantile on wet pixels only

* Fix property name

* Set fill value in all cases

* Make sure that it works with empty inputs

Return nan when a score is undefined

* Aesthetics

* Add no-cache-dir flag

* Pin numpy build version to match the one available on conda-forge

* Update module name

* Pin maximum numpy version

* Revert commit 94ea041

* Set minmax=minref

Following suggestion from @feldmann-m

* Subpress all splits if thr_factor is passed

Following suggestion from @feldmann-m

* New set of parameters for tstorm

* Add option to specifiy the detection quantile

* Improve docstrings

* Set minimum python version to 3.7  (#253)

* Set minimum python version to 3.7

and maximum version to 3.9

* Update github actions

Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>

* Add docstring references

* Use mamba to setup test environments (#256)

* Try using mamba to speedup installing dependencies

* Use mamba.bat command for windows

Co-authored-by: Esmail Ghaemi <esi@Esmails-Air.fritz.box>
Co-authored-by: Esmail Ghaemi <esi@Esmails-MacBook-Air.local>
Co-authored-by: Daniele Nerini <daniele.nerini@gmail.com>
Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>
Co-authored-by: Daniele Nerini <daniele.nerini@meteoswiss.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python 3.6 reached end-of-life
2 participants