Skip to content

Fixed documentation build error #1161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 28, 2022
Merged

Fixed documentation build error #1161

merged 4 commits into from
Dec 28, 2022

Conversation

ZviBaratz
Copy link
Contributor

@ZviBaratz ZviBaratz commented Dec 28, 2022

The conf.py file included an extraction of a [metadata] attribute from setup.cfg using ConfigParser. Since the metadata was moved to pyproject.toml, this raised an exception. To solve this, I added the toml library to the doc requirements and replaced ConfigParser.read() with toml.load(). Sphinx also required a version update to build successfully. This PR resolved #1160.

Added toml to docs requirements and replaced the ConfigParser metadata read. Sphinx also needed to be upgraded for a successful build. This resolves nipy#1160.
@codecov
Copy link

codecov bot commented Dec 28, 2022

Codecov Report

Base: 92.38% // Head: 92.38% // No change to project coverage 👍

Coverage data is based on head (e6477cb) compared to base (557a7f2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1161   +/-   ##
=======================================
  Coverage   92.38%   92.38%           
=======================================
  Files          98       98           
  Lines       12264    12264           
  Branches     2520     2520           
=======================================
  Hits        11330    11330           
  Misses        613      613           
  Partials      321      321           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@matthew-brett
Copy link
Member

MRG: update doc build

Fixes for configuration change.

@matthew-brett matthew-brett merged commit 0a6e73e into nipy:master Dec 28, 2022
@effigies effigies added this to the 5.0.0 milestone Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs build failure
3 participants