Skip to content

Commit 9efae56

Browse files
committed
Merge branch 'release/0.19.0'
2 parents 19afba3 + f17c5d1 commit 9efae56

37 files changed

+774
-183
lines changed

.mailmap

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Alex Schiller <alexschiller@gmail.com> Alexander Schiller <alexschiller@gmail.com>
2+
Alex Schiller <alexschiller@gmail.com> alexschiller <alexschiller@gmail.com>
3+
Andrew Sallans <andrew.sallans@gmail.com>
4+
Austin Macdonald <asmacdo@gmail.com> Austin <asmacdo@gmail.com>
5+
Austin Macdonald <asmacdo@gmail.com> asmacdo <asmacdo@gmail.com>
6+
Barrett Harber <barrett.harber@gmail.com>
7+
Casey Rollins <cmr3rm@virginia.edu>
8+
Chris Seto <chriskseto@gmail.com>
9+
Daniel Neis Araujo <danielneis@gmail.com>
10+
Darion Cassel <darion.cassel@gmail.com>
11+
Dawn Pattison <pattison.dawn.r@gmail.com>
12+
Elijah Hamovitz <elijahhamovitz@gmail.com>
13+
Eric Bower <neurosnap@gmail.com>
14+
Erin Braswell <erin.braswell@gmail.com> erinspace <erin.braswell@gmail.com>
15+
Fitz Elliott <fitz@cos.io>
16+
Haoyu Chen <hc6as@virginia.edu> haoyuchen1992 <hc6as@virginia.edu>
17+
Jeffrey Spies <jspies@gmail.com> Jeffrey Spies <github@jeffspies.com>
18+
Jonathon Love <jon@thon.cc>
19+
Joshua Carp <jm.carp@gmail.com>
20+
Kurtis Jungersen <kmjungersen@gmail.com> Kurtis Jungersen <Kurtisjungersen@gmail.com>
21+
Lyndsy Simon <lyndsy@lyndsysimon.com>
22+
Matt Frazier <maf7sm@virginia.edu>mfraezz <maf7sm@virginia.edu>
23+
Matthew Keitelman <zamattiac@gmail.com>
24+
Megan Kelly <mmk4jq@virginia.edu> megankelly <mmk4jq@virginia.edu>
25+
Megan Kelly <mmk4jq@virginia.edu> mmk4jq <mmk4jq@virginia.edu>
26+
Meli Lewis <meli.lewis@gmail.com>
27+
Michael Haselton <icereval@gmail.com> icereval <icereval@gmail.com>
28+
Nezar Abdennur <nabdennur@gmail.com>
29+
Oliver M Daniel <olivermdaniel@gmail.com>
30+
Peter Fan <peter.j.fan@gmail.com>
31+
Rafael de Lucena Valle <rafaeldelucena@gmail.com>
32+
Steven Loria <sloria1@gmail.com> sloria <sloria1@gmail.com>
33+
Tom Baxter <tkb608@gmail.com> TomBaxter <tkb608@gmail.com>
34+
Tom Baxter <tkb608@gmail.com> tkb608 <tkb608@gmail.com>
35+
linse <sschirme@gmail.com>
36+

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ install:
1616
- travis_retry pip install --upgrade pip
1717
- travis_retry pip install setuptools==30.4.0
1818
- travis_retry pip install wheel==0.26.0
19-
- travis_retry pip install invoke==0.11.1
19+
- travis_retry pip install invoke==0.13.0
2020
- travis_retry invoke wheelhouse --develop
2121
- travis_retry invoke install --develop
2222

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ Contributors
2929
- Erin Braswell `@erinspace <https://github.com/erinspace>`_
3030
- Rafael de Lucena Valle `@rafaeldelucena <https://github.com/rafaeldelucena>`_
3131
- Matthew Keitelman `@zamattiac <https://github.com/zamattiac>`_
32+
- John Tordoff `@Johnetordoff <https://github.com/Johnetordoff>`_

CHANGELOG

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
ChangeLog
33
*********
44

