From 038b0a72ac4d289495f212047e3bc73be1477525 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:40:47 +0000 Subject: [PATCH 1/2] Bump the python-packages group with 7 updates Bumps the python-packages group with 7 updates: | Package | From | To | | --- | --- | --- | | [pygls](https://github.com/openlawlibrary/pygls) | `1.2.1` | `1.3.0` | | [lsprotocol](https://github.com/microsoft/lsprotocol) | `2023.0.0` | `2023.0.1` | | [gitpython](https://github.com/gitpython-developers/GitPython) | `3.1.40` | `3.1.41` | | [torch](https://github.com/pytorch/pytorch) | `2.1.2` | `2.2.0` | | [openai](https://github.com/openai/openai-python) | `1.6.1` | `1.10.0` | | [transformers](https://github.com/huggingface/transformers) | `4.36.2` | `4.37.2` | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.4` | `8.0.0` | Updates `pygls` from 1.2.1 to 1.3.0 - [Release notes](https://github.com/openlawlibrary/pygls/releases) - [Changelog](https://github.com/openlawlibrary/pygls/blob/main/CHANGELOG.md) - [Commits](https://github.com/openlawlibrary/pygls/compare/v1.2.1...v1.3.0) Updates `lsprotocol` from 2023.0.0 to 2023.0.1 - [Release notes](https://github.com/microsoft/lsprotocol/releases) - [Commits](https://github.com/microsoft/lsprotocol/compare/2023.0.0...2023.0.1) Updates `gitpython` from 3.1.40 to 3.1.41 - [Release notes](https://github.com/gitpython-developers/GitPython/releases) - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) - [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.40...3.1.41) Updates `torch` from 2.1.2 to 2.2.0 - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](https://github.com/pytorch/pytorch/compare/v2.1.2...v2.2.0) Updates `openai` from 1.6.1 to 1.10.0 - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v1.6.1...v1.10.0) Updates `transformers` from 4.36.2 to 4.37.2 - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](https://github.com/huggingface/transformers/compare/v4.36.2...v4.37.2) Updates `pytest` from 7.4.4 to 8.0.0 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0) --- updated-dependencies: - dependency-name: pygls dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: lsprotocol dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-packages - dependency-name: gitpython dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-packages - dependency-name: torch dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: openai dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: transformers dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-major dependency-group: python-packages ... Signed-off-by: dependabot[bot] --- setup.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index 52a8ecf..64bbfce 100644 --- a/setup.py +++ b/setup.py @@ -27,21 +27,21 @@ def read(fname): 'console_scripts': ['textlsp=textLSP.cli:main'], }, install_requires=[ - 'pygls==1.2.1', - 'lsprotocol==2023.0.0', + 'pygls==1.3.0', + 'lsprotocol==2023.0.1', 'language-tool-python==2.7.1', 'tree_sitter==0.20.4', - 'gitpython==3.1.40', + 'gitpython==3.1.41', 'appdirs==1.4.4', - 'torch==2.1.2', - 'openai==1.6.1', - 'transformers==4.36.2', + 'torch==2.2.0', + 'openai==1.10.0', + 'transformers==4.37.2', 'sortedcontainers==2.4.0', 'bitsandbytes==0.42.0', ], extras_require={ 'dev': [ - 'pytest==7.4.4', + 'pytest==8.0.0', 'python-lsp-jsonrpc==1.1.2', 'pytest-cov==4.1.0', 'coverage-threshold==0.4.4' From e749a98a21af8c113a4550eda2950e2c984116b9 Mon Sep 17 00:00:00 2001 From: Viktor Hangya Date: Sat, 3 Feb 2024 17:09:51 +0100 Subject: [PATCH 2/2] updating python version --- .github/workflows/publish-to-pypi.yml | 2 -- .github/workflows/test_main.yml | 2 -- .python-version | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 .python-version diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index f0cd4f9..cb6c42d 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -13,8 +13,6 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 - with: - python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/test_main.yml b/.github/workflows/test_main.yml index 77680f8..6cb7516 100644 --- a/.github/workflows/test_main.yml +++ b/.github/workflows/test_main.yml @@ -16,8 +16,6 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 - with: - python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..e4fba21 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12