Skip to content

Commit

Permalink
setup Python 3.13 and enforce virtual environment creation
Browse files Browse the repository at this point in the history
  • Loading branch information
darliro committed Oct 11, 2024
1 parent 100a75e commit 7ce3161
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ jobs:
# Checkout the repository
- uses: actions/checkout@v3

# Set up Python and create virtual environment
- name: Set up Python and Create Virtual Environment
run: |
python -m venv .venv
source .venv/bin/activate
# Setup Python version and create virtual environment
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: '3.13'

# Install dependencies and Playwright browsers
- name: Install dependencies and Playwright
run: |
python -m venv .venv
source .venv/bin/activate
pip install pdm
pdm install --prod --no-self --no-editable
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Default template for PDM package"
authors = [
{name = "darli.ro", email = "glicerinn@gmail.com"},
]
requires-python = "==3.13.*"
requires-python = ">=3.13.*"
readme = "README.md"
license = {text = "MIT"}

Expand Down

0 comments on commit 7ce3161

Please sign in to comment.