diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6416640..e18b7a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - name: Checkout code uses: actions/checkout@v4 @@ -38,7 +38,7 @@ jobs: uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} - if: matrix.python-version == '3.8' + if: matrix.python-version == '3.9' - name: Look for security vulnerabilities in dependencies run: poetry run safety check --full-report diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f30bb7a..0468f99 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -18,10 +18,10 @@ jobs: - name: Install poetry run: pipx install poetry - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 cache: 'poetry' - name: Install dependencies @@ -40,10 +40,10 @@ jobs: - name: Install poetry run: pipx install poetry - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Build and upload to PyPI env: diff --git a/CITATION.cff b/CITATION.cff index 4403a37..bd36f5a 100755 --- a/CITATION.cff +++ b/CITATION.cff @@ -10,11 +10,14 @@ authors: - family-names: Rajendram Bashyam given-names: Lakshmi affiliation: "ZBW - Leibniz Information Centre for Economics" + - family-names: Majal + given-names: Ghulam Mustafa + affiliation: "ZBW - Leibniz Information Centre for Economics" title: "stwfsapy (a library for matching labels of thesaurus concepts via finite-state automata)" abstract: "This library provides functionality to find the labels of SKOS thesaurus concepts in text. A deterministic finite automaton is constructed from the labels of the thesaurus concepts to perform the matching. In addition, a classifier is trained to score the matched concept occurrences." -version: 0.5.0 +version: 0.5.1 license: Apache-2.0 -date-released: 2024-08-29 +date-released: 2024-10-09 repository-code: "https://github.com/zbw/stwfsapy" contact: - name: "Automatization of subject indexing using methods from artificial intelligence (AutoSE)" diff --git a/poetry.lock b/poetry.lock index fa1128a..a9f43d3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -663,13 +663,13 @@ networkx = ["networkx (>=2.0.0,<3.0.0)"] [[package]] name = "requests" -version = "2.32.0" +version = "2.32.3" description = "Python HTTP for Humans." optional = false python-versions = ">=3.8" files = [ - {file = "requests-2.32.0-py3-none-any.whl", hash = "sha256:f2c3881dddb70d056c5bd7600a4fae312b2a300e39be6a118d30b90bd27262b5"}, - {file = "requests-2.32.0.tar.gz", hash = "sha256:fa5490319474c82ef1d2c9bc459d3652e3ae4ef4c4ebdd18a21145a47ca4b6b8"}, + {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, + {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, ] [package.dependencies] @@ -969,4 +969,4 @@ zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "d8b60b0839c62bec1f5ae25021efe682c26966814f39c39953ae36494ab8915c" +content-hash = "3353deee9a043f8272d19e6a6f91d17ec6b7f905f7660af275f47f0957be44ba" diff --git a/pyproject.toml b/pyproject.toml index 31fd3ff..37074c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "stwfsapy" -version = "0.5.0" +version = "0.5.1" description = "A library for match labels of thesaurus concepts to text and assigning scores to found occurrences." authors = ["AutoSE "] license = "Apache-2.0" @@ -15,6 +15,7 @@ homepage = "https://github.com/zbw/stwfsapy" python = ">=3.9,<3.13" scikit-learn = ">0.24,<2.0" rdflib = "7.*" +requests = "^2.32.3" [tool.poetry.group.dev.dependencies]