Skip to content

Commit

Permalink
Upgrade dependencies to improve Python compatibility, bump Wuggy to 1…
Browse files Browse the repository at this point in the history
….1.0
  • Loading branch information
Zenulous committed Feb 12, 2024
1 parent a649ca1 commit 8313d80
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
18 changes: 9 additions & 9 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
autopep8==1.5.4
pycodestyle==2.6.0
pylint==2.6.0
python-Levenshtein==0.12.0
setuptools==50.3.0
wheel==0.35.1
twine==3.2.0
pdoc3==0.9.1
statsmodels==0.12.1
autopep8==2.0.4
pycodestyle==2.11.0
pylint==3.0.3
python-Levenshtein==0.25.0
setuptools==69.1.0
wheel==0.42.0
twine==5.0.0
pdoc3==0.10.0
statsmodels==0.14.1
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python-Levenshtein==0.12.0
statsmodels==0.12.1
python-Levenshtein==0.25.0
statsmodels==0.14.1
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="wuggy",
version="0.0.1",
version="1.1.0",
author="Emmanuel Keuleers",
author_email="[email protected]",
description="Wuggy: A multilingual pseudoword generator",
Expand All @@ -22,5 +22,5 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
python_requires=">=3.8",
)
5 changes: 3 additions & 2 deletions wuggy/generators/wuggygenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self):
"phonetic_english_cmu",
"phonetic_french",
"phonetic_italian"]
self.__official_language_plugin_repository_url = "https://raw.githubusercontent.com/WuggyCode/wuggy_language_plugin_data/master/"
self.__official_language_plugin_repository_url = "https://raw.githubusercontent.com/WuggyCode/wuggy_language_plugin_data/master"
self.attribute_subchain = None
self.frequency_subchain = None
self.reference_sequence = None
Expand Down Expand Up @@ -182,8 +182,9 @@ def download_language_plugin(

print(
f"Wuggy is currently downloading the plugin {language_plugin_name} for you from the official repository...")

py_file_name = f"{language_plugin_name}.py"
print(f"{self.__official_language_plugin_repository_url}/{language_plugin_name}/{py_file_name}")
py_file = urlopen(
f"{self.__official_language_plugin_repository_url}/{language_plugin_name}/{py_file_name}")

Expand Down

0 comments on commit 8313d80

Please sign in to comment.