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

(🎁) add python 3.11 to the CI and update 'dev-dependencies' to 'group.dev.dependencies' #101

Merged
merged 4 commits into from Nov 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
cache: poetry

- name: Install dependencies
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [Ubuntu, MacOS, Windows]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
# TODO: remove this when apparent issue with GitHub actions is fixed
exclude:
- os: Windows
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11

- name: Build package
run: poetry build
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -14,7 +14,7 @@ pastel = "^0.2.1"
tomli = { version = ">=1.2.2", python = "<3.11" }
poetry = { version = "^1.0", allow-prereleases = true, optional = true }

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
black = "^22.3.0"
bpython = "^0.22.1"
filelock = "^3.7.1"
Expand Down
6 changes: 5 additions & 1 deletion tests/test_executors.py
Expand Up @@ -88,7 +88,11 @@ def test_detect_venv(
assert result.stdout.startswith("poe_test_package found at ")
if is_windows:
assert result.stdout.endswith(
f"\\tests\\fixtures\\simple_project\\venv\\lib\\site-packages\\poe_test_package\\__init__.py\n"
(
f"\\tests\\fixtures\\simple_project\\venv\\lib\\site-packages\\poe_test_package\\__init__.py\n",
# Lib has a captital with python >=11
f"\\tests\\fixtures\\simple_project\\venv\\Lib\\site-packages\\poe_test_package\\__init__.py\n",
)
)
else:
assert result.stdout.endswith(
Expand Down