./do local src/arigram
+ main local
++ dirname ./do
+ SRC=.
+ cd .
+ ARG=local
+ case $ARG in
+ python3 -m poetry check
All set!
+ python3 -m poetry lock
Updating dependencies
Resolving dependencies... (0.2s)
+ python3 -m poetry install
Installing dependencies from lock file
No dependencies to install or update
Installing the current project: arigram (0.1.1)
+ python3 -m pip install --user --upgrade .
Processing /home/linuxmobile/.local/src/arigram
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 454, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 348, in resolve
failure_causes = self._attempt_to_pin_criterion(name, criterion)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 208, in _attempt_to_pin_criterion
criteria = self._get_criteria_to_update(candidate)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 200, in _get_criteria_to_update
name, crit = self._merge_into_criterion(r, parent=candidate)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 176, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 83, in from_requirement
if not cands:
File "/usr/lib/python3.10/site-packages/resolvelib/structs.py", line 124, in __bool__
return bool(self._sequence)
File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 99, in __bool__
return any(self)
File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 220, in iter_index_candidates
result = self._finder.find_best_candidate(
File "/usr/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 882, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 825, in find_all_candidates
package_links = self.process_project_url(
File "/usr/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 789, in process_project_url
html_page = self._link_collector.fetch_page(project_url)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 618, in fetch_page
return _get_html_page(location, session=self.session)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 430, in _get_html_page
resp = _get_html_response(url, session=session)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 127, in _get_html_response
resp = session.get(
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3.10/site-packages/pip/_internal/network/session.py", line 428, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 697, in send
r.content
File "/usr/lib/python3.10/site-packages/requests/models.py", line 836, in content
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
File "/usr/lib/python3.10/site-packages/requests/models.py", line 758, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/lib/python3.10/site-packages/urllib3/response.py", line 579, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/lib/python3.10/site-packages/urllib3/response.py", line 522, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/home/linuxmobile/.local/lib/python3.10/site-packages/cachecontrol/filewrapper.py", line 96, in read
self._close()
File "/home/linuxmobile/.local/lib/python3.10/site-packages/cachecontrol/filewrapper.py", line 76, in _close
self.__callback(result)
File "/home/linuxmobile/.local/lib/python3.10/site-packages/cachecontrol/controller.py", line 329, in cache_response
self.cache.set(
TypeError: SafeFileCache.set() got an unexpected keyword argument 'expires'