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

sphinx_rtd_theme: 0.4.3 -> 0.5.1 #118180

Closed
wants to merge 1 commit into from
Closed

Conversation

Mathnerd314
Copy link
Contributor

Motivation for this change

Update to the new version. It uses the hack mentioned in readthedocs/sphinx_rtd_theme#1014 of setting CI=1 to avoid running npm.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@r-rmcgibbo
Copy link

r-rmcgibbo commented Apr 1, 2021

Result of nixpkgs-review pr 118180 at 7842429 run on aarch64-linux 1

12 packages built successfully:
  • beets
  • beetsExternalPlugins.alternatives
  • beetsExternalPlugins.copyartifacts
  • beetsExternalPlugins.extrafiles
  • python38Packages.imantics
  • python38Packages.soco
  • python38Packages.sphinx_rtd_theme
  • vyper (python38Packages.vyper)
  • python39Packages.imantics
  • python39Packages.soco
  • python39Packages.sphinx_rtd_theme
  • python39Packages.vyper
1 suggestion:
  • warning: maintainers-missing

    Package does not have a maintainer. Consider adding yourself?

    Near pkgs/development/python-modules/sphinx_rtd_theme/default.nix:27:3:

       |
    27 |   meta = with lib; {
       |   ^
    

Result of nixpkgs-review pr 118180 at 7842429 run on x86_64-linux 1

12 packages built successfully:
  • beets
  • beetsExternalPlugins.alternatives
  • beetsExternalPlugins.copyartifacts
  • beetsExternalPlugins.extrafiles
  • python38Packages.imantics
  • python38Packages.soco
  • python38Packages.sphinx_rtd_theme
  • vyper (python38Packages.vyper)
  • python39Packages.imantics
  • python39Packages.soco
  • python39Packages.sphinx_rtd_theme
  • python39Packages.vyper
1 suggestion:
  • warning: maintainers-missing

    Package does not have a maintainer. Consider adding yourself?

    Near pkgs/development/python-modules/sphinx_rtd_theme/default.nix:27:3:

       |
    27 |   meta = with lib; {
       |   ^
    

};

propagatedBuildInputs = [ sphinx ];

checkInputs = [ readthedocs-sphinx-ext pytest ];
CI=1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we export this variable where it is required?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what you mean. It is exported for the build and required by the build. Are you saying you would prefer to patch the build script?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it would be nicer if we did something like

  preBuild = ''
    export CI=1
  '';


src = fetchPypi {
inherit pname version;
sha256 = "728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a";
sha256 = "19c31qhfiqbm6y7mamglrc2mc7l6n4lasb8jry01lc67l3nqk9pd";
};

propagatedBuildInputs = [ sphinx ];

checkInputs = [ readthedocs-sphinx-ext pytest ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you switch to pytestCheckHook?

homepage = "https://github.com/snide/sphinx_rtd_theme/";
license = licenses.bsd3;
homepage = "https://github.com/readthedocs/sphinx_rtd_theme";
license = licenses.mit;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package is missing a maintainer.

@FRidh
Copy link
Member

FRidh commented Apr 15, 2021

Pushed 80e725f to staging-next. Thank you.

@FRidh FRidh closed this Apr 15, 2021
@Mathnerd314 Mathnerd314 deleted the rtd_theme branch April 16, 2021 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants