Skip to content

Increase required min version of typeguard to v4 due to issues with v3 #526

@mtitov

Description

@mtitov
Traceback (most recent call last):
  File "/opt/conda/lib/python3.9/site-packages/psij/executors/local.py", line 294, in submit
    nodefile = self._generate_nodefile(job, p)
  File "/opt/conda/lib/python3.9/site-packages/psij/executors/local.py", line 254, in _generate_nodefile
    if job.spec.resources.version == 1:
  File "/opt/conda/lib/python3.9/site-packages/psij/resource_spec.py", line 188, in version
    def version(self) -> int:
  File "/opt/conda/lib/python3.9/site-packages/typeguard/_memo.py", line 70, in __init__
    self.type_hints = _type_hints_map[func]
  File "/opt/conda/lib/python3.9/weakref.py", line 416, in __getitem__
    return self.data[ref(key)]
TypeError: cannot create weak reference to 'property' object
# Name                    Version                   Build  Channel
typeguard                 3.0.2                    pypi_0    pypi

Originally issue came from spack, since the latest version of typeguard is 3.0.2 there, while there is no issues with pip installed 4+ versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions