oxan / djangorestframework-dataclasses

Dataclasses serializer for Django REST framework
BSD 3-Clause "New" or "Revised" License
431 stars 28 forks source link

Re-add PEP 561 py.typed file to package #86

Closed intgr closed 1 year ago

intgr commented 1 year ago

Fixes #85. Last djangorestframework-dataclasses version 1.3.0 was missing py.typed file.

intgr commented 1 year ago

Validated:

% python3 -m build
% unzip -l dist/djangorestframework_dataclasses-1.3.0-py3-none-any.whl
Archive:  dist/djangorestframework_dataclasses-1.3.0-py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  08-31-2023 10:35   rest_framework_dataclasses/__init__.py
     3683  08-31-2023 10:35   rest_framework_dataclasses/field_utils.py
     5555  08-31-2023 10:35   rest_framework_dataclasses/fields.py
        0  08-31-2023 10:35   rest_framework_dataclasses/py.typed         # <-- present
    36389  08-31-2023 10:35   rest_framework_dataclasses/serializers.py
      742  08-31-2023 10:35   rest_framework_dataclasses/types.py
     9774  08-31-2023 10:35   rest_framework_dataclasses/typing_utils.py
     1486  08-31-2023 11:32   djangorestframework_dataclasses-1.3.0.dist-info/LICENSE
    28665  08-31-2023 11:32   djangorestframework_dataclasses-1.3.0.dist-info/METADATA
       92  08-31-2023 11:32   djangorestframework_dataclasses-1.3.0.dist-info/WHEEL
       27  08-31-2023 11:32   djangorestframework_dataclasses-1.3.0.dist-info/top_level.txt
     1168  08-31-2023 11:32   djangorestframework_dataclasses-1.3.0.dist-info/RECORD
---------                     -------
    87581                     12 files
intgr commented 1 year ago

Could you please make a release with this as well? This issue is preventing me from updating to 1.3.

oxan commented 1 year ago

Sure, done!