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

Bump release to 2024.2 #1

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "python",
"displayName": "Python",
"description": "IntelliSense (Pylance), Linting, Debugging (Python Debugger), code formatting, refactoring, unit tests, and more.",
"version": "2024.1.0-dev",
"version": "2024.2.0-rc",
"featureFlags": {
"usingNewInterpreterStorage": true
},
Expand Down
2 changes: 1 addition & 1 deletion pythonFiles/install_debugpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
DEBUGGER_DEST = os.path.join(EXTENSION_ROOT, "pythonFiles", "lib", "python")
DEBUGGER_PACKAGE = "debugpy"
DEBUGGER_PYTHON_ABI_VERSIONS = ("cp310",)
DEBUGGER_VERSION = "1.8.0" # can also be "latest"
DEBUGGER_VERSION = "1.8.1" # can also be "latest"


def _contains(s, parts=()):
Expand Down
8 changes: 8 additions & 0 deletions pythonFiles/tests/pytestadapter/test_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
from .helpers import TEST_DATA_PATH, runner, runner_with_cwd, create_symlink


@pytest.mark.skipif(
sys.platform == "win32",
reason="See https://github.com/microsoft/vscode-python/issues/22965",
)
def test_import_error(tmp_path):
"""Test pytest discovery on a file that has a pytest marker but does not import pytest.

Expand Down Expand Up @@ -59,6 +63,10 @@ def test_import_error(tmp_path):
assert False


@pytest.mark.skipif(
sys.platform == "win32",
reason="See https://github.com/microsoft/vscode-python/issues/22965",
)
def test_syntax_error(tmp_path):
"""Test pytest discovery on a file that has a syntax error.

Expand Down
5 changes: 5 additions & 0 deletions pythonFiles/tests/pytestadapter/test_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from typing import Any, Dict, List

import pytest
import sys

from tests.pytestadapter import expected_execution_test_output

Expand Down Expand Up @@ -71,6 +72,10 @@ def test_rootdir_specified():
assert actual_result_dict == expected_const


@pytest.mark.skipif(
sys.platform == "win32",
reason="See https://github.com/microsoft/vscode-python/issues/22965",
)
def test_syntax_error_execution(tmp_path):
"""Test pytest execution on a file that has a syntax error.

Expand Down
Loading