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

Update deps #315

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
if: ${{ !contains(github.event.pull_request.labels.*.name, 'draft') }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Cannot find what you were looking for? Feel free to open an [issue]((https://git
### Supported Python Versions

- Main version supported : `3.8`
- Other supported versions : `3.9`, `3.10`
- Other supported versions : `3.9`, `3.10`, `3.11`


We strongly advise you to do the remaining steps in a virtual environnement.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The NLPretext library aimed to be a meta-library to be used to help you get star

# Installation

Beware, this package has been tested on Python `3.8`, `3.9` & `3.10` and will probably not be working under python **2.7** as **Python2.7** EOL is scheduled for December 2019.
Beware, this package has been tested on Python `3.8`, `3.9`, `3.10` & `3.11` and will probably not be working under python **2.7** as **Python2.7** EOL is scheduled for December 2019.

To install this library you should first clone the repository:

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [ # Update me
"nlpretext" = "nlpretext.cli.__main__:app"

[tool.poetry.dependencies]
python = ">=3.8,<3.11"
python = ">=3.8,<3.12"
typer = {extras = ["all"], version = ">=0.3.2"}
rich = ">=10.1"
chardet = ">=3.0.4"
Expand All @@ -51,7 +51,7 @@ spacy = ">=3.0.5"
pillow = ">=8.2.1"
thinc = ">=8.0.4"
stop-words = ">=2018.7.23"
pandas = "^1.3"
pandas = ">=1.3,<3.0"
pyarrow = ">=4.0.0"
fastparquet = ">=0.4.1"
dask = {version = ">=2021.5.0", extras = ["complete"], optional = true}
Expand All @@ -63,7 +63,7 @@ torch = {version = "^1.9.0", optional = true}
isort = ">=5.8.0"
pyupgrade = ">=2.12.0"
black = ">=20.8b1"
ruff = "^0.1.5"
ruff = ">=0.1.5,<0.4.0"
mypy = ">=0.812"
bandit = ">=1.7.0"
safety = ">=1.10.3"
Expand Down
5 changes: 4 additions & 1 deletion tests/test_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@
@pytest.mark.parametrize(
"text, expected_result",
[
("ACV water + cinnamon + turmeric + cucumber + lemon. 👍🏻", [":thumbs_up_light_skin_tone:"]),
(
"ACV water + cinnamon + turmeric + cucumber + lemon. 👍🏻",
[":thumbs_up_light_skin_tone:"],
),
("This is a text without emojis", []),
],
)
Expand Down
Loading