Skip to content

Commit

Permalink
chore(scraper): Install setuptools to work with python 3.12 and updat…
Browse files Browse the repository at this point in the history
…e doc (#73)

* chore(scraper): Install setuptools to work with python 3.12 and update doc

* chore(common): Update deps
  • Loading branch information
vvatelot authored May 14, 2024
1 parent cc696c6 commit b50a551
Show file tree
Hide file tree
Showing 6 changed files with 913 additions and 813 deletions.
6 changes: 6 additions & 0 deletions development/ecoindex_scraper.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import asyncio
from pprint import pprint

from ecoindex.scraper import EcoindexScraper

pprint(asyncio.run(EcoindexScraper(url="http://ecoindex.fr").get_page_analysis()))
1,495 changes: 786 additions & 709 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/ecoindex_scraper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Example:
import asyncio
from pprint import pprint

from ecoindex.scrap import EcoindexScraper
from ecoindex.scraper import EcoindexScraper

pprint(
asyncio.run(
Expand Down
221 changes: 118 additions & 103 deletions projects/ecoindex_scraper/poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions projects/ecoindex_scraper/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ python = "^3.10"
typing-extensions = "^4.8.0"
pyyaml = "^6.0.1"
pillow = "^10.1.0"
setuptools = "^69.5.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ requests = "^2.31.0"
tomli = "^2.0.1"
haralyzer = "^2.4.0"
python-slugify = "^8.0.4"
setuptools = "^69.5.1"

[tool.poetry.group.scraper.dependencies]
pillow = "^10.3.0"
Expand Down

1 comment on commit b50a551

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage PR

Branch coverage •
FileStmtsMissCoverMissing
TOTAL69523066% 
report-only-changed-files is enabled. No files were changed during this commit :)

Please sign in to comment.