IAMconsortium / pyam

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

Release candidate 1.2 #586

Closed danielhuppmann closed 2 years ago

danielhuppmann commented 2 years ago

Description of PR

This PR makes all necessary updates for a new release.

The PR also implements a new workflow to automatically create a release on pypi, simply by creating and pushing tags. This is based on the work by @khaeru on the iam-units package.

As a third step, the PR refactors the version-attribute from versioneer to setuptools_scm.

codecov[bot] commented 2 years ago

Codecov Report

Merging #586 (baa402c) into main (9cfe98e) will increase coverage by 0.4%. The diff coverage is 37.5%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #586     +/-   ##
=======================================
+ Coverage   93.7%   94.1%   +0.4%     
=======================================
  Files         50      50             
  Lines       5341    5318     -23     
=======================================
+ Hits        5006    5009      +3     
+ Misses       335     309     -26     
Impacted Files Coverage Δ
setup.py 0.0% <0.0%> (ø)
pyam/__init__.py 67.5% <46.1%> (-14.0%) :arrow_down:
pyam/core.py 94.3% <0.0%> (ø)

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 9cfe98e...baa402c. Read the comment docs.

danielhuppmann commented 2 years ago

The latest rc-tag was successfully published on https://test.pypi.org/project/pyam-iamc/1.2.0rc7/

danielhuppmann commented 2 years ago

Added classifiers to setup.cfg and added the three pyam-logos/headers to the docs folder, so that they can be directly used/imported from other GitHub repos

danielhuppmann commented 2 years ago

Thanks for the comments, @gidden - all done!