Skip to content

Stop maintaining the pvlib anaconda channel? #1622

Closed
@kandersolar

Description

@kandersolar

We provide pvlib distribution files in three places: PyPI, the conda-forge anaconda channel, and the pvlib anaconda channel. I can't immediately find a link, but @wholmgren and I have both expressed desire to stop maintaining the pvlib anaconda channel.

The main reason to stop maintaining it is that (at least in my experience) it's by far the most manual and fiddly of the three distributions to get right. I haven't been able to get it working on Windows for the last several releases, so I've been doing it on the benchmark server instead, and even that required figuring out some magical incantations.

There is some reason to think that ditching the pvlib channel wouldn't inconvenience most users; with the strange exception of v0.7.2, the pvlib channel files have historically been downloaded less than their conda-forge analogs:

image

Code for plot
import pandas as pd
import requests
import matplotlib.pyplot as plt

cases = ['pvlib/pvlib', 'conda-forge/pvlib-python', 'conda-forge/pvlib']
versions = ['0.7.0', '0.7.1', '0.7.2',
            '0.8.0', '0.8.1',
            '0.9.0', '0.9.1', '0.9.2', '0.9.3', '0.9.4']

data = {}
for case in cases:
    url = f'https://anaconda.org/{case}/files'
    response = requests.get(url, verify=False)
    df = pd.read_html(response.content)[0]
    df['version_cleaned'] = df['Name'].str.split("-").str[-2]
    downloads = df.groupby('version_cleaned')['Downloads'].sum()
    downloads = downloads.reindex(versions)
    data[case] = downloads

df = pd.DataFrame(data)
df.plot.bar()
plt.ylabel('Total Downloads (all builds)')

The proposition:

  • v0.9.4 is the last version to be distributed on the pvlib channel
  • update the installation page to either no longer mention the pvlib channel, or say that it's no longer maintained
  • include a prominent note in the next release's whatsnew
  • look into whether it's possible to mark the pvlib channel as obsolete or similar so that users get a warning when installing from it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions