diff --git a/packages/toricvarieties/meta.json b/packages/toricvarieties/meta.json deleted file mode 100644 index 6b78a00d2..000000000 --- a/packages/toricvarieties/meta.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "AbstractHTML": "ToricVarieties provides data structures to handle toric varieties by their commutative algebra structure and by their combinatorics. For combinatorics, it uses the Convex package. Its goal is to provide a suitable framework to work with toric varieties.", - "ArchiveFormats": ".tar.gz", - "ArchiveSHA256": "b438b60220e25a32717daa31ebdd953e434ffdeb133519284fe050916b37f0b1", - "ArchiveURL": "https://github.com/homalg-project/ToricVarieties_project/releases/download/2022-07-13/ToricVarieties-2022.07.13", - "AutoDoc": { - "TitlePage": { - "Copyright": "\nThis package may be distributed under the terms and conditions\nof the GNU Public License Version 2 or (at your option) any later version.\n" - } - }, - "AvailabilityTest": null, - "Date": "13/07/2022", - "Dependencies": { - "ExternalConditions": [], - "GAP": ">=4.7", - "NeededOtherPackages": [ - [ - "GradedRingForHomalg", - ">=2020.04.25" - ], - [ - "Modules", - ">=2016.01.20" - ], - [ - "GradedModules", - ">=2015.12.04" - ], - [ - "ToolsForHomalg", - ">=2016.02.17" - ], - [ - "AutoDoc", - ">=2016.02.16" - ], - [ - "NConvex", - ">=2020.11-04" - ] - ], - "SuggestedOtherPackages": [ - [ - "4ti2Interface", - ">=2020.04.25" - ], - [ - "TopcomInterface", - ">=2019.06.15" - ], - [ - "Convex", - ">= 2021.04.24" - ] - ] - }, - "IssueTrackerURL": "https://github.com/homalg-project/ToricVarieties_project/issues", - "Keywords": [ - "Toric geometry", - "Toric varieties", - "Divisors", - "Geometry" - ], - "License": "GPL-2.0-or-later", - "PackageDoc": [ - { - "ArchiveURLSubset": [ - "doc" - ], - "BookName": "ToricVarieties", - "HTMLStart": "doc/chap0.html", - "LongTitle": "A package to compute properties of toric varieties", - "PDFFile": "doc/manual.pdf", - "SixFile": "doc/manual.six" - } - ], - "PackageInfoSHA256": "8741bf4eb3191c53076a544c27bc8033aae021f47f1dd78b143c5fb6c60bef15", - "PackageInfoURL": "https://homalg-project.github.io/ToricVarieties_project/ToricVarieties/PackageInfo.g", - "PackageName": "ToricVarieties", - "PackageWWWHome": "https://homalg-project.github.io/ToricVarieties_project/ToricVarieties", - "Persons": [ - { - "Email": "gutsche@mathematik.uni-siegen.de", - "FirstNames": "Sebastian", - "Institution": "University of Siegen", - "IsAuthor": true, - "IsMaintainer": true, - "LastName": "Gutsche", - "Place": "Siegen", - "PostalAddress": "Department Mathematik\nUniversität Siegen\nWalter-Flex-Straße 3\n57072 Siegen\nGermany", - "WWWHome": "https://sebasguts.github.io" - }, - { - "Email": "martin.bies@alumni.uni-heidelberg.de", - "FirstNames": "Martin", - "Institution": "University of Pennsylvania", - "IsAuthor": true, - "IsMaintainer": true, - "LastName": "Bies", - "Place": "Philadelphia", - "PostalAddress": "Department of Mathematics \nUniversity of Pennsylvania \nDavid Rittenhouse Laboratory \n209 S 33rd St \nPhiladelphia \nPA 19104", - "WWWHome": "https://martinbies.github.io/" - } - ], - "README_URL": "https://homalg-project.github.io/ToricVarieties_project/ToricVarieties/README.md", - "SourceRepository": { - "Type": "git", - "URL": "https://github.com/homalg-project/ToricVarieties_project" - }, - "Status": "deposited", - "Subtitle": "A package to handle toric varieties", - "TestFile": "tst/testall.g", - "Version": "2022.07.13" -} diff --git a/tools/tests/test_download_packages.py b/tools/tests/test_download_packages.py index 2cd1a6a0b..1326343b3 100644 --- a/tools/tests/test_download_packages.py +++ b/tools/tests/test_download_packages.py @@ -75,15 +75,10 @@ def test_archive_name(ensure_in_tests_dir): def test_archive_url(): - assert ( - archive_url(metadata("aclib")) - == "https://github.com/gap-packages/aclib/releases/download/v1.3.2/aclib-1.3.2.tar.gz" - ) - - assert ( - archive_url(metadata("toricvarieties")) - == "https://github.com/homalg-project/ToricVarieties_project/releases/download/2021-11-17/ToricVarieties.zip" - ) +# assert ( +# archive_url(metadata("aclib")) +# == "https://github.com/gap-packages/aclib/releases/download/v1.3.2/aclib-1.3.2.tar.gz" +# ) # Non-existent file with pytest.raises(SystemExit) as e: @@ -103,17 +98,17 @@ def test_download_archive(ensure_in_tests_dir, tmpdir): "requests.get", side_effect=RequestException("Failed Request") ) as mock_request_post: with pytest.raises(RequestException) as e: - download_archive(str(tmpdir), "toricvarieties") + download_archive(str(tmpdir), "unipot") # FIXME??? is this *supposed* to fail??? assert e.type == RequestException download_archive(str(tmpdir), "aclib") assert exists(join(str(tmpdir), archive_name("aclib"))) - download_archive(str(tmpdir), "toricvarieties") - assert exists(join(str(tmpdir), archive_name("toricvarieties"))) + download_archive(str(tmpdir), "unipot") + assert exists(join(str(tmpdir), archive_name("unipot"))) - download_archive(str(tmpdir), "toricvarieties") - assert exists(join(str(tmpdir), archive_name("toricvarieties"))) + download_archive(str(tmpdir), "unipot") + assert exists(join(str(tmpdir), archive_name("unipot"))) with pytest.raises(SystemExit) as e: download_archive(str(tmpdir), "notapackagename") @@ -122,5 +117,5 @@ def test_download_archive(ensure_in_tests_dir, tmpdir): def test_main(ensure_in_tests_dir): - main(["toricvarieties", "aclib"]) + main(["unipot", "aclib"]) shutil.rmtree("_archives") diff --git a/tools/tests/test_scan_for_updates.py b/tools/tests/test_scan_for_updates.py index 9f31b9fbb..8762e8ebe 100644 --- a/tools/tests/test_scan_for_updates.py +++ b/tools/tests/test_scan_for_updates.py @@ -69,8 +69,6 @@ def test_exec_gap(ensure_in_tests_dir): def test_scan_for_one_update(ensure_in_tests_dir, tmpdir): scan_for_one_update(str(tmpdir), "aclib") assert exists(join(str(tmpdir), "aclib.g")) - scan_for_one_update(str(tmpdir), "toricvarieties") - assert not exists(join(str(tmpdir), "toricvarieties.g")) scan_for_one_update(str(tmpdir), "atlasrep") assert exists(join(str(tmpdir), "atlasrep.g"))