You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -73,35 +73,6 @@ From the root pvlib-python directory:
The package is now installable with ``pip install pvlib``. Test it!
## Upload to Anaconda.org
1. Activate the base conda environment ``conda activate base``.
1. In a non-pvlib directory, ``conda skeleton pypi pvlib``.
- This step can be tricky to get working. This command worked for the 0.9.2 release: `conda skeleton pypi pvlib --extra-specs setuptools_scm --extra-specs scipy==1.5 --python-version 3.6`.
2. Add some optional dependencies to ``pvlib/meta.yaml`` under both ``host`` and ``run``. Check packages against the conda-forge meta.yaml discussed below. Packages may include:
- statsmodels
- numba
- ephem
- netcdf4
- setuptools_scm (under `host`)
2. Add ``noarch: python`` to the ``build`` section.
2. You may need to delete much of the `test` section. Compare with the `conda-forge` recipe in the next section.
2. Build the package for the "noarch" system type (compatible with Linux, Mac, and Windows) and for multiple Python versions. ``conda build --py 3.7 --py 3.8 --py 3.9 --py 3.10 pvlib/``
2. Upload to Anaconda.org: ``anaconda upload -u pvlib ~/miniconda3/conda-bld/noarch/pvlib-0.6.0a2-py_0.tar.bz2``
- May need `conda install anaconda-client` for `anaconda` to be available.
The package is now installable with ``conda install -c pvlib pvlib``
Then test it on another kind of operating system, if possible.
## Update conda-forge packages
1. Fork the [pvlib-python-feedstock](https://github.com/conda-forge/pvlib-python-feedstock).
Expand All
@@ -111,8 +82,13 @@ Then test it on another kind of operating system, if possible.
2. Complete the check marks on the conda-forge pull request template.
2. Merge the pull request (assuming the tests pass).
It often takes hours for conda-forge to build the new package. Eventually you can test it using the same procedure outlined above, but change the package name to `pvlib-python` and the channel name to `conda-forge`: `conda create -n pvlibreltest python=3.7 pvlib-python -c conda-forge`
It sometimes takes hours for conda-forge to build the new package. Eventually you can test it using a procedure like this:
Then test it on another kind of operating system, if possible.
## Publicize release
Expand DownExpand Up
@@ -155,5 +131,7 @@ Users are advised to read the release notes before updating.
1. Edit the infobox on the [wikipedia page](https://en.wikipedia.org/wiki/Pvlib_python) to list the new version.
## Start new version
1. Make a whatsnew file for the next version.
1. Make a whatsnew file for the next version.
## Upload to Anaconda.org (obsolete)
v0.9.4 was the last version to be distributed via the `pvlib` anaconda channel, so the release procedure no longer involves uploading a distribution to anaconda.org (see [#1622](https://github.com/pvlib/pvlib-python/issues/1622)). For reference, the original content of this section is preserved here: https://github.com/pvlib/pvlib-python/wiki/Release-procedures/c0a6471e3813742e75b73e6f0ba874e2bb87daf0#upload-to-anacondaorg