[Bug 281910] devel/py-gql: Add new port devel/py-gql

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Oct 2024 02:53:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281910

            Bug ID: 281910
           Summary: devel/py-gql: Add new port devel/py-gql
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/graphql-python/gql
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dereks@lifeofadishwasher.com
 Attachment #254066 maintainer-approval+
             Flags:

Created attachment 254066
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254066&action=edit
Add new port devel/py-gql

Add new port devel/py-gql a python GraphQL client.
This is required for devel/py-python-gitlab v4.11.0.

portlint: ok. looks fine.
testport: ok. 14amd64.
unittest: 11 failed, 547 passed, 9 skipped, 446 warnings in 32.12s.

Most of the failed test are due to what appear to be pinned versions
differences with upstream and ports, while a rest are fix upstream in
unreleased versions.

Testing with devel/py-python-gitlab enabling GRAPHQL option and removing patch
to disable tests successfully passes graphql tests:

        # make test
        ...
        tests/unit/test_graphql.py::test_import_error_includes_message PASSED  
                 [ 95%]
        tests/unit/test_graphql.py::test_graphql_as_context_manager_exits
PASSED                 [ 95%]
        tests/unit/test_graphql.py::test_graphql_retries_on_429_response PASSED
                 [ 95%]
       
tests/unit/test_graphql.py::test_graphql_raises_when_max_retries_exceeded
PASSED         [ 95%]
        tests/unit/test_graphql.py::test_graphql_raises_on_401_response PASSED 
                 [ 95%]
        ...

        ==================================================== 1080 passed, 3
skipped in 5.70s === ...
        ...

-- 
You are receiving this mail because:
You are the assignee for the bug.