Project

General

Profile

Actions

Feature #14791

closed

mkdocs needs to be updated

Added by David Stes about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

current mkdocs in the IPS pkg.openindiana.org depends on python 27

pkg:,5.11-2020.0.1.0:20200330T171057Z
depend fmri=,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

Related to illumos gate - Bug #14769: remove support for Python 2.xClosedRich Lowe

Actions
Related to OpenIndiana Distribution - Bug #15048: mkdocs serve fails for mkdocs 1.4.0 with python 3.9.14 on missing library/python/mergedeepResolvedMarcel Telka

Actions
Actions #1

Updated by David Stes about 1 year ago

  • Related to Bug #14769: remove support for Python 2.x added
Actions #2

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.

Actions #3

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.

Actions #4

Updated by David Stes 11 months ago

This is still not entire fixed because mkdocs is updated now but not really fully functional

Actions #5

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
Actions #6

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

Actions #7

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.

Actions #8

Updated by Marcel Telka 11 months ago

  • Status changed from New to Resolved
  • Assignee set to Marcel Telka
Actions

Also available in: Atom PDF