Skip to content

Commit

Permalink
digitalmarketplace-utils: bump to 43.0.0, remove featureflags references
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Aug 23, 2018
1 parent 3782eb1 commit cfb3cce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
4 changes: 1 addition & 3 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
from flask_wtf.csrf import CSRFProtect

import dmapiclient
from dmutils import init_app, flask_featureflags
from dmutils import init_app
from dmutils.user import User

from config import configs

data_api_client = dmapiclient.DataAPIClient()
login_manager = LoginManager()
feature_flags = flask_featureflags.FeatureFlag()
csrf = CSRFProtect()


Expand All @@ -29,7 +28,6 @@ def create_app(config_name):
application,
configs[config_name],
data_api_client=data_api_client,
feature_flags=feature_flags,
login_manager=login_manager,
)

Expand Down
3 changes: 0 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ class Config(object):
'asset_fingerprinter': AssetFingerprinter(asset_root=ASSET_PATH)
}

# Feature Flags
RAISE_ERROR_ON_MISSING_FEATURES = True

# Logging
DM_LOG_LEVEL = 'DEBUG'
DM_PLAIN_TEXT_LOGS = False
Expand Down
5 changes: 2 additions & 3 deletions requirements-app.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Run `make freeze-requirements` to update requirements.txt
# with package version changes made in requirements-app.txt

Flask==0.10.1
Flask==0.12.4
Flask-Login==0.2.11
Flask-WTF==0.14.2

git+https://github.com/alphagov/digitalmarketplace-utils.git@42.6.0#egg=digitalmarketplace-utils==42.6.0
git+https://github.com/alphagov/digitalmarketplace-utils.git@ris-flask-0-12#egg=digitalmarketplace-utils==43.0.0
git+https://github.com/alphagov/[email protected]#egg=digitalmarketplace-content-loader==4.10.1
git+https://github.com/alphagov/[email protected]#egg=digitalmarketplace-apiclient==19.0.0
git+https://github.com/alphagov/[email protected]#egg=Flask-FeatureFlags==1.0
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
# Run `make freeze-requirements` to update requirements.txt
# with package version changes made in requirements-app.txt

Flask==0.10.1
Flask==0.12.4
Flask-Login==0.2.11
Flask-WTF==0.14.2

git+https://github.com/alphagov/digitalmarketplace-utils.git@42.6.0#egg=digitalmarketplace-utils==42.6.0
git+https://github.com/alphagov/digitalmarketplace-utils.git@ris-flask-0-12#egg=digitalmarketplace-utils==43.0.0
git+https://github.com/alphagov/[email protected]#egg=digitalmarketplace-content-loader==4.10.1
git+https://github.com/alphagov/[email protected]#egg=digitalmarketplace-apiclient==19.0.0
git+https://github.com/alphagov/[email protected]#egg=Flask-FeatureFlags==1.0

## The following requirements were added by pip freeze:
asn1crypto==0.24.0
Expand All @@ -18,6 +17,7 @@ botocore==1.8.50
certifi==2018.8.13
cffi==1.11.5
chardet==3.0.4
click==6.7
contextlib2==0.4.0
cryptography==2.3
docopt==0.4.0
Expand Down

0 comments on commit cfb3cce

Please sign in to comment.