Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Release #86

Merged
merged 64 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
84be470
lsp-devtools: Swap relationship between client and server
alcarney Jun 21, 2023
0eb1a87
lsp-devtools: Align `lsp-devtools record` to new agent architecture
alcarney Jun 21, 2023
d9e2f05
Remove auto-generated `LanguageClient`
alcarney Jun 10, 2023
e664f47
Align to pygls' LanguageClient
alcarney Jun 10, 2023
4a7b1f2
Update tests, docs and changelog
alcarney Jun 10, 2023
951e6ae
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 21, 2023
aac33c4
lsp-devtools: Have the agent set the `session` and `timestamp`
alcarney Jun 22, 2023
4bfea9c
lsp-devtools: Add a high level start_tcp implementation to the server
alcarney Jun 22, 2023
8282081
lsp-devtools: Parse json fields as json
alcarney Jun 22, 2023
a4e4ac7
lsp-devtools: Handle cancellations and Ctrl-C
alcarney Jun 22, 2023
791ed2e
lsp-devtools: Align tui app to new architecture
alcarney Jun 22, 2023
046e498
Merge branch 'release' into develop
alcarney Jul 1, 2023
906a79f
Fix latest/stable doc builds take 2
alcarney Jul 1, 2023
4be9ef3
Add pyrightconfig.json files
alcarney Jul 1, 2023
3458fb4
Replace deprecated ::set-output
alcarney Jul 1, 2023
9656be2
Temporarily use git snapshot version of pygls
alcarney Jul 1, 2023
234df84
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jun 26, 2023
8c55709
docs: Add `@pytest.mark.asycnio` markers to example code
alcarney Jul 1, 2023
3edb241
docs: Add dedicated troubleshooting page
alcarney Jul 1, 2023
bac6e8f
docs: Add `sphinx-copybutton` extension
alcarney Jul 1, 2023
6a55b62
docs: Add "this is the unstable docs" banner
alcarney Jul 1, 2023
8f72f66
lsp-devtools: Add ability to take a screenshot to tui
alcarney Jul 2, 2023
f64c169
lsp-devtools: Add `--save-output` option to record command
alcarney Jul 2, 2023
3c93b88
lsp-devtools: Format objects as "pretty" JSON by default
alcarney Jul 2, 2023
084b128
docs: Start documenting the lsp-devtools side of things
alcarney Jul 2, 2023
0e1521c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 2, 2023
7c87258
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 17, 2023
4b7621d
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 31, 2023
45405b3
nix: Update flake.lock
alcarney Jul 5, 2023
8614d62
nix: Switch to git snapshot of pygls for now
alcarney Jul 5, 2023
853dc92
nix: Better devShell definition
alcarney Jul 5, 2023
b99e8d7
nix: Initial top-level flake definition
alcarney Jul 24, 2023
ea82512
pytest-lsp: Update tox definition, enable coverage
alcarney Aug 10, 2023
eee8b4a
pytest-lsp: Drop python 3.7, support python 3.12
alcarney Aug 10, 2023
4b281c0
pytest-lsp: Passthrough requested fixtures to user fixture func
alcarney Aug 10, 2023
83c39c7
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Aug 14, 2023
c568cfb
lsp-devtools: Retry connection indefinitely
alcarney Aug 19, 2023
a56dac7
lsp-devtool: Drop Python 3.7
alcarney Aug 19, 2023
5a18119
lsp-devtools: Update tox definition
alcarney Aug 19, 2023
73750dd
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Aug 21, 2023
58fe14d
pytest-lsp: Enable testing of non lsp servers
alcarney Aug 27, 2023
f0dc264
pytest-lsp: Align to upstream renames
alcarney Aug 31, 2023
2255675
pytest-lsp: Document generic RPC server testing
alcarney Sep 8, 2023
accf953
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Sep 11, 2023
4062a35
lsp-devtools: Align to upstream rename
alcarney Sep 11, 2023
884d5a4
nix: Update overlay
alcarney Sep 14, 2023
ddc4bee
workflow: Enable tests on Windows
alcarney Sep 9, 2023
29d11d1
pytest-lsp: Update changelog
alcarney Sep 9, 2023
b962a7c
pytest-lsp: Use raw string literals
alcarney Oct 2, 2023
a3150db
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 2, 2023
ca0939a
lsp-devtools: Filter messages by session
alcarney Jul 27, 2023
7be99a5
lsp-devtools: Remove `lsp-devtools capabilities` command
alcarney Oct 6, 2023
3f50c7a
lsp-devtools: Include workspace folders in the `sessions` view
alcarney Oct 6, 2023
d903f14
lsp-devtools: Proof of concept language client
alcarney Oct 6, 2023
b06017d
lsp-devtools: More compact towncrier settings
alcarney Oct 6, 2023
d640561
lsp-devtools: Linting fixes
alcarney Oct 6, 2023
f0ecbe2
Mark 3.12 support
alcarney Oct 6, 2023
16840cd
pytest-lsp: Compact towncrier settings
alcarney Oct 6, 2023
9caee54
pytest-lsp: Update pygls version
alcarney Oct 6, 2023
481bd93
pytest-lsp: Typing fixes
alcarney Oct 6, 2023
0785ce4
workflow: Switch to using trusted publishers
alcarney Oct 6, 2023
c0c8f69
Add .readthedocs.yaml
alcarney Oct 6, 2023
8f54c85
workflow: Fix syntax
alcarney Oct 6, 2023
dc6fc53
workflow: Remove documentation workflow
alcarney Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions .github/workflows/docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/lsp-devtools-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest]

