Skip to content

Commit 8b850a3

Browse files
committed
2 parents 83228c2 + 3f602d0 commit 8b850a3

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ jobs:
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
python -m pip install flake8 pytest
26-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27-
# Install the package in development mode
28-
pip install -e .
23+
run: pip install .[dev]
2924
- name: Lint with flake8
3025
run: |
3126
# stop the build if there are Python syntax errors or undefined names

pyproject.toml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,29 @@ classifiers = [
2828
keywords = ["whatsapp", "api", "sdk", "wasender", "messaging", "chatbot"]
2929

3030
dependencies = [
31-
"httpx>=0.23.0,<0.28.0",
32-
"pydantic>=2.0,<3.0",
33-
"requests>=2.25.0,<3.0.0",
31+
"httpx>=0.25.0,<0.29.0",
32+
"pydantic>=2.5.0,<3.0.0",
33+
"requests>=2.31.0,<3.0.0",
3434
]
3535

3636
[project.urls]
37-
"Homepage" = "https://github.com/YonkoSam/wasenderapi-python" # Assuming this will be your repo URL
38-
"Documentation" = "https://github.com/YonkoSam/wasenderapi-python/tree/main/docs" # Assuming
37+
"Homepage" = "https://github.com/YonkoSam/wasenderapi-python"
38+
"Documentation" = "https://github.com/YonkoSam/wasenderapi-python/tree/main/docs"
3939
"Repository" = "https://github.com/YonkoSam/wasenderapi-python"
4040
"Bug Tracker" = "https://github.com/YonkoSam/wasenderapi-python/issues"
4141

4242
[project.optional-dependencies]
4343
dev = [
44-
"pytest>=7.0.0,<8.0.0",
44+
"pytest>=7.4.0,<8.0.0",
4545
"pytest-asyncio>=0.20.0,<0.24.0",
46+
"pytest-cov>=4.1.0,<5.0.0",
47+
"pytest-mock>=3.12.0,<4.0.0",
4648
"respx>=0.20.0,<0.21.0",
4749
"mypy>=1.0.0,<2.0.0",
4850
"ruff>=0.1.0,<0.2.0",
49-
"pre-commit>=3.0.0,<4.0.0"
51+
"pre-commit>=3.0.0,<4.0.0",
52+
"flake8>=6.0.0,<7.0.0"
5053
]
5154

5255
[tool.hatch.version]
53-
path = "wasenderapi/_version.py"
56+
path = "wasenderapi/_version.py"

0 commit comments

Comments
 (0)