Feature #14791
closedmkdocs needs to be updated
0%
Description
current mkdocs in the IPS pkg.openindiana.org depends on python 27
pkg://openindiana.org/library/python/mkdocs@1.0.4,5.11-2020.0.1.0:20200330T171057Z
depend fmri=library/python/mkdocs-27@1.0.4,5.11-2020.0.1.0 predicate=runtime/python-27 type=conditional
Name: library/python/mkdocs-27
Summary: mkdocs - Project documentation with Markdown
version 1.0.4
Related issues
Updated by David Stes about 1 year ago
- Related to Bug #14769: remove support for Python 2.x added
Updated by David Stes about 1 year ago
Maybe the word "updated" is a little misleading here. All that is needed is to repackage or rebuild (update) the IPS package. The version can remain 1.0.4 but the package should be rebuilt with python 3 instead of python 2.7.
Updated by David Stes about 1 year ago
Also the IPS mkdocs package itself could simply be removed from the IPS repository as it is not so difficult to simply follow the "http://docs.openindiana.org/contrib/getting-started/" instructions using "pip install" instead of "pkg install" for mkdocs.
Updated by David Stes 11 months ago
This is still not entire fixed because mkdocs is updated now but not really fully functional
Updated by David Stes 11 months ago
- Related to Bug #15048: mkdocs serve fails for mkdocs 1.4.0 with python 3.9.14 on missing library/python/mergedeep added
Updated by David Stes 11 months ago
pip is correctly installing the required packages
Successfully installed Jinja2-3.1.2 Markdown-3.3.7 MarkupSafe-2.1.1 PyYAML-6.0 click-8.1.3 ghp-import-2.1.0 importlib-metadata-5.0.0 mergedeep-1.3.4 mkdocs-1.4.0 mkdocs-bootswatch-1.1 packaging-21.3 pyparsing-3.0.9 python-dateutil-2.8.2 pyyaml-env-tag-0.1 watchdog-2.1.9 zipp-3.8.1
but IPS pkg install is not installing the above packages because the required packages (dependencies) of the new mkdocs 1.4.0 package do not include the above list
I am not sure adding all these dependencies is the right way forward anyway, because "pip install" is in this case a perfectly fine alternative to the IPS pkg install approach
Updated by Marcel Telka 11 months ago
David Stes wrote in #note-6:
pip is correctly installing the required packages
Successfully installed Jinja2-3.1.2 Markdown-3.3.7 MarkupSafe-2.1.1 PyYAML-6.0 click-8.1.3 ghp-import-2.1.0 importlib-metadata-5.0.0 mergedeep-1.3.4 mkdocs-1.4.0 mkdocs-bootswatch-1.1 packaging-21.3 pyparsing-3.0.9 python-dateutil-2.8.2 pyyaml-env-tag-0.1 watchdog-2.1.9 zipp-3.8.1
Almost everything from the above list was already in the ips repo, except ghp-import, pyyaml-env-tag, and watchdog, so I added them:
# pkg list ghp-import pyyaml_env_tag watchdog NAME (PUBLISHER) VERSION IFO library/python/ghp-import 2.1.0-2022.0.0.0 i-- library/python/pyyaml_env_tag 0.1-2022.0.0.0 i-- library/python/watchdog 2.1.9-2022.0.0.0 i-- #
but IPS pkg install is not installing the above packages because the required packages (dependencies) of the new mkdocs 1.4.0 package do not include the above list
Yes. Missing proper dependencies is known issue. Sorry for that. It is on my todo list.
Please test mkdocs again.
Updated by Marcel Telka 11 months ago
- Status changed from New to Resolved
- Assignee set to Marcel Telka