New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update environment on 2019-01-31 #174

Merged
merged 12 commits into from Feb 6, 2019

Conversation

Projects
None yet
2 participants
@dhimmel
Copy link
Member

dhimmel commented Jan 31, 2019

Updates weasyprint to v44, which may address
#173

Environment update on 2019-01-31
Updates weasyprint to v44, which may address
#173
@dhimmel

This comment has been minimized.

Copy link
Member Author

dhimmel commented Jan 31, 2019

The build for 705fc7e failed due to:

Traceback (most recent call last):
  File "/home/travis/miniconda/envs/manubot/bin/weasyprint", line 6, in <module>
    from weasyprint.__main__ import main
  File "/home/travis/miniconda/envs/manubot/lib/python3.6/site-packages/weasyprint/__init__.py", line 394, in <module>
    from .css import preprocess_stylesheet  # noqa
  File "/home/travis/miniconda/envs/manubot/lib/python3.6/site-packages/weasyprint/css/__init__.py", line 25, in <module>
    from . import computed_values
  File "/home/travis/miniconda/envs/manubot/lib/python3.6/site-packages/weasyprint/css/computed_values.py", line 17, in <module>
    from .. import text
  File "/home/travis/miniconda/envs/manubot/lib/python3.6/site-packages/weasyprint/text.py", line 14, in <module>
    import cairocffi as cairo
  File "/home/travis/miniconda/envs/manubot/lib/python3.6/site-packages/cairocffi/__init__.py", line 41, in <module>
    cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2')
  File "/home/travis/miniconda/envs/manubot/lib/python3.6/site-packages/cairocffi/__init__.py", line 38, in dlopen
    raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2
Error producing PDF.

dhimmel added some commits Jan 31, 2019

@dhimmel dhimmel force-pushed the dhimmel:env-2019-01-31 branch from 16426c2 to c119c73 Jan 31, 2019

@dhimmel dhimmel force-pushed the dhimmel:env-2019-01-31 branch from c119c73 to 456d010 Jan 31, 2019

dhimmel added some commits Feb 1, 2019

@dhimmel

This comment has been minimized.

Copy link
Member Author

dhimmel commented Feb 1, 2019

485ed52 fixed the failed to load a library issue. It pinned the version of cairocffi to 0.8.0 and specifies to download this dependency from conda-forge rather than PyPI via pip. pip was installing 0.9.0. I think it is likely that all manubot-rootstock builds will start breaking without this dependency specified.

dhimmel added some commits Feb 1, 2019

downgrade cairo to 1.14.12
UnsatisfiableError: The following specifications were found to be in conflict:
  - cairo=1.16.0
  - cairocffi=0.8.0 -> cairo=1.14 -> fontconfig=2.12 -> freetype=2.6
  - cairocffi=0.8.0 -> cairo=1.14 -> glib=2.55
@agitter

agitter approved these changes Feb 5, 2019

dhimmel added some commits Feb 6, 2019

Update repo to https://github.com/manubot/manubot
greenelab/manubot relocated to manubot/manubot as per
manubot/manubot#94.

02.delete-me.md still references greenelab/manubot,
however it is not worth creating merge conflicts to
update just this.
@dhimmel

This comment has been minimized.

Copy link
Member Author

dhimmel commented Feb 6, 2019

@agitter can you re-review since I added shortDOI usage in f79b795

@agitter

agitter approved these changes Feb 6, 2019

Copy link
Member

agitter left a comment

Re-reviewed and it looks good to me.

@dhimmel dhimmel merged commit f559600 into manubot:master Feb 6, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

dhimmel added a commit that referenced this pull request Feb 6, 2019

shortDOI support & update environment on 2019-02-06
This build is based on
f559600.

This commit was created by the following Travis CI build and job:
https://travis-ci.org/greenelab/manubot-rootstock/builds/489622322
https://travis-ci.org/greenelab/manubot-rootstock/jobs/489622323

[ci skip]

The full commit message that triggered this build is copied below:

shortDOI support & update environment on 2019-02-06

Merges #174

* Environment update on 2019-02-06

Does not upgrade weasyprint or cairo, due to the following error during
WeasyPrint execution:
OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2

Specify cairocffi dependency in environment.yml, since v0.9 from PyPI
seemed to trigger the OSError.

* Add shortDOI support & usage

Update repo to https://github.com/manubot/manubot
greenelab/manubot relocated to manubot/manubot as per
manubot/manubot#94.

02.delete-me.md still references greenelab/manubot,
however it is not worth creating merge conflicts to
update just this.

dhimmel added a commit that referenced this pull request Feb 6, 2019

shortDOI support & update environment on 2019-02-06
This build is based on
f559600.

This commit was created by the following Travis CI build and job:
https://travis-ci.org/greenelab/manubot-rootstock/builds/489622322
https://travis-ci.org/greenelab/manubot-rootstock/jobs/489622323

[ci skip]

The full commit message that triggered this build is copied below:

shortDOI support & update environment on 2019-02-06

Merges #174

* Environment update on 2019-02-06

Does not upgrade weasyprint or cairo, due to the following error during
WeasyPrint execution:
OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2

Specify cairocffi dependency in environment.yml, since v0.9 from PyPI
seemed to trigger the OSError.

* Add shortDOI support & usage

Update repo to https://github.com/manubot/manubot
greenelab/manubot relocated to manubot/manubot as per
manubot/manubot#94.

02.delete-me.md still references greenelab/manubot,
however it is not worth creating merge conflicts to
update just this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment