diff --git a/CHANGELOG.md b/CHANGELOG.md index e5b11f8..de3034d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ See [here](https://github.com/astral-sh/ruff/releases) for the Ruff release notes. +## 2024.42.0 + +This release upgrades the bundled Ruff version to `v0.6.1`, and the bundled `ruff-lsp` +version to `0.0.55`. + +**Full Changelog**: https://github.com/astral-sh/ruff-vscode/compare/2024.40.0...2024.42.0 + ## 2024.40.0 The previous release failed to upload some artifacts to the Open VSX registry due to diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2844422..2a63d6f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,9 +31,6 @@ and Python log messages in the debug console under "Python Server". - Bump the version in `package.json` and `pyproject.toml` (use even numbers for stable releases). - Bump the `ruff` and `ruff-lsp` versions in `pyproject.toml`. -- Update the `ruff` version in the README.md - - in the Base URLs - - in "The extension ships with `ruff==...`" - Make sure you use Python 3.7 installed and as your default Python. - Run `python -m venv .venv` to create a venv and activate it. - Run `python -m pip install pip-tools` to install `pip-tools`. diff --git a/package-lock.json b/package-lock.json index af5882c..386a816 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ruff", - "version": "2024.40.0", + "version": "2024.42.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ruff", - "version": "2024.40.0", + "version": "2024.42.0", "license": "MIT", "dependencies": { "@vscode/python-extension": "^1.0.5", diff --git a/package.json b/package.json index 9900bf0..5e32070 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ruff", "displayName": "Ruff", "description": "A Visual Studio Code extension with support for the Ruff linter.", - "version": "2024.40.0", + "version": "2024.42.0", "serverInfo": { "name": "Ruff", "module": "ruff" diff --git a/pyproject.toml b/pyproject.toml index 42e355d..ee9662c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,13 @@ build-backend = "hatchling.build" [project] name = "ruff-vscode" -version = "2024.40.0" +version = "2024.42.0" description = "A Visual Studio Code extension with support for the Ruff linter." authors = [{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" }] maintainers = [{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" }] requires-python = ">=3.7" license = "MIT" -dependencies = ["packaging>=23.1", "ruff-lsp==0.0.54", "ruff==0.5.7"] +dependencies = ["packaging>=23.1", "ruff-lsp==0.0.55", "ruff==0.6.1"] [project.optional-dependencies] dev = ["mypy==1.2.0", "python-lsp-jsonrpc==1.0.0"] diff --git a/requirements-dev.txt b/requirements-dev.txt index 4b21f0a..1449759 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -70,31 +70,31 @@ python-lsp-jsonrpc==1.0.0 \ --hash=sha256:079b143be64b0a378bdb21dff5e28a8c1393fe7e8a654ef068322d754e545fc7 \ --hash=sha256:7bec170733db628d3506ea3a5288ff76aa33c70215ed223abdb0d95e957660bd # via ruff-vscode (./pyproject.toml) -ruff==0.5.7 \ - --hash=sha256:00cc8872331055ee017c4f1071a8a31ca0809ccc0657da1d154a1d2abac5c0be \ - --hash=sha256:083bbcbe6fadb93cd86709037acc510f86eed5a314203079df174c40bbbca6b3 \ - --hash=sha256:2dca26154ff9571995107221d0aeaad0e75a77b5a682d6236cf89a58c70b76f4 \ - --hash=sha256:33d61fc0e902198a3e55719f4be6b375b28f860b09c281e4bdbf783c0566576a \ - --hash=sha256:4a09ea2c3f7778cc635e7f6edf57d566a8ee8f485f3c4454db7771efb692c499 \ - --hash=sha256:548992d342fc404ee2e15a242cdbea4f8e39a52f2e7752d0e4cbe88d2d2f416a \ - --hash=sha256:7e31c9bad4ebf8fdb77b59cae75814440731060a09a0e0077d559a556453acbb \ - --hash=sha256:7f70284e73f36558ef51602254451e50dd6cc479f8b6f8413a95fcb5db4a55fc \ - --hash=sha256:8d796327eed8e168164346b769dd9a27a70e0298d667b4ecee6877ce8095ec8e \ - --hash=sha256:8dfc0a458797f5d9fb622dd0efc52d796f23f0a1493a9527f4e49a550ae9a7e5 \ - --hash=sha256:9369c218f789eefbd1b8d82a8cf25017b523ac47d96b2f531eba73770971c9e5 \ - --hash=sha256:9ccd078c66a8e419475174bfe60a69adb36ce04f8d4e91b006f1329d5cd44bcf \ - --hash=sha256:a01c34400097b06cf8a6e61b35d6d456d5bd1ae6961542de18ec81eaf33b4cb8 \ - --hash=sha256:a36d8dcf55b3a3bc353270d544fb170d75d2dff41eba5df57b4e0b67a95bb64e \ - --hash=sha256:a78ad870ae3c460394fc95437d43deb5c04b5c29297815a2a1de028903f19692 \ - --hash=sha256:b88ca3db7eb377eb24fb7c82840546fb7acef75af4a74bd36e9ceb37a890257e \ - --hash=sha256:eaf3d86a1fdac1aec8a3417a63587d93f906c678bb9ed0b796da7b59c1114a1e \ - --hash=sha256:fcc8054f1a717e2213500edaddcf1dbb0abad40d98e1bd9d0ad364f75c763eea +ruff==0.6.1 \ + --hash=sha256:2c7477c3b9da822e2db0b4e0b59e61b8a23e87886e727b327e7dcaf06213c5cf \ + --hash=sha256:392688dbb50fecf1bf7126731c90c11a9df1c3a4cdc3f481b53e851da5634fa5 \ + --hash=sha256:3a0af7ab3f86e3dc9f157a928e08e26c4b40707d0612b01cd577cc84b8905cc9 \ + --hash=sha256:3bc81074971b0ffad1bd0c52284b22411f02a11a012082a76ac6da153536e014 \ + --hash=sha256:45efaae53b360c81043e311cdec8a7696420b3d3e8935202c2846e7a97d4edae \ + --hash=sha256:5278d3e095ccc8c30430bcc9bc550f778790acc211865520f3041910a28d0024 \ + --hash=sha256:99d7ae0df47c62729d58765c593ea54c2546d5de213f2af2a19442d50a10cec9 \ + --hash=sha256:9eb18dfd7b613eec000e3738b3f0e4398bf0153cb80bfa3e351b3c1c2f6d7b15 \ + --hash=sha256:9fb4c4e8b83f19c9477a8745e56d2eeef07a7ff50b68a6998f7d9e2e3887bdc4 \ + --hash=sha256:af3ffd8c6563acb8848d33cd19a69b9bfe943667f0419ca083f8ebe4224a3436 \ + --hash=sha256:b2e0dd11e2ae553ee5c92a81731d88a9883af8db7408db47fc81887c1f8b672e \ + --hash=sha256:b4bb7de6a24169dc023f992718a9417380301b0c2da0fe85919f47264fb8add9 \ + --hash=sha256:bc60c7d71b732c8fa73cf995efc0c836a2fd8b9810e115be8babb24ae87e0850 \ + --hash=sha256:c2ebfc8f51ef4aca05dad4552bbcf6fe8d1f75b2f6af546cc47cc1c1ca916b5b \ + --hash=sha256:c62bc04c6723a81e25e71715aa59489f15034d69bf641df88cb38bdc32fd1dbb \ + --hash=sha256:d812615525a34ecfc07fd93f906ef5b93656be01dfae9a819e31caa6cfe758a1 \ + --hash=sha256:faaa4060f4064c3b7aaaa27328080c932fa142786f8142aff095b42b6a2eb631 \ + --hash=sha256:fe6d5f65d6f276ee7a0fc50a0cecaccb362d30ef98a110f99cac1c7872df2f18 # via # ruff-vscode (./pyproject.toml) # ruff-lsp -ruff-lsp==0.0.54 \ - --hash=sha256:1cc7d2f1cb69cbea1dfeba0f2d7dd5832bc68b0b052c7166530bcce63aa75f57 \ - --hash=sha256:33e1d4dd20ca481fc6a811afcfdd451798c22fc39f2104df23c2855e322a0582 +ruff-lsp==0.0.55 \ + --hash=sha256:33fcfc77bbdc47f7a116a64f5fb9140e70d76d54f55a0d9a740a21b797906a45 \ + --hash=sha256:82d037b850cbdeff2fabe4326eaacabddfe47c919133d456b819ba35dce0355d # via ruff-vscode (./pyproject.toml) tomli==2.0.1 \ --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ diff --git a/requirements.txt b/requirements.txt index cd6a618..46b699a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ # This file was autogenerated by uv via the following command: # uv pip compile --python-version 3.7.9 --generate-hashes -o ./requirements.txt ./pyproject.toml -attrs==23.2.0 \ - --hash=sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30 \ - --hash=sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1 +attrs==24.2.0 \ + --hash=sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346 \ + --hash=sha256:81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2 # via # cattrs # lsprotocol @@ -34,31 +34,31 @@ pygls==1.2.1 \ --hash=sha256:04f9b9c115b622dcc346fb390289066565343d60245a424eca77cb429b911ed8 \ --hash=sha256:7dcfcf12b6f15beb606afa46de2ed348b65a279c340ef2242a9a35c22eeafe94 # via ruff-lsp -ruff==0.5.7 \ - --hash=sha256:00cc8872331055ee017c4f1071a8a31ca0809ccc0657da1d154a1d2abac5c0be \ - --hash=sha256:083bbcbe6fadb93cd86709037acc510f86eed5a314203079df174c40bbbca6b3 \ - --hash=sha256:2dca26154ff9571995107221d0aeaad0e75a77b5a682d6236cf89a58c70b76f4 \ - --hash=sha256:33d61fc0e902198a3e55719f4be6b375b28f860b09c281e4bdbf783c0566576a \ - --hash=sha256:4a09ea2c3f7778cc635e7f6edf57d566a8ee8f485f3c4454db7771efb692c499 \ - --hash=sha256:548992d342fc404ee2e15a242cdbea4f8e39a52f2e7752d0e4cbe88d2d2f416a \ - --hash=sha256:7e31c9bad4ebf8fdb77b59cae75814440731060a09a0e0077d559a556453acbb \ - --hash=sha256:7f70284e73f36558ef51602254451e50dd6cc479f8b6f8413a95fcb5db4a55fc \ - --hash=sha256:8d796327eed8e168164346b769dd9a27a70e0298d667b4ecee6877ce8095ec8e \ - --hash=sha256:8dfc0a458797f5d9fb622dd0efc52d796f23f0a1493a9527f4e49a550ae9a7e5 \ - --hash=sha256:9369c218f789eefbd1b8d82a8cf25017b523ac47d96b2f531eba73770971c9e5 \ - --hash=sha256:9ccd078c66a8e419475174bfe60a69adb36ce04f8d4e91b006f1329d5cd44bcf \ - --hash=sha256:a01c34400097b06cf8a6e61b35d6d456d5bd1ae6961542de18ec81eaf33b4cb8 \ - --hash=sha256:a36d8dcf55b3a3bc353270d544fb170d75d2dff41eba5df57b4e0b67a95bb64e \ - --hash=sha256:a78ad870ae3c460394fc95437d43deb5c04b5c29297815a2a1de028903f19692 \ - --hash=sha256:b88ca3db7eb377eb24fb7c82840546fb7acef75af4a74bd36e9ceb37a890257e \ - --hash=sha256:eaf3d86a1fdac1aec8a3417a63587d93f906c678bb9ed0b796da7b59c1114a1e \ - --hash=sha256:fcc8054f1a717e2213500edaddcf1dbb0abad40d98e1bd9d0ad364f75c763eea +ruff==0.6.1 \ + --hash=sha256:2c7477c3b9da822e2db0b4e0b59e61b8a23e87886e727b327e7dcaf06213c5cf \ + --hash=sha256:392688dbb50fecf1bf7126731c90c11a9df1c3a4cdc3f481b53e851da5634fa5 \ + --hash=sha256:3a0af7ab3f86e3dc9f157a928e08e26c4b40707d0612b01cd577cc84b8905cc9 \ + --hash=sha256:3bc81074971b0ffad1bd0c52284b22411f02a11a012082a76ac6da153536e014 \ + --hash=sha256:45efaae53b360c81043e311cdec8a7696420b3d3e8935202c2846e7a97d4edae \ + --hash=sha256:5278d3e095ccc8c30430bcc9bc550f778790acc211865520f3041910a28d0024 \ + --hash=sha256:99d7ae0df47c62729d58765c593ea54c2546d5de213f2af2a19442d50a10cec9 \ + --hash=sha256:9eb18dfd7b613eec000e3738b3f0e4398bf0153cb80bfa3e351b3c1c2f6d7b15 \ + --hash=sha256:9fb4c4e8b83f19c9477a8745e56d2eeef07a7ff50b68a6998f7d9e2e3887bdc4 \ + --hash=sha256:af3ffd8c6563acb8848d33cd19a69b9bfe943667f0419ca083f8ebe4224a3436 \ + --hash=sha256:b2e0dd11e2ae553ee5c92a81731d88a9883af8db7408db47fc81887c1f8b672e \ + --hash=sha256:b4bb7de6a24169dc023f992718a9417380301b0c2da0fe85919f47264fb8add9 \ + --hash=sha256:bc60c7d71b732c8fa73cf995efc0c836a2fd8b9810e115be8babb24ae87e0850 \ + --hash=sha256:c2ebfc8f51ef4aca05dad4552bbcf6fe8d1f75b2f6af546cc47cc1c1ca916b5b \ + --hash=sha256:c62bc04c6723a81e25e71715aa59489f15034d69bf641df88cb38bdc32fd1dbb \ + --hash=sha256:d812615525a34ecfc07fd93f906ef5b93656be01dfae9a819e31caa6cfe758a1 \ + --hash=sha256:faaa4060f4064c3b7aaaa27328080c932fa142786f8142aff095b42b6a2eb631 \ + --hash=sha256:fe6d5f65d6f276ee7a0fc50a0cecaccb362d30ef98a110f99cac1c7872df2f18 # via # ruff-vscode (./pyproject.toml) # ruff-lsp -ruff-lsp==0.0.54 \ - --hash=sha256:1cc7d2f1cb69cbea1dfeba0f2d7dd5832bc68b0b052c7166530bcce63aa75f57 \ - --hash=sha256:33e1d4dd20ca481fc6a811afcfdd451798c22fc39f2104df23c2855e322a0582 +ruff-lsp==0.0.55 \ + --hash=sha256:33fcfc77bbdc47f7a116a64f5fb9140e70d76d54f55a0d9a740a21b797906a45 \ + --hash=sha256:82d037b850cbdeff2fabe4326eaacabddfe47c919133d456b819ba35dce0355d # via ruff-vscode (./pyproject.toml) typing-extensions==4.7.1 \ --hash=sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36 \