From 32c050eeec6cb557b9a23aebca0e2a0be5d8bf3e Mon Sep 17 00:00:00 2001 From: Davide Fioriti <67809479+davide-f@users.noreply.github.com> Date: Thu, 19 Sep 2024 18:02:52 +0200 Subject: [PATCH] Release v0.4.1 (#1103) --- config.default.yaml | 2 +- config.tutorial.yaml | 2 +- doc/conf.py | 2 +- doc/release_notes.rst | 11 +- envs/environment.fixed.yaml | 255 +++++++++++++++++++----------------- 5 files changed, 144 insertions(+), 128 deletions(-) diff --git a/config.default.yaml b/config.default.yaml index d42d5bc0c..bf276da66 100644 --- a/config.default.yaml +++ b/config.default.yaml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: CC0-1.0 -version: 0.4.0 +version: 0.4.1 tutorial: false logging: diff --git a/config.tutorial.yaml b/config.tutorial.yaml index 732702fad..e8fb947f2 100644 --- a/config.tutorial.yaml +++ b/config.tutorial.yaml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: CC0-1.0 -version: 0.4.0 +version: 0.4.1 tutorial: true logging: diff --git a/doc/conf.py b/doc/conf.py index 9263d4cc0..6f1edc018 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -65,7 +65,7 @@ copyright = f"{datetime.datetime.today().year}, {author}" # The full version, including alpha/beta/rc tags -release = "0.4.0" +release = "0.4.1" # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx" diff --git a/doc/release_notes.rst b/doc/release_notes.rst index 76d8b3c31..07e93bee7 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -15,13 +15,20 @@ E.g. if a new rule becomes available describe how to use it `snakemake -j1 run_t **New Features and Major Changes** +**Minor Changes and bug-fixing** + + +PyPSA-Earth 0.4.1 +================= + +**New Features and Major Changes** + +* Add functionality to modify the cost assumptions using config files `PR #1097 `__ **Minor Changes and bug-fixing** * Remove unused `countries_codes` argument from `load_GDP` function in `build_shapes.py` script, which was not being called as intended with positional arguments `PR #1069 `__ * Fixed problematic float parsing (`_parse_float`) in `clean_osm_data.py` to make sure all OSM lines are correctly accounted for `PR #1089 `__ -* Add functionality to modify the cost assumptions using config files `PR #1097 `__ - * Fix minor bug for advanced csp implementation `PR #1076 `__ * Fix minor bug in `build_powerplants.py` where the gas technology assignment incorrectly introduced NaN values for all powerplant technologies. `PR #1102 `__ diff --git a/envs/environment.fixed.yaml b/envs/environment.fixed.yaml index 4d6d181ec..873a45f51 100644 --- a/envs/environment.fixed.yaml +++ b/envs/environment.fixed.yaml @@ -23,9 +23,9 @@ dependencies: - asttokens=2.4.1 - async-lru=2.0.4 - atk-1.0=2.38.0 -- atlite=0.2.13 +- atlite=0.2.14 - attr=2.5.1 -- attrs=23.2.0 +- attrs=24.2.0 - aws-c-auth=0.7.22 - aws-c-cal=0.7.1 - aws-c-common=0.9.23 @@ -48,7 +48,7 @@ dependencies: - beautifulsoup4=4.12.3 - bleach=6.1.0 - blosc=1.21.6 -- bokeh=3.4.2 +- bokeh=3.5.2 - boltons=24.0.0 - bottleneck=1.4.0 - branca=0.7.2 @@ -58,16 +58,16 @@ dependencies: - brotlicffi=1.1.0.0 - bzip2=1.0.8 - c-ares=1.32.3 -- c-blosc2=2.15.0 -- ca-certificates=2024.7.4 +- c-blosc2=2.15.1 +- ca-certificates=2024.8.30 - cached-property=1.5.2 - cached_property=1.5.2 -- cads-api-client=1.1.0 +- cads-api-client=1.3.2 - cairo=1.18.0 - cartopy=0.23.0 -- cdsapi=0.7.0 -- certifi=2024.7.4 -- cffi=1.16.0 +- cdsapi=0.7.3 +- certifi=2024.8.30 +- cffi=1.17.1 - cfgv=3.3.1 - cfitsio=4.4.1 - cftime=1.6.4 @@ -76,39 +76,39 @@ dependencies: - click-plugins=1.1.1 - cligj=0.7.2 - cloudpickle=3.0.0 -- coin-or-cbc=2.10.11 -- coin-or-cgl=0.60.7 -- coin-or-clp=1.17.8 -- coin-or-osi=0.108.10 -- coin-or-utils=2.11.11 -- coincbc=2.10.11 +- coin-or-cbc=2.10.12 +- coin-or-cgl=0.60.9 +- coin-or-clp=1.17.10 +- coin-or-osi=0.108.11 +- coin-or-utils=2.11.12 +- coincbc=2.10.12 - colorama=0.4.6 - colorcet=3.1.0 - comm=0.2.2 -- conda=24.5.0 +- conda=24.7.1 - conda-libmamba-solver=24.7.0 - conda-package-handling=2.3.0 - conda-package-streaming=0.10.0 - configargparse=1.7 - connection_pool=0.0.3 -- contextily=1.6.0 -- contourpy=1.2.1 +- contextily=1.6.2 +- contourpy=1.3.0 - country_converter=1.2 - cycler=0.12.1 - cytoolz=0.12.3 -- dask=2024.7.1 -- dask-core=2024.7.1 -- dask-expr=1.1.9 +- dask=2024.9.0 +- dask-core=2024.9.0 +- dask-expr=1.1.14 - datashader=0.16.3 - datrie=0.8.2 - dbus=1.13.6 -- debugpy=1.8.2 +- debugpy=1.8.5 - decorator=5.1.1 - defusedxml=0.7.1 - deprecation=2.1.0 - descartes=1.1.0 - distlib=0.3.8 -- distributed=2024.7.1 +- distributed=2024.9.0 - distro=1.9.0 - docutils=0.21.2 - dpath=2.2.0 @@ -117,10 +117,10 @@ dependencies: - entsoe-py=0.6.8 - et_xmlfile=1.1.0 - exceptiongroup=1.2.2 -- executing=2.0.1 -- expat=2.6.2 -- filelock=3.15.4 -- fiona=1.9.6 +- executing=2.1.0 +- expat=2.6.3 +- filelock=3.16.1 +- fiona=1.10.1 - fmt=10.2.1 - folium=0.17.0 - font-ttf-dejavu-sans-mono=2.37 @@ -136,9 +136,9 @@ dependencies: - freexl=2.0.0 - fribidi=1.0.10 - frozendict=2.4.4 -- fsspec=2024.6.1 +- fsspec=2024.9.0 - future=1.0.0 -- gdal=3.9.1 +- gdal=3.9.2 - gdk-pixbuf=2.42.12 - geographiclib=2.0 - geojson-rewind=1.1.0 @@ -147,8 +147,8 @@ dependencies: - geopy=2.4.1 - geos=3.12.2 - geotiff=1.7.3 -- geoviews=1.12.0 -- geoviews-core=1.12.0 +- geoviews=1.13.0 +- geoviews-core=1.13.0 - gettext=0.22.5 - gettext-tools=0.22.5 - gflags=2.2.2 @@ -161,9 +161,9 @@ dependencies: - glpk=5.0 - gmp=6.3.0 - graphite2=1.3.13 -- graphviz=11.0.0 -- gst-plugins-base=1.24.5 -- gstreamer=1.24.5 +- graphviz=12.0.0 +- gst-plugins-base=1.24.7 +- gstreamer=1.24.7 - gtk2=2.24.33 - gts=0.7.6 - gurobi=11.0.3 @@ -175,21 +175,21 @@ dependencies: - holoviews=1.19.1 - hpack=4.0.0 - httpcore=1.0.5 -- httpx=0.27.0 +- httpx=0.27.2 - humanfriendly=10.0 - hvplot=0.10.0 - hyperframe=6.0.1 -- icu=73.2 -- identify=2.6.0 -- idna=3.7 -- importlib-metadata=8.2.0 -- importlib_metadata=8.2.0 -- importlib_resources=6.4.0 +- icu=75.1 +- identify=2.6.1 +- idna=3.10 +- importlib-metadata=8.5.0 +- importlib_metadata=8.5.0 +- importlib_resources=6.4.5 - inflate64=1.0.0 - iniconfig=2.0.0 - ipopt=3.13.2 - ipykernel=6.29.5 -- ipython=8.26.0 +- ipython=8.27.0 - isoduration=20.11.0 - jedi=0.19.1 - jinja2=3.1.4 @@ -202,17 +202,17 @@ dependencies: - jsonschema-specifications=2023.12.1 - jsonschema-with-format-nongpl=4.23.0 - jupyter-lsp=2.2.5 -- jupyter_client=8.6.2 +- jupyter_client=8.6.3 - jupyter_core=5.7.2 - jupyter_events=0.10.0 - jupyter_server=2.14.2 - jupyter_server_terminals=0.5.3 -- jupyterlab=4.2.4 +- jupyterlab=4.2.5 - jupyterlab_pygments=0.3.0 - jupyterlab_server=2.27.3 - kealib=1.5.3 - keyutils=1.6.1 -- kiwisolver=1.4.5 +- kiwisolver=1.4.7 - krb5=1.21.3 - lame=3.100 - lcms2=2.16 @@ -237,36 +237,43 @@ dependencies: - libclang13=18.1.8 - libcrc32c=1.1.2 - libcups=2.3.3 -- libcurl=8.9.0 -- libdeflate=1.20 +- libcurl=8.10.1 +- libdeflate=1.21 +- libdrm=2.4.123 - libedit=3.1.20191231 +- libegl=1.7.0 - libev=4.33 - libevent=2.1.12 -- libexpat=2.6.2 +- libexpat=2.6.3 - libffi=3.4.2 - libflac=1.4.3 +- libgcc=14.1.0 - libgcc-ng=14.1.0 - libgcrypt=1.11.0 - libgd=2.3.3 -- libgdal=3.9.1 -- libgdal-core=3.9.1 -- libgdal-fits=3.9.1 -- libgdal-grib=3.9.1 -- libgdal-hdf4=3.9.1 -- libgdal-hdf5=3.9.1 -- libgdal-jp2openjpeg=3.9.1 -- libgdal-kea=3.9.1 -- libgdal-netcdf=3.9.1 -- libgdal-pdf=3.9.1 -- libgdal-pg=3.9.1 -- libgdal-postgisraster=3.9.1 -- libgdal-tiledb=3.9.1 -- libgdal-xls=3.9.1 +- libgdal=3.9.2 +- libgdal-core=3.9.2 +- libgdal-fits=3.9.2 +- libgdal-grib=3.9.2 +- libgdal-hdf4=3.9.2 +- libgdal-hdf5=3.9.2 +- libgdal-jp2openjpeg=3.9.2 +- libgdal-kea=3.9.2 +- libgdal-netcdf=3.9.2 +- libgdal-pdf=3.9.2 +- libgdal-pg=3.9.2 +- libgdal-postgisraster=3.9.2 +- libgdal-tiledb=3.9.2 +- libgdal-xls=3.9.2 - libgettextpo=0.22.5 - libgettextpo-devel=0.22.5 +- libgfortran=14.1.0 - libgfortran-ng=14.1.0 - libgfortran5=14.1.0 +- libgl=1.7.0 - libglib=2.80.3 +- libglvnd=1.7.0 +- libglx=1.7.0 - libgomp=14.1.0 - libgoogle-cloud=2.26.0 - libgoogle-cloud-storage=2.26.0 @@ -280,8 +287,8 @@ dependencies: - libllvm14=14.0.6 - libllvm15=15.0.7 - libllvm18=18.1.8 -- libmamba=1.5.8 -- libmambapy=1.5.8 +- libmamba=1.5.9 +- libmambapy=1.5.9 - libnetcdf=4.9.2 - libnghttp2=1.58.0 - libnsl=2.0.1 @@ -289,27 +296,28 @@ dependencies: - libopenblas=0.3.27 - libopus=1.3.1 - libparquet=17.0.0 -- libpng=1.6.43 -- libpq=16.3 +- libpciaccess=0.18 +- libpng=1.6.44 +- libpq=16.4 - libprotobuf=4.25.3 - libre2-11=2023.09.01 -- librsvg=2.58.2 +- librsvg=2.58.4 - librttopo=1.1.0 - libsndfile=1.2.2 -- libsodium=1.0.18 +- libsodium=1.0.20 - libsolv=0.7.30 - libspatialindex=2.0.0 - libspatialite=5.1.0 -- libsqlite=3.46.0 +- libsqlite=3.46.1 - libssh2=1.11.0 +- libstdcxx=14.1.0 - libstdcxx-ng=14.1.0 -- libsystemd0=255 +- libsystemd0=256.6 - libthrift=0.19.0 - libtiff=4.6.0 - libutf8proc=2.8.0 - libuuid=2.38.1 - libvorbis=1.3.7 -- libwebp=1.4.0 - libwebp-base=1.4.0 - libxcb=1.16 - libxcrypt=4.4.36 @@ -322,34 +330,34 @@ dependencies: - linopy=0.3.11 - llvmlite=0.43.0 - locket=1.0.0 -- lxml=5.2.2 +- lxml=5.3.0 - lz4=4.3.3 - lz4-c=1.9.4 - lzo=2.10 -- mamba=1.5.8 -- mapclassify=2.7.0 +- mamba=1.5.9 +- mapclassify=2.8.0 - markdown=3.6 - markdown-it-py=3.0.0 - markupsafe=2.1.5 - matplotlib=3.5.2 - matplotlib-base=3.5.2 - matplotlib-inline=0.1.7 -- mdit-py-plugins=0.4.1 +- mdit-py-plugins=0.4.2 - mdurl=0.1.2 - memory_profiler=0.61.0 -- menuinst=2.1.1 +- menuinst=2.1.2 - mercantile=1.2.1 - metis=5.1.0 - minizip=4.0.7 - mistune=3.0.2 - mpg123=1.32.6 -- msgpack-python=1.0.8 +- msgpack-python=1.1.0 - multipledispatch=0.6.0 - multiurl=0.3.1 - multivolumefile=0.2.3 - munkres=1.1.4 -- mysql-common=8.3.0 -- mysql-libs=8.3.0 +- mysql-common=9.0.1 +- mysql-libs=9.0.1 - nbclient=0.10.0 - nbconvert-core=7.16.4 - nbformat=5.10.4 @@ -361,19 +369,19 @@ dependencies: - nomkl=1.0 - notebook-shim=0.2.4 - nspr=4.35 -- nss=3.102 +- nss=3.104 - numba=0.60.0 - numexpr=2.10.0 - numpy=1.26.4 - openjpeg=2.5.2 -- openpyxl=3.1.4 -- openssl=3.3.1 +- openpyxl=3.1.5 +- openssl=3.3.2 - orc=2.0.1 - overrides=7.7.0 - packaging=24.1 - pandas=2.2.2 - pandocfilters=1.5.0 -- panel=1.4.4 +- panel=1.5.0 - pango=1.54.0 - param=2.1.1 - parso=0.8.4 @@ -383,21 +391,21 @@ dependencies: - pexpect=4.9.0 - pickleshare=0.7.5 - pillow=10.4.0 -- pip=24.0 +- pip=24.2 - pixman=0.43.2 - pkgutil-resolve-name=1.3.10 - plac=1.4.3 -- platformdirs=4.2.2 +- platformdirs=4.3.6 - pluggy=1.5.0 - ply=3.11 -- polars=1.2.1 -- poppler=24.07.0 +- polars=1.7.1 +- poppler=24.08.0 - poppler-data=0.4.12 -- postgresql=16.3 -- powerplantmatching=0.5.15 -- pre-commit=3.7.1 -- progressbar2=4.4.2 -- proj=9.4.1 +- postgresql=16.4 +- powerplantmatching=0.6.0 +- pre-commit=3.8.0 +- progressbar2=4.5.0 +- proj=9.5.0 - prometheus_client=0.20.0 - prompt-toolkit=3.0.47 - protobuf=4.25.3 @@ -408,7 +416,7 @@ dependencies: - pulseaudio-client=17.0 - pure_eval=0.2.3 - py-cpuinfo=9.0.0 -- py7zr=0.21.1 +- py7zr=0.22.0 - pyarrow=17.0.0 - pyarrow-core=17.0.0 - pyarrow-hotfix=0.6 @@ -422,8 +430,8 @@ dependencies: - pydoe2=1.3.0 - pygments=2.18.0 - pyogrio=0.9.0 -- pyomo=6.7.3 -- pyparsing=3.1.2 +- pyomo=6.8.0 +- pyparsing=3.1.4 - pyppmd=1.1.0 - pyproj=3.6.1 - pypsa=0.24.0 @@ -431,8 +439,8 @@ dependencies: - pyqt5-sip=12.12.2 - pyshp=2.3.1 - pysocks=1.7.1 -- pytables=3.9.2 -- pytest=8.3.2 +- pytables=3.10.1 +- pytest=8.3.3 - python=3.10.14 - python-dateutil=2.9.0 - python-fastjsonschema=2.20.0 @@ -440,13 +448,13 @@ dependencies: - python-tzdata=2024.1 - python-utils=3.8.2 - python_abi=3.10 -- pytz=2024.1 -- pyviz_comms=3.0.2 -- pyyaml=6.0.1 -- pyzmq=26.0.3 -- pyzstd=0.16.0 +- pytz=2024.2 +- pyviz_comms=3.0.3 +- pyyaml=6.0.2 +- pyzmq=26.2.0 +- pyzstd=0.16.1 - qt-main=5.15.8 -- rasterio=1.3.10 +- rasterio=1.3.11 - re2=2023.09.01 - readline=8.2 - referencing=0.35.1 @@ -458,18 +466,18 @@ dependencies: - rfc3339-validator=0.1.4 - rfc3986-validator=0.1.1 - rioxarray=0.17.0 -- rpds-py=0.19.1 +- rpds-py=0.20.0 - rtree=1.3.0 - ruamel.yaml=0.17.26 - ruamel.yaml.clib=0.2.8 - s2n=1.4.17 -- scikit-learn=1.5.1 -- scipy=1.14.0 +- scikit-learn=1.5.2 +- scipy=1.14.1 - seaborn=0.13.2 - seaborn-base=0.13.2 - send2trash=1.8.3 -- setuptools=71.0.4 -- shapely=2.0.5 +- setuptools=73.0.1 +- shapely=2.0.6 - sip=6.7.12 - six=1.16.0 - smart_open=7.0.4 @@ -481,9 +489,9 @@ dependencies: - sortedcontainers=2.4.0 - soupsieve=2.5 - spdlog=1.13.0 -- sqlite=3.46.0 +- sqlite=3.46.1 - stack_data=0.6.2 -- statsmodels=0.14.2 +- statsmodels=0.14.3 - stopit=1.1.2 - tabulate=0.9.0 - tblib=3.0.0 @@ -499,14 +507,14 @@ dependencies: - toolz=0.12.1 - toposort=1.10 - tornado=6.4.1 -- tqdm=4.66.4 +- tqdm=4.66.5 - traitlets=5.14.3 -- truststore=0.8.0 -- types-python-dateutil=2.9.0.20240316 +- truststore=0.9.2 +- types-python-dateutil=2.9.0.20240906 - typing-extensions=4.12.2 - typing_extensions=4.12.2 - typing_utils=0.1.0 -- tzcode=2024a +- tzcode=2024b - tzdata=2024a - uc-micro-py=1.0.3 - ukkonen=1.0.1 @@ -514,14 +522,14 @@ dependencies: - unidecode=1.3.8 - uri-template=1.3.0 - uriparser=0.9.8 -- urllib3=2.2.2 -- validators=0.33.0 -- virtualenv=20.26.3 +- urllib3=2.2.3 +- validators=0.34.0 +- virtualenv=20.26.5 - wcwidth=0.2.13 -- webcolors=24.6.0 +- webcolors=24.8.0 - webencodings=0.5.1 - websocket-client=1.8.0 -- wheel=0.43.0 +- wheel=0.44.0 - wrapt=1.16.0 - xarray=2023.11.0 - xcb-util=0.4.1 @@ -540,11 +548,12 @@ dependencies: - xorg-libxdmcp=1.1.3 - xorg-libxext=1.3.4 - xorg-libxrender=0.9.11 +- xorg-libxxf86vm=1.1.5 - xorg-renderproto=0.11.1 - xorg-xextproto=7.3.0 - xorg-xf86vidmodeproto=2.3.1 - xorg-xproto=7.0.31 -- xyzservices=2024.6.0 +- xyzservices=2024.9.0 - xz=5.2.6 - yaml=0.2.5 - yaml-cpp=0.8.0 @@ -552,9 +561,9 @@ dependencies: - zeromq=4.3.5 - zict=3.0.0 - zipfile-deflate64=0.2.0 -- zipp=3.19.2 +- zipp=3.20.2 - zlib=1.3.1 -- zlib-ng=2.2.1 +- zlib-ng=2.2.2 - zstandard=0.23.0 - zstd=1.5.6 - pip: @@ -563,5 +572,5 @@ dependencies: - googledrivedownloader==0.4 - highspy==1.7.2 - numpoly==1.2.13 - - tsam==2.3.1 + - tsam==2.3.3 - vresutils==0.3.2.dev11+g150c1be