Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create run-with-pypy.yml #237

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Create run-with-pypy.yml #237

wants to merge 2 commits into from

Conversation

phanak-sap
Copy link
Contributor

@phanak-sap phanak-sap commented Oct 3, 2022

This should be "optionally passing, allowed to fail" build for pyodata on PYPY python implementation (https://www.pypy.org/)

It is a copypaste of python-tests-compatibility.yml, but adding as another "python" version would

  1. create too much combinations that would need to be in Exclude section
  2. create a build that would be mandatory to pass, which is not what is wanted.. this is in category "provide information about package compatibility" than "must pass for every PR". But then, there is no "allow_failures " as in Travis - so it remains to be decided after all tests will start passing in this environment as well.
    Has the setNeutral method been removed? actions/toolkit#146
    https://stackoverflow.com/questions/57687369/how-to-write-a-github-action-with-a-neutral-check-run-status

At the moment it setup the environment for tests correctly:
Successfully set up PyPy 7.3.9
with Python (3.9.12)

But several tests are still failing (same four tests as in two year old tryout on travis, so definitelly a test-fix problem :) ]

=========================== short test summary info ============================
FAILED tests/test_service_v2.py::test_batch_request - AttributeError: '_io.By...
FAILED tests/test_service_v2.py::test_enormous_batch_request - AttributeError...
FAILED tests/test_service_v2.py::test_batch_request_failed_changeset - Attrib...
FAILED tests/test_service_v2.py::test_odata_http_response - AttributeError: '...
======================== 4 failed, 260 passed in 36.95s ========================


pyodata/v2/service.py:349: in execute
    return self._call_handler(response)
pyodata/v2/service.py:362: in _call_handler
    return self._handler(response)
/opt/hostedtoolcache/PyPy/3.9.12/x64/lib/pypy3.9/_functools.py:81: in __call__
    return self._func(*(self._args + fargs), **fkeywords)
pyodata/v2/service.py:1881: in http_response_handler
    return request.handler(request, decoded)
pyodata/v2/service.py:1783: in batch_handler
    result.append(req.handler(req, part))
pyodata/v2/service.py:1809: in changeset_handler
    response = ODataHttpResponse.from_string(parts[0])



@phanak-sap phanak-sap self-assigned this Oct 3, 2022
@phanak-sap phanak-sap marked this pull request as draft October 3, 2022 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant