Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ name: Python package

on:
push:
branches: [ main ]
branches:
- main
- "branch-*"
pull_request:
branches: [ main ]
branches:
- main
- "branch-*"

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
1.0 will include an api overhaul and remove all deprecations


0.13.1
* guard against incorrect warnings; see Issue#52
* add support for branches in github actions

0.13.0
* drop py36; no test options due to github deprecation of ubuntu20.04
* `_coerce_validate_strategy` (invoked by `get_metadatas`) will now raise a
Expand Down
6 changes: 4 additions & 2 deletions src/metadata_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# ==============================================================================


__VERSION__ = "0.13.0"
__VERSION__ = "0.13.1"


# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -1560,7 +1560,9 @@ def __init__(
)
cached_urlparser = False
if cached_urlparser:
if isinstance(cached_urlparser, int):
if isinstance(cached_urlparser, int) and not isinstance(
cached_urlparser, bool
):
# build a default parser with maxitems
warn_future(
"Supplying an int to `cached_urlparser` to set maxitems is deprecated. "
Expand Down