From f032df7bac5cadd843136ec7c3b4abcbcc5da99e Mon Sep 17 00:00:00 2001 From: jim-sheldon <5619539+jim-sheldon@users.noreply.github.com> Date: Mon, 13 May 2024 09:59:24 -0400 Subject: [PATCH] Add adeft workaround install --- .github/workflows/stability_tests.yml | 8 +++++++- poetry.lock | 13 ++++--------- pyproject.toml | 1 - 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/stability_tests.yml b/.github/workflows/stability_tests.yml index 3163363..d16d15a 100644 --- a/.github/workflows/stability_tests.yml +++ b/.github/workflows/stability_tests.yml @@ -24,8 +24,14 @@ jobs: - name: Install Cython dependencies run: sudo apt update && sudo apt install -y gcc build-essential python3-dev + - name: Install setuptools + run: python3 -m pip install setuptools --upgrade + + - name: Install adeft + run: python3 -m pip install --no-cache-dir --use-deprecated=legacy-resolver git+https://github.com/gyorilab/adeft.git#egg=adeft + - name: Install python dependencies - run: python3 -m pip install --user . + run: python3 -m pip install . - name: Run tests run: python3 -m pytest -v diff --git a/poetry.lock b/poetry.lock index c8b37cb..9cec56b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -17,8 +17,9 @@ version = "0.12.3" description = "Acromine based Disambiguation of Entities From Text" optional = false python-versions = ">=3.7" -files = [] -develop = false +files = [ + {file = "adeft-0.12.3.tar.gz", hash = "sha256:3106eb30e5a655caf67db8433b265afa3f292e99bcdf76a720d0c180d2d4b8bb"}, +] [package.dependencies] appdirs = "*" @@ -30,12 +31,6 @@ scikit-learn = ">=1.0" [package.extras] test = ["pytest", "pytest-cov"] -[package.source] -type = "git" -url = "https://github.com/gyorilab/adeft.git" -reference = "HEAD" -resolved_reference = "cbb643d6d4b8378931292295743c67d285419cab" - [[package]] name = "aniso8601" version = "9.0.1" @@ -2071,4 +2066,4 @@ watchdog = ["watchdog (>=2.3)"] [metadata] lock-version = "2.0" python-versions = ">=3.10" -content-hash = "dc9fc6d906c1f13317d4ead31f1120d9c169122f02458d50f43c23a3ffdb7b12" +content-hash = "5d50cdd0dca15071c6f53e8bcb02c59989367d0c3734c2fa72aa658a50ced80e" diff --git a/pyproject.toml b/pyproject.toml index 6071c69..82e4070 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,6 @@ requests = "^2.31.0" click = "^8.1.7" addict = "^2.4.0" pydantic = "^2.7.1" -adeft = {git = "https://github.com/gyorilab/adeft.git"} [tool.poetry.group.test.dependencies] pytest = "^8.1.1"