Comments (12)
OK that was a bug. That should be fixed in the new version 0.3.3, just uploaded.
from mkdocs-macros-plugin.
Thanks: 0.3.3 was just released on pypi.
from mkdocs-macros-plugin.
Let me know whether it's solved?
from mkdocs-macros-plugin.
Let me know whether it's solved?
Thank you, it is solved for me! Is this v0.3.3 being published for PyPI?
from mkdocs-macros-plugin.
Code change looks good and my local environment works with your change. My server build is waiting on Pypi publishing of 0.3.3
from mkdocs-macros-plugin.
Hmmmm... This is odd. I can see published v0.3.3 but I'm still getting 0.3.2
EAD+fortiz5@AR5CG43735F3 MINGW64 /d/GHE/snow_catalog/mkdocs_plugins (mkdocs_macros_v3.3)
$ pip download -V mkdocs_macros_plugin
Collecting mkdocs_macros_plugin
Using cached https://files.pythonhosted.org/packages/d5/a9/02c9c3769b7a52554f9cd93d5b3711e08a429e27336d82eae7a507359a30/mkdocs_macros_plugin-0.3.2-py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\mkdocs_macros_plugin-0.3.2-py3-none-any.whl
Collecting repackage (from mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/ce/19/5122e8279b7dfdbacbab648116ac84751b7c603ff3569c5e32ccb75bf0e4/repackage-0.7.3.tar.gz
Saved d:\ghe\snow_catalog\mkdocs_plugins\repackage-0.7.3.tar.gz
Collecting jinja2 (from mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\jinja2-2.10.3-py2.py3-none-any.whl
Collecting pyyaml (from mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/5c/90/18ad46adf73fd4d7c4fe18e90189a69d00006d7e61849d88d1bce89b1744/PyYAML-5.2-cp37-cp37m-win_amd64.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\pyyaml-5.2-cp37-cp37m-win_amd64.whl
Collecting mkdocs>=0.17 (from mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/db/f9/b0179afee0db21943120ea606eb68bda1257b96420df74b775280eb5850b/mkdocs-1.0.4-py2.py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\mkdocs-1.0.4-py2.py3-none-any.whl
Collecting termcolor (from mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Saved d:\ghe\snow_catalog\mkdocs_plugins\termcolor-1.1.0.tar.gz
Collecting MarkupSafe>=0.23 (from jinja2->mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/65/c6/2399700d236d1dd681af8aebff1725558cddfd6e43d7a5184a675f4711f5/MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\markupsafe-1.1.1-cp37-cp37m-win_amd64.whl
Collecting tornado>=5.0 (from mkdocs>=0.17->mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/4e/f8/86ab848da5c79715f901e22bc23d2dc467b8672fe1eda8d3e1f48cba130c/tornado-6.0.3-cp37-cp37m-win_amd64.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\tornado-6.0.3-cp37-cp37m-win_amd64.whl
Collecting click>=3.3 (from mkdocs>=0.17->mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\click-7.0-py2.py3-none-any.whl
Collecting livereload>=2.5.1 (from mkdocs>=0.17->mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/12/4d/30cfe74402d2e962d66d35da29bf8850b0557b559ce84d09967c8ade859e/livereload-2.6.1-py2.py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\livereload-2.6.1-py2.py3-none-any.whl
Collecting Markdown>=2.3.1 (from mkdocs>=0.17->mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\markdown-3.1.1-py2.py3-none-any.whl
Collecting six (from livereload>=2.5.1->mkdocs>=0.17->mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\six-1.13.0-py2.py3-none-any.whl
Collecting setuptools>=36 (from Markdown>=2.3.1->mkdocs>=0.17->mkdocs_macros_plugin)
Using cached https://files.pythonhosted.org/packages/54/28/c45d8b54c1339f9644b87663945e54a8503cfef59cf0f65b3ff5dd17cf64/setuptools-42.0.2-py2.py3-none-any.whl
Saved d:\ghe\snow_catalog\mkdocs_plugins\setuptools-42.0.2-py2.py3-none-any.whl
Successfully downloaded mkdocs-macros-plugin repackage jinja2 pyyaml mkdocs termcolor MarkupSafe tornado click livereload Markdown six setuptools
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
EAD+fortiz5@AR5CG43735F3 MINGW64 /d/GHE/snow_catalog/mkdocs_plugins (mkdocs_macros_v3.3)
$ ls -la
total 2716
drwxr-xr-x 1 EAD+fortiz5 1073742337 0 Dec 18 14:07 ./
drwxr-xr-x 1 EAD+fortiz5 1073742337 0 Dec 18 13:30 ../
-rw-r--r-- 1 EAD+fortiz5 1073742337 81299 Dec 18 14:07 Click-7.0-py2.py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 125326 Dec 18 14:07 Jinja2-2.10.3-py2.py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 23823 Dec 18 14:07 livereload-2.6.1-py2.py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 87763 Dec 18 14:07 Markdown-3.1.1-py2.py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 16576 Dec 18 14:07 MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 22353 Dec 18 14:07 mkdocs_macros_plugin-0.3.2-py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 1157795 Dec 18 14:07 mkdocs-1.0.4-py2.py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 215384 Dec 18 14:07 PyYAML-5.2-cp37-cp37m-win_amd64.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 4956 Dec 18 14:07 repackage-0.7.3.tar.gz
-rw-r--r-- 1 EAD+fortiz5 1073742337 583156 Dec 18 14:07 setuptools-42.0.2-py2.py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 10747 Dec 18 14:07 six-1.13.0-py2.py3-none-any.whl
-rw-r--r-- 1 EAD+fortiz5 1073742337 3912 Dec 18 14:07 termcolor-1.1.0.tar.gz
-rw-r--r-- 1 EAD+fortiz5 1073742337 415849 Dec 18 14:07 tornado-6.0.3-cp37-cp37m-win_amd64.whl
EAD+fortiz5@AR5CG43735F3 MINGW64 /d/GHE/snow_catalog/mkdocs_plugins (mkdocs_macros_v3.3)
$
from mkdocs-macros-plugin.
Try removing pip's cache?
https://stackoverflow.com/questions/9510474/removing-pips-cache
from mkdocs-macros-plugin.
anyone figure this out. I have done it with the no cache dir option and no luck. I also did it forcing it to use 0.3.3 and pip failed. See below.
I get this error.
ERROR: Could not find a version that satisfies the requirement mkdocs-macros-plugin==0.3.3 (from -r requirements.txt (line 3)) (from versions: 0.1.1, 0.2.3, 0.2.4, 0.3.2)
ERROR: No matching distribution found for mkdocs-macros-plugin==0.3.3 (from -r requirements.txt (line 3))
Something is up in the metadata or pypi and it isn't serving up your 0.3.3 version. In the process I did notice other version getting updated so i think it is localized.
from mkdocs-macros-plugin.
it looks like you only published an egg for version 0.3.3 whereas you published a wheel and egg for version 0.3.2. I think this is the issue.
from mkdocs-macros-plugin.
Yes, your observation seems right. This was the log of the update:
Uploading mkdocs_macros_plugin-0.3.2-py3-none-any.whl
100%|███████████████████████████████████| 47.9k/47.9k [00:01<00:00, 25.9kB/s]
Uploading mkdocs-macros-plugin-0.3.2.tar.gz
100%|███████████████████████████████████| 47.5k/47.5k [00:00<00:00, 50.2kB/s]
Uploading mkdocs_macros_plugin-0.3.2-py3.7.egg
100%|███████████████████████████████████| 60.0k/60.0k [00:01<00:00, 31.6kB/s]
Uploading mkdocs_macros_plugin-0.3.3-py3.7.egg
100%|███████████████████████████████████| 60.0k/60.0k [00:01<00:00, 47.7kB/s]
I have fixed this and the log confirmed that a wheel was updated for 0.3.3.
Uploading mkdocs_macros_plugin-0.3.2-py3-none-any.whl
100%|███████████████████████████████████| 47.9k/47.9k [00:01<00:00, 26.4kB/s]
Uploading mkdocs_macros_plugin-0.3.3-py3-none-any.whl
100%|███████████████████████████████████| 47.9k/47.9k [00:01<00:00, 27.2kB/s]
Let me know if this is now solved?
from mkdocs-macros-plugin.
Thank you @fralau
Now the issue has been solved!
from mkdocs-macros-plugin.
@fortizg You're welcome!
from mkdocs-macros-plugin.
Related Issues (20)
- Changelog doc rendering error due to the removing of include-markdown plugin HOT 3
- Plugin incorrectly demands existence of `define_env()` in module HOT 7
- Support Macros escaping HOT 3
- Variables don't work in overriden templates HOT 4
- License of dog-eating.jpg is not free software compatible HOT 4
- Postpone build failure on error until end of mkdocs build to see all errors HOT 9
- Provide a way to opt-in for a whole subdirectory, instead of file by file? HOT 15
- Header anchor missing end of comment tag processing content produced with attribute lists HOT 8
- Include directory not found when running gh-deploy HOT 2
- Disable macros plugin in certain subdirectories HOT 3
- Icons / Emoji fail to render in header with Macros enabled HOT 26
- Add branch as information available through git HOT 1
- Project is missing py.typed marker HOT 3
- DeprecationWarning: pkg_resources is deprecated as an API HOT 3
- Macros syntax error for math equations HOT 2
- Is it possible to use Metadata in module? HOT 3
- Mermaid seems to be incompatible with mkdocs-macros HOT 6
- all issues should be printed at WARN level during mkdocs serve/build HOT 11
- [Report] default encoding issue for other character set HOT 2
- Breaks if virtual environment is not activated HOT 8
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 mkdocs-macros-plugin.