Skip to content
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

fix: Use str object for jupyterlite-sphinx jupyterlite_dir config #2458

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

matthewfeickert
Copy link
Member

@matthewfeickert matthewfeickert commented Mar 20, 2024

Description

  • To avoid warning
WARNING: The config value `jupyterlite_dir` has type `PosixPath`, defaults to `str`.

use a str for the jupyterlite-sphinx v0.13.0+ jupyterlite_dir config option.

Checklist Before Requesting Reviewer

  • Tests are passing
  • "WIP" removed from the title of the pull request
  • Selected an Assignee for the PR to be responsible for the log summary

Before Merging

For the PR Assignees:

  • Summarize commit messages into a comprehensive review of the PR
* To avoid warning

WARNING: The config value `jupyterlite_dir` has type `PosixPath`, defaults to `str`.

 use a str for the jupyterlite-sphinx v0.13.0+ jupyterlite_dir config
 option.
* Update jupyterlite-sphinx lower bound to v0.13.1 in 'docs' extra.
* Amends PR https://github.com/scikit-hep/pyhf/pull/2300

@matthewfeickert matthewfeickert added docs Documentation related fix A bug fix need-to-backport tmp label until can be backported to patch release branch labels Mar 20, 2024
@matthewfeickert matthewfeickert self-assigned this Mar 20, 2024
@matthewfeickert matthewfeickert marked this pull request as draft March 20, 2024 00:15
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.21%. Comparing base (428c9e1) to head (c4652d0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2458   +/-   ##
=======================================
  Coverage   98.21%   98.21%           
=======================================
  Files          69       69           
  Lines        4543     4543           
  Branches      804      804           
=======================================
  Hits         4462     4462           
  Misses         48       48           
  Partials       33       33           
Flag Coverage Δ
contrib 97.79% <ø> (ø)
doctest 98.08% <ø> (ø)
unittests-3.10 96.23% <ø> (ø)
unittests-3.11 96.23% <ø> (ø)
unittests-3.12 96.23% <ø> (ø)
unittests-3.8 96.25% <ø> (ø)
unittests-3.9 96.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pyproject.toml Outdated Show resolved Hide resolved
* To avoid warning

WARNING: The config value `jupyterlite_dir' has type `PosixPath', defaults to `str'.

 use a str for the jupyterlite-sphinx v0.13.1+ jupyterlite_dir config
 option.
* Update jupyterlite-spinx lower bound to v0.13.1 in 'docs' extra.
* Reverts PR https://github.com/scikit-hep/pyhf/pull/ 2300
@matthewfeickert matthewfeickert marked this pull request as ready for review March 22, 2024 15:08
@matthewfeickert matthewfeickert merged commit 39db83b into main Mar 22, 2024
22 checks passed
@matthewfeickert matthewfeickert deleted the docs/fix-jupyterlite-dir-path branch March 22, 2024 15:36
matthewfeickert added a commit that referenced this pull request May 30, 2024
* Backport:
   - PR #2443
   - PR #2446
   - PR #2451
   - PR #2458
   - PR #2460
   - PR #2465
   - PR #2468
   - PR #2471
   - PR #2472
@matthewfeickert
Copy link
Member Author

@meeseeksdev backport to release/v0.7.x

meeseeksmachine pushed a commit to meeseeksmachine/pyhf that referenced this pull request May 30, 2024
@matthewfeickert matthewfeickert removed the need-to-backport tmp label until can be backported to patch release branch label May 30, 2024
matthewfeickert added a commit that referenced this pull request May 30, 2024
…config (#2501)

* Backport PR #2458
* To avoid warning

WARNING: The config value `jupyterlite_dir` has type `PosixPath`, defaults to `str`.

 use a str for the jupyterlite-sphinx v0.13.0+ jupyterlite_dir config
 option.

Co-authored-by: Matthew Feickert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related fix A bug fix
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant