Skip to content

Commit

Permalink
Merge pull request #40 from dimitrismistriotis/update-library-to-1dot…
Browse files Browse the repository at this point in the history
…4dot2

Update library to 1dot4dot2
  • Loading branch information
dimitrismistriotis authored Apr 18, 2024
2 parents 100b3e9 + cd72b4c commit c549be2
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 1.4.2

* scikit-learn to 1.4.2

## Version 1.4.1

* scikit-learn to 1.4.1 (1.4.1.post1)
Expand Down
6 changes: 3 additions & 3 deletions development_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
#
-r requirements.txt

pytest==7.4.3
pylint==3.0.2
black==23.11.0
pytest==8.1.1
pylint==3.1.0
black==24.4.0
1 change: 1 addition & 0 deletions profanity_check/command_line.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""For Command Line Interface"""

import sys

from .profanity_check import predict
Expand Down
Binary file modified profanity_check/data/model.joblib
Binary file not shown.
1 change: 1 addition & 0 deletions profanity_check/data/train_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Train Model from data"""

import hashlib
import subprocess
import sys
Expand Down
Binary file modified profanity_check/data/vectorizer.joblib
Binary file not shown.
1 change: 1 addition & 0 deletions profanity_check/profanity_check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Profanity check exposed methods"""

import sys

#
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
joblib==1.3.2
joblib==1.4.0
numpy==1.24.4; python_version <= '3.8'
numpy==1.26.4; python_version >= '3.9'
# Used for the training script:
pandas==2.0.3; python_version < '3.8'
pandas==2.1.3; python_version >= '3.9'
pandas==2.2.2; python_version >= '3.9'
scikit-learn==1.3.2; python_version <= '3.8'
scikit-learn==1.4.1.post1; python_version >= '3.9'
scipy==1.12.0; python_version >= '3.10'
scikit-learn==1.4.2; python_version >= '3.9'
scipy==1.13.0; python_version >= '3.10'
2 changes: 1 addition & 1 deletion requirements_for_uploading.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
twine==4.0.2
twine==5.0.0
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"""Setup"""

from pathlib import Path
import setuptools

long_description = Path("README.md").read_text(encoding="utf8")

setuptools.setup(
name="alt-profanity-check",
version="1.4.1.post1",
version="1.4.2",
author="Victor Zhou (original author), Menelaos Kotoglou, Dimitrios Mistriotis",
author_email="[email protected]",
description=(
Expand All @@ -17,7 +18,7 @@
long_description_content_type="text/markdown",
url="https://github.com/dimitrismistriotis/alt-profanity-check",
packages=setuptools.find_packages(),
install_requires=["scikit-learn==1.4.1.post1", "joblib>=1.3.2"],
install_requires=["scikit-learn==1.4.2", "joblib>=1.4.0"],
python_requires=">=3.8",
package_data={"profanity_check": ["data/model.joblib", "data/vectorizer.joblib"]},
classifiers=[
Expand Down
1 change: 1 addition & 0 deletions tests/test_profanity_check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""(Mostly smoke) tests"""

from profanity_check import predict, predict_prob


Expand Down

0 comments on commit c549be2

Please sign in to comment.