IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
226 stars 118 forks source link

Do not require `py` as a dependency #635

Closed danielhuppmann closed 2 years ago

danielhuppmann commented 2 years ago

Description of PR

Remove py as a dependency (introduced in #634), only use if installed.

codecov[bot] commented 2 years ago

Codecov Report

Merging #635 (f88090f) into main (7826d18) will decrease coverage by 0.0%. The diff coverage is 57.1%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #635     +/-   ##
=======================================
- Coverage   94.6%   94.5%   -0.1%     
=======================================
  Files         57      57             
  Lines       5658    5663      +5     
=======================================
+ Hits        5355    5357      +2     
- Misses       303     306      +3     
Impacted Files Coverage Δ
pyam/core.py 94.6% <57.1%> (-0.4%) :arrow_down:

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 7826d18...f88090f. Read the comment docs.