Skip to content

Commit 753ff6a

Browse files
committed
Merge branch 'develop'
2 parents 6b295fa + 289d7ca commit 753ff6a

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

packaging/rpm/fts-rest.spec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
%{!?nosetest_path: %global nosetest_path "/tmp"}
55

66
Name: fts-rest
7-
Version: 3.8.0
7+
Version: 3.8.1
88
Release: 1%{?dist}
99
BuildArch: noarch
1010
Summary: FTS3 Rest Interface
1111
Group: Applications/Internet
1212
License: ASL 2.0
1313
URL: http://fts3-service.web.cern.ch/
14-
# git clone https://gitlab.cern.ch/fts/fts-rest.git --depth 1 -b master fts-rest-3.8.0
15-
# cd fts-rest-3.8.0
16-
# git checkout v3.8.0
14+
# git clone https://gitlab.cern.ch/fts/fts-rest.git --depth 1 -b master fts-rest-3.8.1
15+
# cd fts-rest-3.8.1
16+
# git checkout v3.8.1
1717
# git submodule init && git submodule update
1818
# cd ..
19-
# tar vczf fts-rest-3.8.0.tar.gz --exclude-vcs fts-rest-3.8.0
19+
# tar vczf fts-rest-3.8.1.tar.gz --exclude-vcs fts-rest-3.8.1
2020
Source0: %{name}-%{version}.tar.gz
2121

2222
BuildRequires: gfal2-python

setup.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,22 @@ def apply_pycurl_workaround():
4040
os.system('pip install --build %s %s/pycurl' % (tmp_dir, tmp_dir))
4141

4242

43+
# On EL7, you will probably have trouble installing pycurl due to this:
44+
# https://github.com/pycurl/pycurl/issues/526 which has not yet released
45+
# so we need to install a previos version of pycurl with
46+
# pip install pycurl==7.43.0.1 --global-option="--with-nss
47+
#def apply_pycurl_workaround_on_el7():
48+
# print "Applying workaround for pycurl in EL7"
49+
# is_pycurl_installed = (os.system('pip list | grep pycurl &> /dev/null') == 0)
50+
# if not is_pycurl_installed:
51+
# os.system('pip install pycurl%s --global-option="--with-nss"' % pycurl_ver)
52+
53+
4354
# Ugly hack to pick a version that compiles in SLC6
44-
pycurl_ver = '>=7.19'
55+
pycurl_ver = '==7.19.0'
4556
dist = platform.dist()
4657
if dist[0] in ('redhat', 'centos'):
4758
apply_m2crypto_workaround()
48-
4959
os_major = dist[1].split('.')[0]
5060
if os_major == '6':
5161
pycurl_ver = '==7.19.0'
@@ -57,7 +67,7 @@ def apply_pycurl_workaround():
5767

5868
setup(
5969
name='fts3-rest',
60-
version='3.8.0',
70+
version='3.8.1',
6171
description='FTS3 Python Libraries',
6272
long_description='FTS3 Python Libraries',
6373
author='FTS3 Developers',

src/fts3rest/fts3rest/controllers/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from fts3rest.lib.helpers import jsonify
2929
from fts3rest.lib import api
3030

31-
API_VERSION = dict(major=3, minor=8, patch=0)
31+
API_VERSION = dict(major=3, minor=8, patch=1)
3232

3333

3434
def _get_fts_core_version():

0 commit comments

Comments
 (0)