Skip to content

tempita: fix broken repo #79209

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

Closed
wants to merge 1 commit into from
Closed

Conversation

jpgu-epam
Copy link

@jpgu-epam jpgu-epam commented Feb 4, 2020

Motivation for this change

Tempita src is broken.

Closes #79207

Things done

Update tempita src to a new existing repo.

  • 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.

Sorry, something went wrong.

repo = "tempita";
rev = "47414a7c6e46a9a9afe78f0bce2ea299fa84d10";
sha256 = "0f33jjjs5rvp7ar2j6ggyfykcrsrn04jaqcq71qfvycf6b7nw3rn";
src = fetchurl {
Copy link
Member

Choose a reason for hiding this comment

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

Why not fetchFromBitbucket?

Copy link
Contributor

Choose a reason for hiding this comment

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

fetchFromBitbucket {
  owner = "ianb";
  repo = pname;
  rev = "97392d008cc8";
  sha256 = "0nxnkxjvfyxygmws2zxql590mwqsqd1rnhy80m9nbpdh81p7vh9a";
};

Copy link
Author

Choose a reason for hiding this comment

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

Will do it tomorrow, thanks.

Copy link
Contributor

Choose a reason for hiding this comment

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

Will do it tomorrow, thanks.

Tomorrow was long ago. @jpgu-epam tempita is still broken on master, is there any chance you could reach to it?

};

buildInputs = [ nose ];

meta = {
homepage = https://github.com/gjhiggins/tempita;
homepage = http://pythonpaste.org/tempita/;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
homepage = http://pythonpaste.org/tempita/;
homepage = "http://pythonpaste.org/tempita/";

repo = "tempita";
rev = "47414a7c6e46a9a9afe78f0bce2ea299fa84d10";
sha256 = "0f33jjjs5rvp7ar2j6ggyfykcrsrn04jaqcq71qfvycf6b7nw3rn";
src = fetchurl {
Copy link
Contributor

Choose a reason for hiding this comment

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

fetchFromBitbucket {
  owner = "ianb";
  repo = pname;
  rev = "97392d008cc8";
  sha256 = "0nxnkxjvfyxygmws2zxql590mwqsqd1rnhy80m9nbpdh81p7vh9a";
};


buildPythonPackage {
version = "0.5.3-2016-09-28";
version = "0.5.3";
pname = "tempita";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
pname = "tempita";
pname = "tempita";
disabled = isPy3k;
builder for '/nix/store/dpkdcv6188hc0x19492zqcmarvy2sd08-python3.7-tempita-0.5.3.drv' failed with exit code 1; last 10 log lines:
      except SyntaxError, e:
                        ^
  SyntaxError: invalid syntax

  ----------------------------------------------------------------------
  Ran 1 test in 0.005s

  FAILED (errors=1)
  Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
  error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
cannot build derivation '/nix/store/4aisfif26rqqmcmab0q1dh5xi4hp81f5-python3.7-sqlalchemy-migrate-0.12.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wjx2cmyj4svdpvnsxjvcl15j9wqgz8zz-python3.7-buildbot-2.6.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kmnzp31ppds2n7fxj6k4y89yww48f67f-python3.7-python3.7-buildbot-2.6.0-with-plugins.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/sy3b14k6s2a4ng7jkjyy7gagfi0km04w-python3.7-python3.7-buildbot-2.6.0-with-plugins.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/983azjq42fa334wrzb59zbqalcrhs6hx-pytrainer-2.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/x9bhhd2cl252zfgaxzj3syjig3xm4xki-env.drv': 11 dependencies couldn't be built
[5 built (2 failed), 49 copied (184.7 MiB), 35.4 MiB DL]
error: build of '/nix/store/x9bhhd2cl252zfgaxzj3syjig3xm4xki-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/79209
11 package failed to build:
buildbot buildbot-full buildbot-ui python37Packages.sqlalchemy_migrate python37Packages.tempita python38Packages.buildbot python38Packages.buildbot-full python38Packages.buildbot-ui python38Packages.sqlalchemy_migrate python38Packages.tempita pytrainer

2 package built:
python27Packages.sqlalchemy_migrate python27Packages.tempita

@@ -1,20 +1,18 @@
{ lib, buildPythonPackage, fetchFromGitHub, nose }:
{ lib, buildPythonPackage, fetchurl, nose }:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{ lib, buildPythonPackage, fetchurl, nose }:
{ lib, buildPythonPackage, isPy3k, fetchurl, nose }:

@aanderse
Copy link
Member

ping @jpgu-epam

@jpgu-epam jpgu-epam closed this May 20, 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.

tempita is broken
6 participants