executablebooks / sphinx-exercise

A Sphinx extension for producing exercise and solution directives.
https://ebp-sphinx-exercise.readthedocs.io
MIT License
18 stars 6 forks source link

v1.0 released on github but not on pypi or conda-forge #69

Open scottyhq opened 1 month ago

scottyhq commented 1 month ago

Describe the bug

context

v1.0 was recently released but it looks like the publishing CI failed to publish it on pypi and ronda-forge

expectation I expect conda install sphinx-exercise or pip install sphinx-exercise to install v1.0

bug Instead an older version (0.4.1) is installed: https://pypi.org/project/sphinx-exercise/ https://github.com/conda-forge/sphinx-exercise-feedstock/issues/5

Reproduce the bug

CI Logs: https://github.com/executablebooks/sphinx-exercise/actions/runs/8939577129

List your environment

No response

welcome[bot] commented 1 month ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

agoose77 commented 1 month ago

Wow, that's surprising! The CI was all passing when I made the release, but it looks like the actual release job failed. I wonder if a matplotlib update was released between the two test runs...

scottyhq commented 1 month ago

Could it just be an intermittent "building font cache" message from matplotlib rather than any versioning issue. I see this message in the log:

E       +<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Matplotlib is building the font cache; this may take a moment.
E       +</pre></div>
E       +</div>

If so maybe it's as simple as hitting 'rerun failed job' to get the test to pass and the release to appear on pypi?

For what it's worth, if following numpy's lead could also drop Python 3.9 from the tests :) https://numpy.org/neps/nep-0029-deprecation_policy.html#drop-schedule

scottyhq commented 1 month ago

@agoose77 apologies for the pestering, but still hoping this is a simple 're-run' job to get pip install sphinx-exercise to install 1.0?