Skip to content

Commit

Permalink
updated greenlet to resolve CI build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
darliro committed Oct 11, 2024
1 parent d07a237 commit 4f09ae8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 58 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,28 @@ jobs:
# Checkout the repository
- uses: actions/checkout@v3

# Setup Python version and create virtual environment
# Setup Python version
- 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
# Set up virtual environment
- name: Set up virtual environment
run: |
python -m venv .venv
source .venv/bin/activate
# Install greenlet via pip
- name: Install greenlet via pip
run: |
source .venv/bin/activate
pip install greenlet==3.1.1
# Install dependencies via PDM and Playwright browsers
- name: Install dependencies and Playwright
run: |
source .venv/bin/activate
pip install pdm
pdm install --prod --no-self --no-editable
pdm run playwright install chromium
Expand Down
56 changes: 3 additions & 53 deletions pdm.lock

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

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ authors = [
]
requires-python = ">=3.13.*"
readme = "README.md"
license = {text = "MIT"}

dependencies = [
"allure-pytest",
Expand All @@ -19,7 +18,6 @@ dependencies = [
"distlib",
"Faker",
"filelock",
"greenlet",
"h11",
"identify",
"idna",
Expand Down

0 comments on commit 4f09ae8

Please sign in to comment.