Merge pull request #47 from cecini/upgradedepend

This commit is contained in:
Vikash Kothary 2020-12-06 16:58:08 +00:00 committed by GitHub
commit f8a1fb0f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 110 additions and 100 deletions

6
poetry.lock generated
View File

@ -4,10 +4,10 @@ description = "Anki's library code"
name = "anki" name = "anki"
optional = false optional = false
python-versions = ">=3.7" python-versions = ">=3.7"
version = "2.1.32" version = "2.1.36"
[package.dependencies] [package.dependencies]
ankirspy = "2.1.32" ankirspy = "2.1.36"
beautifulsoup4 = "*" beautifulsoup4 = "*"
decorator = "*" decorator = "*"
distro = "*" distro = "*"
@ -25,7 +25,7 @@ description = "Anki's Rust library code Python bindings"
name = "ankirspy" name = "ankirspy"
optional = false optional = false
python-versions = "*" python-versions = "*"
version = "2.1.32" version = "2.1.36"
[[package]] [[package]]
category = "dev" category = "dev"

View File

@ -1,12 +1,12 @@
[tool.poetry] [tool.poetry]
name = "anki-sync-server" name = "anki-sync-server"
version = "0.1.0" version = "2.2.0"
description = "Self-hosted Anki Sync Server." description = "Self-hosted Anki Sync Server."
authors = ["Vikash Kothary <kothary.vikash@gmail.com>"] authors = ["Vikash Kothary <kothary.vikash@gmail.com>"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.7" python = "^3.7"
anki = "^2.1.32" anki = "^2.1.36"
beautifulsoup4 = "^4.9.1" beautifulsoup4 = "^4.9.1"
requests = "^2.24.0" requests = "^2.24.0"
markdown = "^3.2.2" markdown = "^3.2.2"

View File

@ -2,8 +2,12 @@
# file: lock.sh # file: lock.sh
# description: Lock dependencies and export requirements. # description: Lock dependencies and export requirements.
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements-dev.txt
poetry lock poetry lock
poetry export --without-hashes -f requirements.txt > src/requirements.txt poetry export --without-hashes -f requirements.txt >> src/requirements.txt
poetry export --dev --without-hashes -f requirements.txt > src/requirements-dev.txt poetry export --dev --without-hashes -f requirements.txt >> src/requirements-dev.txt
echo "-e src/." >> src/requirements-dev.txt
echo "-e src/." >> src/requirements-dev.txt

View File

@ -1,85 +1,88 @@
anki==2.1.32 THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!
ankirspy==2.1.32
appnope==0.1.0; sys_platform == "darwin" or platform_system == "Darwin" or python_version >= "3.3" and sys_platform == "darwin" Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
argon2-cffi==20.1.0 anki==2.1.36; python_version >= "3.7"
attrs==20.1.0 ankirspy==2.1.36; python_version >= "3.7"
backcall==0.2.0 appnope==0.1.0; sys_platform == "darwin" and python_version >= "3.7" or sys_platform == "darwin" and python_version >= "3.7" and platform_system == "Darwin" or platform_system == "Darwin" and python_version >= "3.7"
argon2-cffi==20.1.0; python_version >= "3.5"
attrs==20.1.0; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
backcall==0.2.0; python_version >= "3.7"
beautifulsoup4==4.9.1 beautifulsoup4==4.9.1
bleach==3.1.5 bleach==3.1.5; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
certifi==2020.6.20 certifi==2020.6.20; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
cffi==1.14.2 cffi==1.14.2; python_version >= "3.5"
chardet==3.0.4 chardet==3.0.4; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
click==7.1.2 click==7.1.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
colorama==0.4.3; python_version >= "3.3" and sys_platform == "win32" or sys_platform == "win32" colorama==0.4.3; python_version >= "3.7" and sys_platform == "win32" and python_full_version < "3.0.0" or python_version >= "3.7" and sys_platform == "win32" and python_full_version >= "3.5.0"
decorator==4.4.2 decorator==4.4.2; (python_version >= "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.2.0")
defusedxml==0.6.0 defusedxml==0.6.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
distro==1.5.0 distro==1.5.0
entrypoints==0.3 entrypoints==0.3; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "2.7"
future==0.18.2 future==0.18.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5"
idna==2.10 idna==2.10; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
importlib-metadata==1.7.0; python_version < "3.8" importlib-metadata==1.7.0; python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.5"
ipykernel==5.3.4 ipykernel==5.3.4; python_version >= "3.5"
ipython==7.17.0 ipython-genutils==0.2.0; python_version >= "3.5"
ipython-genutils==0.2.0 ipython==7.17.0; python_version >= "3.7"
ipywidgets==7.5.1 ipywidgets==7.5.1
jedi==0.17.2 jedi==0.17.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
jinja2==2.11.2 jinja2==2.11.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
joblib==0.16.0; python_version > "2.7" joblib==0.16.0; python_version >= "3.6"
json5==0.9.5 json5==0.9.5; python_version >= "3.5"
jsonschema==3.2.0 jsonschema==3.2.0; python_version >= "3.5"
jupyter-client==6.1.7; python_version >= "3.5"
jupyter-console==6.1.0; python_version >= "3.5"
jupyter-core==4.6.3; python_version >= "3.5" and python_full_version < "3.0.0" or python_version >= "3.5" and python_full_version >= "3.5.0"
jupyter==1.0.0 jupyter==1.0.0
jupyter-client==6.1.7 jupyterlab-server==1.2.0; python_version >= "3.5"
jupyter-console==6.1.0 jupyterlab==2.2.6; python_version >= "3.5"
jupyter-core==4.6.3 livereload==2.6.3; python_version >= "3.5"
jupyterlab==2.2.6 lunr==0.5.8; python_version >= "3.5"
jupyterlab-server==1.2.0 markdown==3.2.2; python_version >= "3.5"
livereload==2.6.3 markupsafe==1.1.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
lunr==0.5.8 mistune==0.8.4; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
markdown==3.2.2 mkdocs==1.1.2; python_version >= "3.5"
markupsafe==1.1.1 nbconvert==5.6.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
mistune==0.8.4 nbformat==5.0.7; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
mkdocs==1.1.2 nltk==3.5; python_version >= "3.5"
nbconvert==5.6.1 notebook==6.1.3; python_version >= "3.5"
nbformat==5.0.7 orjson==3.3.1; platform_machine == "x86_64" and python_version >= "3.7"
nltk==3.5; python_version > "2.7" packaging==20.4; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
notebook==6.1.3 pandocfilters==1.4.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
orjson==3.3.1; platform_machine == "x86_64" parso==0.7.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
packaging==20.4 pexpect==4.8.0; python_version >= "3.7" and sys_platform != "win32"
pandocfilters==1.4.2 pickleshare==0.7.5; python_version >= "3.7"
parso==0.7.1 prometheus-client==0.8.0; python_version >= "3.5"
pexpect==4.8.0; python_version >= "3.3" and sys_platform != "win32" or sys_platform != "win32" prompt-toolkit==3.0.6; python_full_version >= "3.6.1" and python_version >= "3.7"
pickleshare==0.7.5 protobuf==3.13.0; python_version >= "3.7"
prometheus-client==0.8.0 psutil==5.7.2; (python_version >= "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
prompt-toolkit==3.0.6 ptyprocess==0.6.0; python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform != "win32" and (python_version >= "3.3" and sys_platform != "win32" or sys_platform != "win32") or python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform != "win32" and (python_version >= "3.3" and sys_platform != "win32" or sys_platform != "win32") and os_name != "nt" or python_full_version >= "3.4.0" and python_version >= "3.7" and sys_platform != "win32" and (python_version >= "3.3" and sys_platform != "win32" or sys_platform != "win32") or python_full_version >= "3.4.0" and python_version >= "3.7" and sys_platform != "win32" and (python_version >= "3.3" and sys_platform != "win32" or sys_platform != "win32") and os_name != "nt"
protobuf==3.13.0
psutil==5.7.2
ptyprocess==0.6.0; sys_platform != "win32" or os_name != "nt" or python_version >= "3.3" and sys_platform != "win32"
pyaudio==0.2.11 pyaudio==0.2.11
pycparser==2.20 pycparser==2.20; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
pygments==2.6.1 pygments==2.6.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
pyparsing==2.4.7 pyparsing==2.4.7; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
pyrsistent==0.16.0 pyrsistent==0.16.0; python_version >= "3.5"
python-dateutil==2.8.1 python-dateutil==2.8.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5"
pywin32==228; sys_platform == "win32" pywin32==228; python_version >= "2.7" and python_version < "3.0" and python_full_version < "3.0.0" and sys_platform == "win32" or python_version >= "2.7" and python_version < "3.0" and python_full_version >= "3.5.0" and sys_platform == "win32" or python_version > "3.0" and python_version < "3.1" and python_full_version < "3.0.0" and sys_platform == "win32" or python_version > "3.0" and python_version < "3.1" and python_full_version >= "3.5.0" and sys_platform == "win32" or python_version > "3.1" and python_version < "3.2" and python_full_version < "3.0.0" and sys_platform == "win32" or python_version > "3.1" and python_version < "3.2" and python_full_version >= "3.5.0" and sys_platform == "win32" or python_version > "3.2" and python_version < "3.3" and python_full_version < "3.0.0" and sys_platform == "win32" or python_version > "3.2" and python_version < "3.3" and python_full_version >= "3.5.0" and sys_platform == "win32" or python_version > "3.3" and python_version < "3.4" and python_full_version < "3.0.0" and sys_platform == "win32" or python_version > "3.3" and python_version < "3.4" and python_full_version >= "3.5.0" and sys_platform == "win32" or python_version > "3.4" and python_full_version < "3.0.0" and sys_platform == "win32" or python_version > "3.4" and python_full_version >= "3.5.0" and sys_platform == "win32"
pywinpty==0.5.7; os_name == "nt" pywinpty==0.5.7; python_version >= "3.5" and python_full_version < "3.0.0" and os_name == "nt" or python_full_version >= "3.4.0" and python_version >= "3.5" and os_name == "nt"
pyyaml==5.3.1 pyyaml==5.3.1; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5"
pyzmq==19.0.2 pyzmq==19.0.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5"
qtconsole==4.7.6 qtconsole==4.7.6
qtpy==1.9.0 qtpy==1.9.0
regex==2020.7.14; python_version > "2.7" regex==2020.7.14; python_version >= "3.5"
requests==2.24.0 requests==2.24.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
send2trash==1.5.0 send2trash==1.5.0
six==1.15.0 six==1.15.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
soupsieve==1.9.6 soupsieve==1.9.6; python_version >= "3.7"
terminado==0.8.3 terminado==0.8.3; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
testpath==0.4.4 testpath==0.4.4; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
tornado==6.0.4 tornado==6.0.4; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.5"
tqdm==4.48.2; python_version > "2.7" tqdm==4.48.2; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.2.0" and python_version >= "3.5"
traitlets==4.3.3 traitlets==4.3.3; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
urllib3==1.25.10 urllib3==1.25.10; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.7"
wcwidth==0.2.5 wcwidth==0.2.5; python_full_version >= "3.6.1" and python_version >= "3.5"
webencodings==0.5.1 webencodings==0.5.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
webob==1.8.6 webob==1.8.6; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0")
widgetsnbextension==3.5.1 widgetsnbextension==3.5.1
zipp==3.1.0; python_version < "3.8" zipp==3.1.0; python_version < "3.8" and python_version >= "3.6" and (python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.5")
-e src/. -e src/.

View File

@ -1,21 +1,24 @@
anki==2.1.32 THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!
ankirspy==2.1.32
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
anki==2.1.36; python_version >= "3.7"
ankirspy==2.1.36; python_version >= "3.7"
beautifulsoup4==4.9.1 beautifulsoup4==4.9.1
certifi==2020.6.20 certifi==2020.6.20; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
chardet==3.0.4 chardet==3.0.4; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
decorator==4.4.2 decorator==4.4.2; (python_version >= "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.2.0")
distro==1.5.0 distro==1.5.0
idna==2.10 idna==2.10; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
importlib-metadata==1.7.0; python_version < "3.8" importlib-metadata==1.7.0; python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.5"
markdown==3.2.2 markdown==3.2.2; python_version >= "3.5"
orjson==3.3.1; platform_machine == "x86_64" orjson==3.3.1; platform_machine == "x86_64" and python_version >= "3.7"
protobuf==3.13.0 protobuf==3.13.0; python_version >= "3.7"
psutil==5.7.2 psutil==5.7.2; (python_version >= "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
pyaudio==0.2.11 pyaudio==0.2.11
requests==2.24.0 requests==2.24.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
send2trash==1.5.0 send2trash==1.5.0
six==1.15.0 six==1.15.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
soupsieve==1.9.6 soupsieve==1.9.6; python_version >= "3.7"
urllib3==1.25.10 urllib3==1.25.10; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.7"
webob==1.8.6 webob==1.8.6; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0")
zipp==3.1.0; python_version < "3.8" zipp==3.1.0; python_version < "3.8" and python_version >= "3.6" and (python_version >= "3.5" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.5")