-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into new-ci
- Loading branch information
Showing
12 changed files
with
169 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ | |
|
||
<!--next-version-placeholder--> | ||
|
||
## v1.9.0 (2024-02-02) | ||
|
||
|
||
|
||
## v1.8.2 (2023-11-30) | ||
|
||
### Other | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,32 @@ | ||
# | ||
# This file was autogenerated by WIPACrepo/wipac-dev-py-setup-action | ||
# from `pip install .[coloredlogs]` | ||
# using Python 3.12. | ||
# using Python 3.11. | ||
# | ||
######################################################################## | ||
# pip freeze | ||
######################################################################## | ||
certifi==2023.11.17 | ||
certifi==2024.2.2 | ||
charset-normalizer==3.3.2 | ||
coloredlogs==15.0.1 | ||
humanfriendly==10.0 | ||
idna==3.6 | ||
requests==2.31.0 | ||
setuptools==69.0.3 | ||
typing_extensions==4.9.0 | ||
urllib3==2.1.0 | ||
wheel==0.42.0 | ||
urllib3==2.2.0 | ||
######################################################################## | ||
# pipdeptree | ||
######################################################################## | ||
coloredlogs==15.0.1 | ||
└── humanfriendly [required: >=9.1, installed: 10.0] | ||
pip==23.2.1 | ||
pipdeptree==2.13.2 | ||
setuptools==69.0.3 | ||
setuptools==65.5.1 | ||
wheel==0.42.0 | ||
wipac-dev-tools | ||
├── requests [required: Any, installed: 2.31.0] | ||
│ ├── certifi [required: >=2017.4.17, installed: 2023.11.17] | ||
│ ├── certifi [required: >=2017.4.17, installed: 2024.2.2] | ||
│ ├── charset-normalizer [required: >=2,<4, installed: 3.3.2] | ||
│ ├── idna [required: >=2.5,<4, installed: 3.6] | ||
│ └── urllib3 [required: >=1.21.1,<3, installed: 2.1.0] | ||
│ └── urllib3 [required: >=1.21.1,<3, installed: 2.2.0] | ||
└── typing-extensions [required: Any, installed: 4.9.0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# This file was autogenerated by WIPACrepo/wipac-dev-py-setup-action | ||
# from `pip install .[semvar]` | ||
# using Python 3.11. | ||
# | ||
######################################################################## | ||
# pip freeze | ||
######################################################################## | ||
certifi==2024.2.2 | ||
charset-normalizer==3.3.2 | ||
idna==3.6 | ||
requests==2.31.0 | ||
semantic-version==2.10.0 | ||
typing_extensions==4.9.0 | ||
urllib3==2.2.0 | ||
######################################################################## | ||
# pipdeptree | ||
######################################################################## | ||
pip==23.2.1 | ||
pipdeptree==2.13.2 | ||
semantic-version==2.10.0 | ||
setuptools==65.5.1 | ||
wheel==0.42.0 | ||
wipac-dev-tools | ||
├── requests [required: Any, installed: 2.31.0] | ||
│ ├── certifi [required: >=2017.4.17, installed: 2024.2.2] | ||
│ ├── charset-normalizer [required: >=2,<4, installed: 3.3.2] | ||
│ ├── idna [required: >=2.5,<4, installed: 3.6] | ||
│ └── urllib3 [required: >=1.21.1,<3, installed: 2.2.0] | ||
└── typing-extensions [required: Any, installed: 4.9.0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
# | ||
# This file was autogenerated by WIPACrepo/wipac-dev-py-setup-action | ||
# from `pip install .` | ||
# using Python 3.12. | ||
# using Python 3.11. | ||
# | ||
######################################################################## | ||
# pip freeze | ||
######################################################################## | ||
certifi==2023.11.17 | ||
certifi==2024.2.2 | ||
charset-normalizer==3.3.2 | ||
idna==3.6 | ||
requests==2.31.0 | ||
setuptools==69.0.3 | ||
typing_extensions==4.9.0 | ||
urllib3==2.1.0 | ||
wheel==0.42.0 | ||
urllib3==2.2.0 | ||
######################################################################## | ||
# pipdeptree | ||
######################################################################## | ||
pip==23.2.1 | ||
pipdeptree==2.13.2 | ||
setuptools==69.0.3 | ||
setuptools==65.5.1 | ||
wheel==0.42.0 | ||
wipac-dev-tools | ||
├── requests [required: Any, installed: 2.31.0] | ||
│ ├── certifi [required: >=2017.4.17, installed: 2023.11.17] | ||
│ ├── certifi [required: >=2017.4.17, installed: 2024.2.2] | ||
│ ├── charset-normalizer [required: >=2,<4, installed: 3.3.2] | ||
│ ├── idna [required: >=2.5,<4, installed: 3.6] | ||
│ └── urllib3 [required: >=1.21.1,<3, installed: 2.1.0] | ||
│ └── urllib3 [required: >=1.21.1,<3, installed: 2.2.0] | ||
└── typing-extensions [required: Any, installed: 4.9.0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
"""semvar_parser_test.py.""" | ||
|
||
|
||
import logging | ||
|
||
from wipac_dev_tools import semvar_parser_tools | ||
|
||
LOGGER = logging.getLogger(__name__) | ||
|
||
|
||
def test_000() -> None: | ||
"""Test with semvar ranges.""" | ||
assert semvar_parser_tools.list_all_majmin_versions( | ||
major=3, | ||
semvar_range=">=3.5.1, <3.9", | ||
# max_minor=99, | ||
) == [(3, 6), (3, 7), (3, 8)] | ||
|
||
assert semvar_parser_tools.list_all_majmin_versions( | ||
major=3, | ||
semvar_range=">=3.5.1", | ||
max_minor=8, | ||
) == [(3, 6), (3, 7), (3, 8)] | ||
|
||
assert semvar_parser_tools.list_all_majmin_versions( | ||
major=3, | ||
semvar_range=">=3,<3.6,!=3.3", | ||
# max_minor=99, | ||
) == [(3, 0), (3, 1), (3, 2), (3, 4), (3, 5)] | ||
|
||
assert not semvar_parser_tools.list_all_majmin_versions( | ||
major=2, | ||
semvar_range=">=3.5.1", | ||
# max_minor=99, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.