tests: Remove egg test

It's annoying to keep up to date given that almost no one is using eggs.
This commit is contained in:
adisbladis 2023-02-27 14:15:03 +13:00
parent 4b6073c65b
commit efe13731a2
5 changed files with 0 additions and 61 deletions

View file

@ -62,7 +62,6 @@ builtins.removeAttrs
inherit (pkgs) postgresql;
};
# pyqt5 = skipOSX (callTest ./pyqt5 { });
eggs = callTest ./eggs { };
extras = callTest ./extras { };
source-filter = callTest ./source-filter { };
canonical-module-names = callTest ./canonical-module-names { };

View file

@ -1,9 +0,0 @@
{ lib, poetry2nix, python3, runCommand }:
let
drv = poetry2nix.mkPoetryApplication {
python = python3;
projectDir = ./.;
};
in
assert lib.strings.hasSuffix ".egg" (lib.elemAt drv.passthru.python.pkgs.pyasn1.src.urls 0);
runCommand "egg-test" { } "touch $out"

View file

@ -1,9 +0,0 @@
import pyasn1
def main():
print("egg-test")
if __name__ == "__main__":
main()

26
tests/eggs/poetry.lock generated
View file

@ -1,26 +0,0 @@
[[package]]
category = "main"
description = "ASN.1 types and codecs"
name = "pyasn1"
optional = false
python-versions = "*"
version = "0.4.8"
[metadata]
content-hash = "298cfae3c2c9739a70741fb47853558fcdda285eb1d561fedf8a36b79d3f64f1"
python-versions = "^3.6"
[metadata.files]
pyasn1 = [
{file = "pyasn1-0.4.8-py2.4.egg", hash = "sha256:fec3e9d8e36808a28efb59b489e4528c10ad0f480e57dcc32b4de5c9d8c9fdf3"},
{file = "pyasn1-0.4.8-py2.5.egg", hash = "sha256:0458773cfe65b153891ac249bcf1b5f8f320b7c2ce462151f8fa74de8934becf"},
{file = "pyasn1-0.4.8-py2.6.egg", hash = "sha256:5c9414dcfede6e441f7e8f81b43b34e834731003427e5b09e4e00e3172a10f00"},
{file = "pyasn1-0.4.8-py2.7.egg", hash = "sha256:6e7545f1a61025a4e58bb336952c5061697da694db1cae97b116e9c46abcf7c8"},
{file = "pyasn1-0.4.8-py3.1.egg", hash = "sha256:78fa6da68ed2727915c4767bb386ab32cdba863caa7dbe473eaae45f9959da86"},
{file = "pyasn1-0.4.8-py3.2.egg", hash = "sha256:08c3c53b75eaa48d71cf8c710312316392ed40899cb34710d092e96745a358b7"},
{file = "pyasn1-0.4.8-py3.3.egg", hash = "sha256:03840c999ba71680a131cfaee6fab142e1ed9bbd9c693e285cc6aca0d555e576"},
{file = "pyasn1-0.4.8-py3.4.egg", hash = "sha256:7ab8a544af125fb704feadb008c99a88805126fb525280b2270bb25cc1d78a12"},
{file = "pyasn1-0.4.8-py3.5.egg", hash = "sha256:e89bf84b5437b532b0803ba5c9a5e054d21fec423a89952a74f87fa2c9b7bce2"},
{file = "pyasn1-0.4.8-py3.6.egg", hash = "sha256:014c0e9976956a08139dc0712ae195324a75e142284d5f87f1a87ee1b068a359"},
{file = "pyasn1-0.4.8-py3.7.egg", hash = "sha256:99fcc3c8d804d1bc6d9a099921e39d827026409a58f2a720dcdb89374ea0c776"},
]

View file

@ -1,16 +0,0 @@
[tool.poetry]
name = "eggs"
version = "0.1.0"
description = "poetry2nix test"
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.6"
pyasn1 = "^0.4.8"
[tool.poetry.scripts]
egg-test = "eggs:main"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"