Giter Club home page Giter Club logo

Comments (12)

fralau avatar fralau commented on August 22, 2024 1

OK that was a bug. That should be fixed in the new version 0.3.3, just uploaded.

from mkdocs-macros-plugin.

fralau avatar fralau commented on August 22, 2024 1

Thanks: 0.3.3 was just released on pypi.

from mkdocs-macros-plugin.

fralau avatar fralau commented on August 22, 2024

Let me know whether it's solved?

from mkdocs-macros-plugin.

fortizg avatar fortizg commented on August 22, 2024

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.

spbrogan avatar spbrogan commented on August 22, 2024

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.

fortizg avatar fortizg commented on August 22, 2024

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.

fralau avatar fralau commented on August 22, 2024

Try removing pip's cache?

https://stackoverflow.com/questions/9510474/removing-pips-cache

from mkdocs-macros-plugin.

spbrogan avatar spbrogan commented on August 22, 2024

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.

spbrogan avatar spbrogan commented on August 22, 2024

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.

fralau avatar fralau commented on August 22, 2024

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.

fortizg avatar fortizg commented on August 22, 2024

Thank you @fralau
Now the issue has been solved!

from mkdocs-macros-plugin.

fralau avatar fralau commented on August 22, 2024

@fortizg You're welcome!

from mkdocs-macros-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.