Skip to content

Commit c832b1b

Browse files
mikiczhroncok
authored andcommitted
Arca v02 compatability
1 parent 192184a commit c832b1b

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cache:
77
- .arca/cache
88
install:
99
- pip install -r test_requirements.txt
10+
- pip install 'arca[docker]>=0.2'
1011
before_script: # encrypted variables aren't accessible in PRs
1112
- 'if [ -n "$DOCKER_HUB_PASSWORD" ]; then docker login -u "$DOCKER_HUB_USERNAME" -p "$DOCKER_HUB_PASSWORD"; fi'
1213
- 'if [ -z "$DOCKER_HUB_PASSWORD" ]; then export ARCA_BACKEND_REGISTRY_PULL_ONLY=true; fi'

naucse/utils/models.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ def arca():
1919
_arca = Arca(settings={"ARCA_BACKEND": "arca.backend.CurrentEnvironmentBackend",
2020
"ARCA_BACKEND_CURRENT_ENVIRONMENT_REQUIREMENTS": "requirements.txt",
2121
"ARCA_BACKEND_VERBOSITY": 2,
22-
# required by PyNaCl which is required by Gabric3 which is required by Arca
23-
# only needed for Arcas Vagrant backend, can be removed once Arca
24-
# implements optional requirements
25-
"ARCA_BACKEND_APK_DEPENDENCIES": ["libffi-dev"],
2622
"ARCA_BACKEND_KEEP_CONTAINER_RUNNING": True,
2723
"ARCA_BACKEND_USE_REGISTRY_NAME": "docker.io/naucse/naucse.python.cz",
2824
"ARCA_SINGLE_PULL": True,

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pygments
1313
python-dateutil
1414
traitlets
1515
werkzeug
16-
arca>=0.1<0.2
16+
arca>=0.2 # update in .travis.yml as well, the docker extras are installed there
1717
cssutils
1818
gitpython
1919
click

0 commit comments

Comments
 (0)