steps:
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/lsp-devtools-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: 'Release: lsp-devtools'

on:
push:
branches:
- release
paths:
- 'lib/lsp-devtools/**'

jobs:
release:
name: lsp-devtools release
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/lsp-devtools
permissions:
id-token: write

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.10"

- run: |
sudo apt update
sudo apt install pandoc

python --version
python -m pip install --upgrade pip
python -m pip install build bump2version towncrier docutils
name: Install Build Tools

- run: |
set -e

./scripts/make-release.sh lsp-devtools
name: Set Version
id: info

- name: Package
run: |
cd lib/lsp-devtools
python -m build

- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: 'dist'
path: lib/lsp-devtools/dist

- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: lib/lsp-devtools/dist/

- name: Create Release
run: |
gh release create "${RELEASE_TAG}" \
--title "lsp-devtools v${VERSION} - ${RELEASE_DATE}" \
-F lib/lsp-devtools/.changes.html \
./lib/lsp-devtools/dist/*
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 8 additions & 6 deletions .github/workflows/pytest-lsp-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v3
Expand All @@ -23,6 +23,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- run: |
python --version
Expand All @@ -37,24 +38,25 @@ jobs:
# dev version number e.g. v1.2.3-dev4
./scripts/make-release.sh pytest-lsp
name: Set Version
if: matrix.python-version == '3.10'
if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'

- run: |
cd lib/pytest-lsp

version=$(echo ${{ matrix.python-version }} | tr -d .)
python -m tox -e `tox -l | grep $version | tr '\n' ','`
python -m tox run -f "py${version}"
shell: bash
name: Test

- name: Package
run: |
cd lib/pytest-lsp
python -m build
if: always() && matrix.python-version == '3.10'
if: always() && matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'

- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: 'dist'
path: lib/pytest-lsp/dist
if: always() && matrix.python-version == '3.10'
if: always() && matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
67 changes: 67 additions & 0 deletions .github/workflows/pytest-lsp-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: 'Release: pytest-lsp'

on:
push:
branches:
- release
paths:
- 'lib/pytest-lsp/**'

jobs:
release:
name: pytest-lsp release
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pytest-lsp
permissions:
id-token: write

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.10"

- run: |
sudo apt update
sudo apt install pandoc

python --version
python -m pip install --upgrade pip
python -m pip install build bump2version towncrier docutils

name: Install Build Tools

- run: |
set -e

./scripts/make-release.sh pytest-lsp
name: Set Version
id: info

- name: Package
run: |
cd lib/pytest-lsp
python -m build

- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: 'dist'
path: lib/pytest-lsp/dist

- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: lib/pytest-lsp/dist/

- name: Create Release
run: |
gh release create "${RELEASE_TAG}" \
--title "pytest-lsp v${VERSION} - ${RELEASE_DATE}" \
-F lib/pytest-lsp/.changes.html \
./lib/pytest-lsp/dist/*
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading