Skip to content
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

Package upgrade #72

Merged
merged 5 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ 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

- 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
Expand All @@ -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:
Expand Down
7 changes: 5 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <autose@zbw.eu>"]
license = "Apache-2.0"
Expand All @@ -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]
Expand Down