Bug 271274 - www/py-fastapi-users: Update to 11.0.0
Summary: www/py-fastapi-users: Update to 11.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: https://github.com/fastapi-users/fast...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-06 09:42 UTC by Goran Mekić
Modified: 2023-05-09 08:33 UTC (History)
1 user (show)

See Also:


Attachments
fastapi-users.patch (3.16 KB, patch)
2023-05-06 09:42 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff
fastapi-users.patch (3.15 KB, patch)
2023-05-09 07:20 UTC, Goran Mekić
meka: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2023-05-06 09:42:10 UTC
QA:

  * portlint: OK (looks fine.)
  * testport: OK (poudriere: 13.2, amd64 tested)
  * maketest: OK (546 passed)
Comment 1 Goran Mekić 2023-05-06 09:42:56 UTC
Created attachment 242012 [details]
fastapi-users.patch
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-05-06 13:57:36 UTC
Running "make test" fails on arm64 FreeBSD 13.2:

$ make test
===>  Testing for py39-fastapi-users-11.0.0
===>   py39-fastapi-users-11.0.0 depends on package: py39-asgi-lifespan>=0 - found
===>   py39-fastapi-users-11.0.0 depends on package: py39-asynctest>=0 - found
===>   py39-fastapi-users-11.0.0 depends on package: py39-httpx-oauth>=0 - found
===>   py39-fastapi-users-11.0.0 depends on package: py39-pymongo>=0 - found
===>   py39-fastapi-users-11.0.0 depends on package: py39-pytest-asyncio>=0 - found
===>   py39-fastapi-users-11.0.0 depends on package: py39-pytest>=7,1 - found
===>   py39-fastapi-users-11.0.0 depends on file: /usr/local/bin/python3.9 - found
cd /usr/home/ports/main.ports/www/py-fastapi-users/work-py39/fastapi_users-11.0.0 && /usr/bin/env PYTHONPATH=/usr/home/ports/main.ports/www/py-fastapi-users/work-py39/fastapi_users-11.0.0/src /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts= --ignore=tests/test_authentication_strategy_redis.py --ignore=test_build.py
ImportError while loading conftest '/usr/home/ports/main.ports/www/py-fastapi-users/work-py39/fastapi_users-11.0.0/tests/conftest.py'.
tests/conftest.py:23: in <module>
    from pytest_mock import MockerFixture
E   ModuleNotFoundError: No module named 'pytest_mock'
*** Error code 4

Stop.
make: stopped in /usr/home/ports/main.ports/www/py-fastapi-users

Please let me know if you would like the update to be committed anyway or else submit a fixed up patch.
Comment 3 Goran Mekić 2023-05-09 07:20:19 UTC
Created attachment 242075 [details]
fastapi-users.patch
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-05-09 08:11:09 UTC
Looks better!
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-05-09 08:32:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23354edbd3b89abe49b51904cd93cd801d6a7e92

commit 23354edbd3b89abe49b51904cd93cd801d6a7e92
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2023-05-06 09:36:47 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-09 08:27:49 +0000

    www/py-fastapi-users: Update to 11.0.0

    Changelog: https://github.com/fastapi-users/fastapi-users/releases/tag/v11.0.0

    PR:             271274

 www/py-fastapi-users/Makefile | 17 +++++++++--------
 www/py-fastapi-users/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 11 deletions(-)