Skip to content

Test with Python 3.11 #401

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

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Test with Python 3.11 #401

merged 1 commit into from
Jun 30, 2023

Conversation

sir-sigurd
Copy link
Contributor

No description provided.

@kleisauke
Copy link
Member

FWIW, this warning:

=============================== warnings summary ===============================
tests/test_progress.py::TestProgress::test_progress_fields
  /home/runner/work/pyvips/pyvips/.tox/py/lib/python3.11/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored from cffi callback <function _marshal_image_progress at 0x7f6e4797e3e0>: None
  
  Traceback (most recent call last):
    File "/home/runner/work/pyvips/pyvips/pyvips/gobject.py", line 32, in _marshal_image_progress
      callback(image, progress)
    File "/home/runner/work/pyvips/pyvips/tests/test_progress.py", line 45, in posteval_cb
      assert progress.percent == 100
  AssertionError: assert 99 == 100
   +  where 99 = <cdata 'VipsProgress *' 0x558b48ee56e0>.percent
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================== [44](https://github.com/libvips/pyvips/actions/runs/4772461785/jobs/8484994109#step:7:45) passed, 9 skipped, 1 warning in 1.77s ===================

Can safely be ignored as it was fixed with commit libvips/libvips@111eef0 (released in libvips 8.13.0).

@jcupitt jcupitt merged commit 4e60225 into libvips:master Jun 30, 2023
@jcupitt
Copy link
Member

jcupitt commented Jun 30, 2023

Sorry for the delay, thank you for doing this work, @sir-sigurd !

@sir-sigurd sir-sigurd deleted the python-3.11 branch June 30, 2023 02:34
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.

3 participants