From b7ab7f31e71328e0be7ad8bed7141c85a3bd3852 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Mon, 14 Oct 2024 00:45:09 +0300 Subject: [PATCH] Removing support of Python 3.6 Sorry I tried --- .github/workflows/tests.yml | 4 ---- README.md | 2 +- setup.py | 4 ++-- tox.ini | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d136ee3..0acf1b8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,10 +12,6 @@ jobs: fail-fast: false matrix: include: - - python-version: "3.6.15" - os: ubuntu-20.04 - env: - TOXENV: py36 - python-version: "3.7" os: ubuntu-latest env: diff --git a/README.md b/README.md index b0fa7b8..e72bbee 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ quote.path # DOM path to element (List) To keep it simple, all methods can be chained on top of each other as long as you are chaining methods that return an element (It's called an `Adaptor` object) or a List of Adaptors (It's called `Adaptors` object) ### Installation -Scrapling is a breeze to get started with - We only require at least Python 3.6 to work and the rest of the requirements are installed automatically with the package. +Scrapling is a breeze to get started with - We only require at least Python 3.7 to work and the rest of the requirements are installed automatically with the package. ```bash # Using pip pip install scrapling diff --git a/setup.py b/setup.py index 556f557..d8d05ff 100644 --- a/setup.py +++ b/setup.py @@ -50,12 +50,12 @@ setup( install_requires=[ "requests>=2.3", "lxml>=4.5", - "cssselect>=1.0", + "cssselect>=1.2", "w3lib", "orjson>=3", "tldextract", ], - python_requires=">=3.6", + python_requires=">=3.7", url="https://github.com/D4Vinci/Scrapling", project_urls={ "Documentation": "https://github.com/D4Vinci/Scrapling/Docs", # For now diff --git a/tox.ini b/tox.ini index 22e1727..77d25dd 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = pre-commit,py36,py37,py38,py39,py310,py311,py312 +envlist = pre-commit,py37,py38,py39,py310,py311,py312 [testenv] usedevelop = True