Skip to content

Commit

Permalink
update update.py to use packaging.version
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Sep 18, 2023
1 parent 9682e99 commit 2f72d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ To add documentation for a version:
`<!-- insert here -->` 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.
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2f72d38

Please sign in to comment.