mirror of https://github.com/pyodide/pyodide.git
Remove deploy dependencies from pyodide-build's pyproject.toml (#4752)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
b16552a660
commit
56ab5c4ebb
|
@ -507,7 +507,7 @@ jobs:
|
|||
- run:
|
||||
name: Install requirements
|
||||
command: |
|
||||
python3 -m pip install -e "./pyodide-build[deploy]"
|
||||
python3 -m pip install -r requirements-deploy.txt
|
||||
|
||||
wget https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_linux_amd64.tar.gz
|
||||
tar xzf ghr_v0.16.2_linux_amd64.tar.gz
|
||||
|
@ -582,7 +582,7 @@ jobs:
|
|||
- run:
|
||||
name: Install requirements
|
||||
command: |
|
||||
python3 -m pip install -e "./pyodide-build[deploy]"
|
||||
python3 -m pip install -r requirements-deploy.txt
|
||||
- run:
|
||||
name: Set PYODIDE_BASE_URL
|
||||
command: |
|
||||
|
|
|
@ -33,8 +33,8 @@ jobs:
|
|||
shell: bash -l {0}
|
||||
run: |
|
||||
mkdir test-results
|
||||
cd pyodide-build && python3 -m pip install -e ".[test,deploy]" && cd ..
|
||||
python3 -m pip install pytest-cov hypothesis pytz
|
||||
cd pyodide-build && python3 -m pip install -e ".[test]" && cd ..
|
||||
python3 -m pip install -r requirements.txt -r requirements-deploy.txt
|
||||
- name: Run tests
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
|
|
|
@ -66,10 +66,6 @@ test = [
|
|||
"pytest-httpserver",
|
||||
"packaging",
|
||||
]
|
||||
deploy = [
|
||||
"boto3",
|
||||
"moto",
|
||||
]
|
||||
|
||||
[tool.hatch]
|
||||
version.path = "pyodide_build/__init__.py"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# used to deploy files to s3
|
||||
boto3
|
||||
moto
|
||||
typer
|
|
@ -1,6 +1,4 @@
|
|||
# build
|
||||
cmake
|
||||
ruamel.yaml
|
||||
|
||||
# lint
|
||||
pre-commit
|
||||
# testing
|
||||
|
|
|
@ -119,8 +119,7 @@ def test_interactive_console():
|
|||
assert await get_result("") is None
|
||||
assert await get_result("factorial(10)") == 3628800
|
||||
|
||||
assert await get_result("import pytz") is None
|
||||
assert await get_result("pytz.utc.zone") == "UTC"
|
||||
assert await get_result("import pathlib") is None
|
||||
|
||||
fut = shell.push("1+")
|
||||
assert fut.syntax_check == "syntax-error"
|
||||
|
|
Loading…
Reference in New Issue