Package Details: python-instructor 1.7.2-1

Git Clone URL: https://aur.archlinux.org/python-instructor.git (read-only, click to copy)
Package Base: python-instructor
Description: Structured outputs for LLMs
Upstream URL: https://github.com/jxnl/instructor
Licenses: MIT
Submitter: carsme
Maintainer: envolution
Last Packager: envolution
Votes: 1
Popularity: 0.018808
First Submitted: 2024-01-09 08:38 (UTC)
Last Updated: 2024-12-28 04:12 (UTC)

Dependencies (26)

Required by (1)

Sources (1)

Latest Comments

brokenpip3 commented on 2024-12-05 09:41 (UTC)

perfect, now is working again, thanks!

envolution commented on 2024-12-03 11:22 (UTC)

@brokenpip3 thanks, not clear to me why I'm not having issues with this test - i've disabled for the time being

brokenpip3 commented on 2024-12-02 23:31 (UTC)

I have the same issue

FAILED tests/test_multimodal.py::test_image_from_url_with_unusual_extension - ValueError: Unsupported image format: text/html
FAILED tests/test_multimodal.py::test_image_from_various_urls[https://example.com/image.webp] - ValueError: Unsupported image format: text/html
FAILED tests/test_multimodal.py::test_image_autodetect[/path/to/image.webp-file-image/webp] - ValueError: Unsupported image 

it seems that the multimodal image tests that we need to ignore are under tests/test_multimodal.py here https://github.com/instructor-ai/instructor/blob/main/tests/test_multimodal.py

envolution commented on 2024-11-16 09:37 (UTC)

@8ar10der could you please try this new version?

8ar10der commented on 2024-11-04 19:37 (UTC) (edited on 2024-11-04 19:42 (UTC) by 8ar10der)

Build failed:

========================================================================= short test summary info =========================================================================
FAILED tests/test_multimodal.py::test_image_from_url_with_unusual_extension - ValueError: Unsupported image format: text/html
FAILED tests/test_multimodal.py::test_image_from_various_urls[https://example.com/image.webp] - ValueError: Unsupported image format: text/html
FAILED tests/test_multimodal.py::test_image_autodetect[/path/to/image.webp-file-image/webp] - ValueError: Unsupported image format: None
================================================== 3 failed, 119 passed, 2 skipped, 69 deselected, 17 warnings in 3.79s ====================

titaniumbones commented on 2024-04-11 22:21 (UTC)

I have a very similar issue to @skyw4ll, in which pytest seems to be picking up an erroneous path somewhere. iN my case it looks for ~/__init. not just in my home user diretory, but also in hte home directories of other users on my system. I really have no idea what's going on; do you?

skyw4ll commented on 2024-03-26 12:29 (UTC) (edited on 2024-03-26 12:35 (UTC) by skyw4ll)

I have got an error when i am updating the package.

/usr/lib/python3.11/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3.11/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3.11/site-packages/_pytest/python.py:212: in pytest_collect_directory if pkginit.is_file(): /usr/lib/python3.11/pathlib.py:1267: in is_file return S_ISREG(self.stat().st_mode) /usr/lib/python3.11/pathlib.py:1013: in stat return os.stat(self, follow_symlinks=follow_symlinks) E PermissionError: [Errno 13] Permission denied: '/home/1000/.cache/dconf/__init__.py'