5+
0.19.0 (2017-02-02)
6+
===================
7+
- Feature: MFR errors are now categorized and have error-specific metadata added to then. If Keen
8+
logging is enabled, the error metadata will be logged there for future investigation.
9+
- Fix: The 3D object renderer now imposes a maximum zoom-out limit, so objects can't be shrunk to
10+
infinitesimalness. (thanks, @johnetordoff!)
11+
- Fix: MFR docs are once again building on readthedocs.org! (thanks, @johnetordoff!)
12+
- Code: Update MFR to use invoke 0.13.0. If you have an existing checkout, you will need to
13+
upgrade invoke manually: pip install invoke==0.13.0 (thanks, @johnetordoff!)
14+
- Docs: MFR has been verified to work with python 3.5.3 and 3.6.0. From now on, the docs will
15+
mention which python versions MFR has been verfied to work on. (thanks, @johnetordoff!)
16+
517
0.18.3 (2017-01-11)
618
===================
719
- Fix: Increase max codepygments render size to 200kb from 64kb.

CONTRIBUTING.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,31 @@ Clone the repo: ::
2424
$ git clone https://github.com/CenterForOpenScience/modular-file-renderer.git
2525
$ cd modular-file-renderer
2626

27-
Configure development environment and Install the development dependencies.
27+
Configure development environment and install the development dependencies.
2828

2929
.. note::
3030

31-
It is recommended that you use a `virtualenv`_ with `virtualenvwrapper`_ during development. Python 3.5 and R are required.
31+
It is recommended that you use a `virtualenv`_ with `virtualenvwrapper`_ during development. Python 3.5 or greater, `R`_, and `pspp`_ are required.
3232

3333
.. _virtualenv: http://www.virtualenv.org/en/latest/
3434
.. _virtualenvwrapper: https://pypi.python.org/pypi/virtualenvwrapper
35+
.. _R: https://www.r-project.org/
36+
.. _pspp: https://www.gnu.org/software/pspp/
3537

3638
.. code-block:: bash
3739
3840
# For Mac OS X: Install the latest version of python3.5
3941
$ brew install python3
40-
$ brew install r
42+
$ brew install r pspp
4143
4244
# Linux users, probably the same thing but with apt-get
4345
# If someone wants to update this guide, please do.
4446
4547
$ pip install virtualenv
4648
$ pip install virtualenvwrapper
4749
$ mkvirtualenv --python=`which python3` mfr
48-
$ pip install invoke==0.11.1
50+
$ pip install setuptools==30.4.0
51+
$ pip install invoke==0.13.0
4952
5053
5154
Lastly, install mfr in development mode. ::

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@
66

77
A Python package for rendering files to HTML via an embeddable iframe.
88

9-
### Documentation
9+
### Compatibility
1010

11-
*Note: https://readthedocs.org/ is currently unable to build documentation for Python 3.5 projects.* The documentation available at https://mfr.readthedocs.io/en/latest/ is outdated (v0.15.0). For the most up-to-date documentation, build locally. Within your checkout, run:
11+
MFR is compatible with Python 3.5 (tested up to 3.5.3) and 3.6.
1212

13-
```bash
14-
pip install -r doc-requirements.txt
15-
cd docs
16-
make
17-
open _build/html/index.html
18-
```
13+
### Documentation
14+
15+
Documentation available at: http://modular-file-renderer.readthedocs.io/en/latest/
1916

2017
### Setting up
2118

@@ -42,7 +39,8 @@ After installing python3.5, create the virtual environment with the following co
4239
pip install virtualenv
4340
pip install virtualenvwrapper
4441
mkvirtualenv --python=`which python3.5` mfr
45-
pip install invoke==0.11.1
42+
pip install setuptools==30.4.0
43+
pip install invoke==0.13.0
4644
invoke install
4745
invoke server
4846
```
@@ -84,13 +82,22 @@ invoke install --develop
8482
invoke test
8583
```
8684

85+
### Known issues
86+
87+
- Running `invoke install -d` with setuptools v31 or greater can break MFR. The symptom error message is: `"AttributeError: module 'mfr' has no attribute '__version__'".` If you encounter this, you will need to remove the file
88+
`mfr-nspkg.pth` from your virtualenv directory, run `pip install setuptools==30.4.0`, then re-run `invoke install -d`.
89+
90+
- The error `def create_default_context(purpose=ssl.Purpose.SERVER_AUTH, *, cafile=None, capath=None, cadata=None): SyntaxError: invalid syntax` can be fixed by restarting your virtual environment. The problem should not reoccur.
91+
92+
- `invoke $command` results in `'$command' did not receive all required positional arguments!`: this error message occurs when trying to run MFR v0.19.0+ with `invoke<0.13.0`. Run `pip install invoke==0.13.0`, then retry your command.
93+
8794
### Create your own module
8895

