diff --git a/README.md b/README.md index 54a5a0faf..42f23e59a 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,4 @@ To add documentation for a version: `` comment, and changing the `href` locations appropriately. -- Finally, run `python3 update.py` and commit all changes. +- Finally, run `pip install packaging; python3 update.py` and commit all changes. diff --git a/update.py b/update.py index 03df5d972..61e3f1bda 100755 --- a/update.py +++ b/update.py @@ -7,7 +7,7 @@ import os import argparse import html.parser -from pkg_resources import parse_version +from packaging.version import parse as parse_version class Scaper(html.parser.HTMLParser):