Skip to content

Commit

Permalink
Merge pull request #370 from HLasse/drop-py38
Browse files Browse the repository at this point in the history
feat: drop official 3.8 support
  • Loading branch information
HLasse authored Dec 15, 2024
2 parents eb2a66a + e2b6dbb commit 68b4e8f
Show file tree
Hide file tree
Showing 7 changed files with 4,615 additions and 44 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
token: ${{ secrets.SPHINX_DOCUMENTATION}}

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
cache-dependency-path: "**/pyproject.toml"

- name: Install dependencies
shell: bash
run: |
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/draft-pdf.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.8"]
python-version: ["3.9", "3.10"]

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
Expand Down
15 changes: 0 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,10 @@ repos:
hooks:
- id: add-trailing-comma

# - repo: https://github.com/PyCQA/docformatter
# rev: v1.6.0.rc1
# hooks:
# - id: docformatter
# args:
# [
# --in-place,
# --pre-summary-space,
# --wrap-descriptions,
# "80",
# --wrap-summaries,
# "80",
# ]

- repo: https://github.com/psf/black
rev: 24.2.0
hooks:
- id: black
#args: [--line-length, "88"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# e.g. links to wheels which is not allowed in pyproject.toml on pypi

# spacy pipeline
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0.tar.gz
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0.tar.gz
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers = [
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]

Expand All @@ -35,14 +34,14 @@ keywords = [

dependencies = [
"spacy[lookups]>=3.6.0",
"numpy>=1.20.0",
"numpy>=1.20.0,<2.0.0", # due to https://stackoverflow.com/questions/78634235/numpy-dtype-size-changed-may-indicate-binary-incompatibility-expected-96-from
"pandas>=1.0.0",
"pyphen>=0.11.0",
"ftfy>=6.0.3",
"pydantic>=2.0",
]

requires-python = ">=3.8"
requires-python = ">=3.9"

[project.urls]
homepage = "https://hlasse.github.io/TextDescriptives/"
Expand All @@ -64,10 +63,11 @@ docs = [
]
tutorials = [
"jupyter",
"seaborn",
"seaborn==0.13.2",
"matplotlib",
"datasets>=2.8.0",
"scikit-learn>=1.1.1",
"scipy>=1.13.1", # to avoid https://github.com/HLasse/TextDescriptives/actions/runs/12336321785/job/34428711200?pr=370
"ipython<=8.21.0",
]
sklearn = ["scikit-learn>=1.1.1"]
Expand Down
4,602 changes: 4,602 additions & 0 deletions uv.lock

Large diffs are not rendered by default.

0 comments on commit 68b4e8f

Please sign in to comment.