Comments (7)
For future record, this is a manifestation of https://bugs.launchpad.net/pbr/+bug/1758301
from apidoc.
How is the extension being installed in the image?
from apidoc.
Thanks for the quick response!
In each case it's with pip.
When the base images are built, it's with pip install --upgrade -r …
.
I've also tried reinstalling it when the final container is running, just before building the docs:
pip uninstall -y sphinxcontrib-apidoc
pip install sphinxcontrib-apidoc
from apidoc.
That's very odd.
I don't see the plugin in the pip freeze output above. Was that output produced from a run where you had the plugin disabled? Or is that from before it is installed?
Is the source repo you're working with available to check out so I can try and reproduce this locally?
from apidoc.
Argh, the log viewer doesn't seem to reliably show the entire output.
I trimmed things down and ran a smaller failing example. It won't build the complete docs because of missing dependencies, but Sphinx should exit without an error.
Here's what I'm seeing now:
alabaster==0.7.11
Babel==2.6.0
certifi==2018.8.24
chardet==3.0.4
Click==7.0
coloredlogs==10.0
CommonMark==0.5.4
docutils==0.14
fasteners==0.14.1
humanfriendly==4.16.1
idna==2.7
imagesize==1.1.0
Jinja2==2.10
MarkupSafe==1.0
metabolexecutor==20.0.post1
monotonic==1.5
packaging==18.0
pbr==4.2.0
property-manager==2.3.1
Pygments==2.2.0
pyparsing==2.2.2
pytz==2018.5
recommonmark==0.4.0
requests==2.19.1
six==1.11.0
snowballstemmer==1.2.1
Sphinx==1.8.1
sphinxcontrib-apidoc==0.2.1
sphinxcontrib-websupport==1.1.0
typing==3.6.6
urllib3==1.23
verboselogs==1.7
virtualenv==16.0.0
Build logs: https://zeit.co/lace/entente/ipsvqztnno
I still can't reproduce the problem on my machine if I run docker build -f Dockerfile .
, though I wonder if it would be reproducible on a different mac or a Linux system…
Right now my best steps to reproduce are pretty sprawling, unfortunately:
- Hook up a Zeit Now account to a github repo
- Create a docker repo
- Update https://github.com/lace/entente/blob/debug-minimal/dev.py#L34-L35 to point to that repo
- Run
./dev.py docker-build debug-1
(or whatever tag you want to use) - Run
./dev.py docker-push debug-1
- Update
Dockerfile
to point to that repo and tag - Push to github to trigger Zeit deploy
Added: It works fine on another mac.
These are the most important bits:
- https://github.com/lace/entente/blob/debug-minimal/docker/entente-ci/Dockerfile.py2.7
- https://github.com/lace/entente/blob/debug-minimal/requirements_dev.txt
- https://github.com/lace/entente/blob/debug-minimal/requirements.txt
- https://github.com/lace/entente/blob/debug-minimal/Dockerfile
- https://github.com/lace/entente/blob/debug-minimal/doc/conf.py
The simplest command that reproduces the problem is:
python -c "import pbr.version; print pbr.version.VersionInfo('apidoc').version_string()"
from apidoc.
Try applying the patch in #10 to see if that helps.
from apidoc.
That does the trick. What an odd way for that to manifest! I appreciate your help!
from apidoc.
Related Issues (11)
- validate function/method params against docstrings HOT 1
- Passing multiple apidoc_module_dir's
- Cython modules that use __init__.pyx instead of __init__.py are broken HOT 1
- Cannot include private methods with apidoc_extra_args HOT 5
- 0.3.0: test suite fails HOT 2
- warnings created from derived classes when constructor has no docstring HOT 2
- Is it possible to run example code to generate an image? HOT 1
- Support templating HOT 5
- WARNING: Inline literal start-string without end-string. HOT 2
- Support more config options HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apidoc.