Skip to content

Commit eb87436

Browse files
author
Daniela Butano
authored
Merge pull request #74 from asherpasha/outreachy
Python 3.7 Upgrade ( Issue #73 )
2 parents 272d16d + 221c526 commit eb87436

36 files changed

Lines changed: 8075 additions & 7993 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ current-docs.zip
77
intermine-docs-1.00.03.zip
88
build
99
MANIFEST
10+
.idea

.travis.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1+
---
2+
os: linux
13
language: python
2-
sudo: false # use container based infrastructure
3-
jdk:
4-
- openjdk8
5-
dist:
6-
- trusty
4+
jdk: openjdk11
5+
dist: bionic
6+
services: postgresql
7+
addons:
8+
postgresql: 11
79
env:
8-
global:
9-
- TESTMODEL_URL=http://localhost:8080/intermine-demo
10-
- TESTMODEL_PATH=intermine-demo
10+
global:
11+
- TESTMODEL_URL=http://localhost:8080/intermine-demo
12+
- TESTMODEL_PATH=intermine-demo
1113
before_script:
12-
- "./config/travis/init-solr.sh"
13-
- "./config/travis/init.sh"
14-
script:
15-
- python setup.py test
16-
- python setup.py livetest
14+
- "./config/travis/init-solr.sh"
15+
- "./config/travis/init.sh"
16+
script:
17+
- python setup.py test
18+
- python setup.py livetest
1719
python:
18-
- "2.7"
19-
- "3.4"
20-
- "3.5"
20+
- "3.6"
21+
- "3.7"
22+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ to perform queries. Some examples of sites that
2525
are powered by InterMine software, and thus offer
2626
a compatible webservice API, are:
2727

28-
* [FlyMine](http://www.flymine.org)
28+
* [FlyMine](https://www.flymine.org)
2929
* [MouseMine](http://www.mousemine.org)
3030
* [YeastMine](http://yeastmine.yeastgenome.org)
3131
* [ZebrafishMine](http://zebrafishmine.org)

config/travis/init-solr.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# set up solr for testmine
22
# testmine's setup script populates these empty indexes
33

4-
wget http://archive.apache.org/dist/lucene/solr/7.2.1/solr-7.2.1.tgz
5-
tar xzf solr-7.2.1.tgz && ./solr-7.2.1/bin/solr start
6-
./solr-7.2.1/bin/solr create -c intermine-search
7-
./solr-7.2.1/bin/solr create -c intermine-autocomplete
4+
wget http://archive.apache.org/dist/lucene/solr/8.6.2/solr-8.6.2.tgz
5+
tar xzf solr-8.6.2.tgz && ./solr-8.6.2/bin/solr start
6+
./solr-8.6.2/bin/solr create -c intermine-search
7+
./solr-8.6.2/bin/solr create -c intermine-autocomplete

config/travis/init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ fi
1212
# Pull in the server code.
1313
git clone --single-branch --depth 1 https://github.com/intermine/intermine.git server
1414

15-
1615
export PSQL_USER=postgres
1716

1817
# Set up properties
@@ -29,7 +28,8 @@ sed -i -e $SED_SCRIPT $TESTMODEL_PROPS
2928
# We will need a fully operational web-application
3029
echo '#---> Building and releasing web application to test against'
3130
(cd server/testmine && ./setup.sh)
32-
sleep 60 # let webapp startup
31+
# Travis is so slow
32+
sleep 90 # let webapp startup
3333

3434
# Warm up the keyword search by requesting results, but ignoring the results
3535
$GET "$TESTMODEL_URL/service/search" > /dev/null

docs/make.bat

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
@ECHO OFF
2-
3-
pushd %~dp0
4-
5-
REM Command file for Sphinx documentation
6-
7-
if "%SPHINXBUILD%" == "" (
8-
set SPHINXBUILD=sphinx-build
9-
)
10-
set SOURCEDIR=source
11-
set BUILDDIR=build
12-
set SPHINXPROJ=Intermine
13-
14-
if "%1" == "" goto help
15-
16-
%SPHINXBUILD% >NUL 2>NUL
17-
if errorlevel 9009 (
18-
echo.
19-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20-
echo.installed, then set the SPHINXBUILD environment variable to point
21-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22-
echo.may add the Sphinx directory to PATH.
23-
echo.
24-
echo.If you don't have Sphinx installed, grab it from
25-
echo.http://sphinx-doc.org/
26-
exit /b 1
27-
)
28-
29-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30-
goto end
31-
32-
:help
33-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34-
35-
:end
36-
popd
1+
@ECHO OFF
2+
3+
pushd %~dp0
4+
5+
REM Command file for Sphinx documentation
6+
7+
if "%SPHINXBUILD%" == "" (
8+
set SPHINXBUILD=sphinx-build
9+
)
10+
set SOURCEDIR=source
11+
set BUILDDIR=build
12+
set SPHINXPROJ=Intermine
13+
14+
if "%1" == "" goto help
15+
16+
%SPHINXBUILD% >NUL 2>NUL
17+
if errorlevel 9009 (
18+
echo.
19+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
20+
echo.installed, then set the SPHINXBUILD environment variable to point
21+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
22+
echo.may add the Sphinx directory to PATH.
23+
echo.
24+
echo.If you don't have Sphinx installed, grab it from
25+
echo.http://sphinx-doc.org/
26+
exit /b 1
27+
)
28+
29+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30+
goto end
31+
32+
:help
33+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34+
35+
:end
36+
popd

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,3 @@
196196

197197
# If true, `todo` and `todoList` produce output, else they produce nothing.
198198
todo_include_todos = True
199-
\n

intermine.egg-info/PKG-INFO

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Metadata-Version: 1.1
2+
Name: intermine
3+
Version: 1.12.0
4+
Summary: InterMine WebService client
5+
Home-page: http://www.intermine.org
6+
Author: InterMine team
7+
Author-email: all@intermine.org
8+
License: LGPL, BSD
9+
Description: InterMine Webservice Client
10+
----------------------------
11+
12+
A Python API to access bioinformatics
13+
data warehouses powered by the InterMine platform.
14+
15+
16+
Keywords: webservice,genomic,bioinformatics
17+
Platform: UNKNOWN
18+
Classifier: Programming Language :: Python :: 2.7
19+
Classifier: Programming Language :: Python :: 3
20+
Classifier: Development Status :: 5 - Production/Stable
21+
Classifier: Intended Audience :: Science/Research
22+
Classifier: Intended Audience :: Developers
23+
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
24+
Classifier: License :: OSI Approved :: BSD License
25+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
26+
Classifier: Topic :: Internet :: WWW/HTTP
27+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
28+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
29+
Classifier: Operating System :: OS Independent
30+
Provides: intermine

intermine.egg-info/SOURCES.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
LICENSE-BSD
2+
LICENSE-LGPL
3+
MANIFEST.in
4+
README.md
5+
setup.py
6+
intermine/__init__.py
7+
intermine/bar_chart.py
8+
intermine/constraints.py
9+
intermine/decorators.py
10+
intermine/errors.py
11+
intermine/idresolution.py
12+
intermine/model.py
13+
intermine/pathfeatures.py
14+
intermine/query.py
15+
intermine/query_manager.py
16+
intermine/registry.py
17+
intermine/results.py
18+
intermine/util.py
19+
intermine/webservice.py
20+
intermine.egg-info/PKG-INFO
21+
intermine.egg-info/SOURCES.txt
22+
intermine.egg-info/dependency_links.txt
23+
intermine.egg-info/top_level.txt
24+
intermine/lists/__init__.py
25+
intermine/lists/list.py
26+
intermine/lists/listmanager.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)