Skip to content

Commit

Permalink
Remove use of arca.RequirementsStrategy
Browse files Browse the repository at this point in the history
RequirementsStrategy was removed in arca 0.3.0.

Also, use released arca in requirements.txt
  • Loading branch information
encukou authored and mikicz committed Mar 31, 2019
1 parent 5c3d0f7 commit 7d313c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions naucse_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import requests
import yaml
import giturlparse
from arca import Arca, CurrentEnvironmentBackend, RequirementsStrategy
from arca import Arca, CurrentEnvironmentBackend
from flask import Flask, request, jsonify, session, flash, redirect, url_for, render_template
from flask_github import GitHub, GitHubError
from flask_session import Session
Expand All @@ -31,7 +31,6 @@

arca = Arca(backend=CurrentEnvironmentBackend(
current_environment_requirements=None,
requirements_strategy=RequirementsStrategy.IGNORE
))
github = GitHub(app)
Session(app)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask
git+https://github.com/mikicz/arca.git#egg=arca
arca>=0.3.1
pyyaml
pytest
pytest-cov
Expand Down

0 comments on commit 7d313c4

Please sign in to comment.