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

python3Packages.cookiecutter: add missing slugify dependency #89340

Merged
merged 1 commit into from Jun 4, 2020

Conversation

utdemir
Copy link
Member

@utdemir utdemir commented Jun 2, 2020

Motivation for this change

cookiecutter currently (cfa5a0c0e09) does not build, complaining that it can not find python-slugify dependency. This PR adds the dependency to fix the build.

It was working at least until last week, but I do not know what broke it. Probably a transitive dependency used to depend on python-slugify.

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.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

To comply with CONTRIBUTING.md please have the commit message name be of the format

<pkg-name>: <subject-line>

for more examples, please look at https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#submitting-changes

in your case, the commit message should be:

python3Packages.cookiecutter: add missing slugify dependency

otherwise LGTM

@utdemir
Copy link
Member Author

utdemir commented Jun 3, 2020

Thanks @jonringer , I updated the commit message, and will make sure that my future PR's follows CONTRIBUTING.md.

@ofborg ofborg bot requested a review from kragniz June 3, 2020 21:41
@aycanirican
Copy link
Member

@kragniz This also works for MacOS.

@bhipple bhipple changed the title Fix cookiecutter build by adding slugify dependency python3Packages.cookiecutter: add missing slugify dependency Jun 4, 2020
@bhipple
Copy link
Contributor

bhipple commented Jun 4, 2020

Result of nixpkgs-review pr 89340 1

6 packages built:
- aws-sam-cli
- cookiecutter (python37Packages.cookiecutter)
- python27Packages.cookiecutter
- python37Packages.mesa
- python38Packages.cookiecutter
- python38Packages.mesa

@bhipple bhipple merged commit 94bb84f into NixOS:master Jun 4, 2020
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

5 participants