8996
Interested in adding support for a new provider or file format? Check out the CONTRIBUTING.rst docs.
9097

9198
### License
9299

93-
Copyright 2013-2016 Center for Open Science
100+
Copyright 2013-2017 Center for Open Science
94101

95102
Licensed under the Apache License, Version 2.0 (the "License");
96103
you may not use this file except in compliance with the License.
@@ -106,4 +113,4 @@ limitations under the License.
106113

107114
### COS is hiring!
108115

109-
Want to help save science? Want to get paid to develop free, open source software? [Check out our openings!](https://cos.io/jobs/)
116+
Want to help save science? Want to get paid to develop free, open source software? [Check out our openings!](https://cos.io/our-communities/jobs/)

docs/conf.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
# General information about the project.
4747
project = u'mfr'
48-
copyright = u'2016'
48+
copyright = u'2017'
4949

5050
# The version info for the project you're documenting, acts as replacement for
5151
# |version| and |release|, also used in various other places throughout the
@@ -96,7 +96,7 @@
9696

9797
# The theme to use for HTML and HTML Help pages. See the documentation for
9898
# a list of builtin themes.
99-
html_theme = 'kr'
99+
#html_theme = 'kr'
100100

101101
# Theme options are theme-specific and customize the look and feel of a theme
102102
# further. For a list of options available for each theme, see the
@@ -175,11 +175,6 @@
175175
# Output file base name for HTML help builder.
176176
htmlhelp_basename = 'mfrdoc'
177177

178-
latex_documents = [
179-
('documentation', False),
180-
]
181-
182-
183178
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
184179

185180
# On RTD we can't import sphinx_rtd_theme, but it will be applied by

docs/install.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ Or download one of the following:
1414
* tarball_
1515
* zipball_
1616

17-
Make sure that you have installed pspp, are using python3.5, and have installed invoke for your current python3 version.
17+
Make sure that you have installed `pspp <https://www.gnu.org/software/pspp/>`_ and are using python 3.5 or greater.
1818

19-
Install the version of invoke found in the requirements.txt file. Currently 0.11.1
20-
21-
Install ``invoke``:
19+
Install the versions of ``setuptools`` and ``invoke`` found in the requirements.txt file:
2220

2321
.. code-block:: bash
2422
25-
pip install invoke==0.11.1
23+
pip install setuptools==30.4.0
24+
pip install invoke==0.13.0
2625
2726
Install requirements:
2827

environment.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: py35
2+
dependencies:
3+
- pip=8.1.1=py35_0
4+
- python=3.5.1=0
5+
- setuptools=20.3=py35_0
6+
- wheel=0.29.0=py35_0
7+
- pip:
8+
- aiohttp==0.18.4
9+
- chardet==2.3.0
10+
- furl==0.4.2
11+
- humanfriendly==2.1
12+
- mako==1.0.1
13+
- raven==5.27.0
14+
- stevedore==1.2.0
15+
- tornado==4.3
16+
- git+https://github.com/CenterForOpenScience/waterbutler.git@0.19.0#egg=waterbutler
17+
- agent==0.1.2
18+
- Pygments==2.0.2
19+
- pydocx==0.7.0
20+
- Pillow==2.8.2
21+
- nbconvert==4.2.0
22+
- nbformat==4.1.0
23+
- traitlets==4.2.2
24+
- jsonschema==2.4.0
25+
- jinja2==2.7.3
26+
- mistune==0.7
27+
- docutils==0.12
28+
- git+https://github.com/icereval/xlrd.git
29+
- markdown==2.6.2
30+
- certifi==2015.4.28

mfr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = '0.18.3'
1+
__version__ = '0.19.0'
22
__import__('pkg_resources').declare_namespace(__name__)

0 commit comments

Comments
 (0)