Skip to content

Commit

Permalink
fix: rollback python
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphrass committed Aug 15, 2024
1 parent fd882e9 commit 94d4049
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.9'

- uses: actions/setup-java@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.9'

- uses: actions/setup-java@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.9'

- uses: actions/setup-java@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ VERSION := $(shell grep __version__ setup.py | head -1 | cut -d \" -f2 | cut -d
.PHONY: environment
## create virtual environment for butterfree
environment:
@pyenv install -s 3.10.14
@pyenv virtualenv 3.10.14 butterfree
@pyenv install -s 3.9.19
@pyenv virtualenv 3.9.19 butterfree
@pyenv local butterfree
@PYTHONPATH=. python -m pip install --upgrade pip

Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.10
python_version = 3.9
ignore_missing_imports = True
disallow_untyped_calls = False
disallow_untyped_defs = True
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
author="QuintoAndar",
install_requires=requirements,
extras_require={"h3": ["h3>=3.7.4,<4"]},
python_requires=">=3.10, <4",
python_requires=">=3.9, <4",
entry_points={"console_scripts": ["butterfree=butterfree._cli.main:app"]},
include_package_data=True,
)

0 comments on commit 94d4049

Please sign in to comment.