Skip to content
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

Pr/aleksander pawlak/170 #186

Merged
merged 12 commits into from
Apr 21, 2022
Merged

Pr/aleksander pawlak/170 #186

merged 12 commits into from
Apr 21, 2022

Conversation

lovasoa
Copy link
Owner

@lovasoa lovasoa commented Apr 21, 2022

Updated version of: #54
Fix for: #13

closes #170

ADR-007-SoftServe and others added 12 commits December 14, 2021 12:52
Fix flake8

Fix deprecated usage of 'self'
* [README] Update README.md to address issue #183

* Update README.md

* fix typo in README.md

Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
* Fix use of typing.NewType in Python 3.10

https://docs.python.org/3.10/library/typing.html#typing.NewType

"Changed in version 3.10: NewType is now a class rather than a function."

* Add Python 3.10 to GitHub workflow test matrix

Note the use of strings: otherwise YAML thinks we want to test Python 3.1

* Pin types-dataclasses version for Python 3.6

It looks broken for Python 3.6 due to python/typeshed@a40d79a
* Update dev dependencies
* mypy has gotten smarter, and it tries to do an automatic cast that breaks our code

* drop support for pre-commit hooks on 3.6

* downgrade types-dataclass
@lovasoa lovasoa merged commit fac0b6d into master Apr 21, 2022
@lovasoa lovasoa deleted the pr/AleksanderPawlak/170 branch April 21, 2022 16:36
lovasoa added a commit to epenet/marshmallow_dataclass that referenced this pull request Apr 21, 2022
* Fix forward references

* Fix forward references

* Add comment; Remove unused imports

* Remove unused imports

Fix flake8

Fix deprecated usage of 'self'

* Add usage inspect.stack to get locals from scope of class declaration

* Fix proper passing of class definition frame to class_schema of nested fields

* Change lambda to partial

* Add params im test_class_schema

* Fix type annotation in dataclass decorator. Add better doc

* [README] Add documentation about Union types (lovasoa#184)

* [README] Update README.md to address issue lovasoa#183

* Update README.md

* fix typo in README.md

Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>

* Fix use of typing.NewType in Python 3.10 (lovasoa#180)

* Fix use of typing.NewType in Python 3.10

https://docs.python.org/3.10/library/typing.html#typing.NewType

"Changed in version 3.10: NewType is now a class rather than a function."

* Add Python 3.10 to GitHub workflow test matrix

Note the use of strings: otherwise YAML thinks we want to test Python 3.1

* Pin types-dataclasses version for Python 3.6

It looks broken for Python 3.6 due to python/typeshed@a40d79a

* fix ci (lovasoa#185)

* Update dev dependencies
* mypy has gotten smarter, and it tries to do an automatic cast that breaks our code

* drop support for pre-commit hooks on 3.6

* downgrade types-dataclass

Co-authored-by: Adrian Dankiv <adank@softserveinc.com>
Co-authored-by: Adrian Dankiv <adr-007@ukr.net>
Co-authored-by: Aleksander Pawlak <aleksander.pawlak@emplocity.pl>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: Nicolas Noirbent <nicolas.noirbent@lumapps.com>
lovasoa added a commit that referenced this pull request Apr 21, 2022
* Relax constraints on typing-extensions

* [README] Add documentation about Union types (#184)

* [README] Update README.md to address issue #183

* Update README.md

* fix typo in README.md

Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>

* Fix use of typing.NewType in Python 3.10 (#180)

* Fix use of typing.NewType in Python 3.10

https://docs.python.org/3.10/library/typing.html#typing.NewType

"Changed in version 3.10: NewType is now a class rather than a function."

* Add Python 3.10 to GitHub workflow test matrix

Note the use of strings: otherwise YAML thinks we want to test Python 3.1

* Pin types-dataclasses version for Python 3.6

It looks broken for Python 3.6 due to python/typeshed@a40d79a

* fix ci (#185)

* Update dev dependencies
* mypy has gotten smarter, and it tries to do an automatic cast that breaks our code

* drop support for pre-commit hooks on 3.6

* downgrade types-dataclass

* Pr/aleksander pawlak/170 (#186)

* Fix forward references

* Fix forward references

* Add comment; Remove unused imports

* Remove unused imports

Fix flake8

Fix deprecated usage of 'self'

* Add usage inspect.stack to get locals from scope of class declaration

* Fix proper passing of class definition frame to class_schema of nested fields

* Change lambda to partial

* Add params im test_class_schema

* Fix type annotation in dataclass decorator. Add better doc

* [README] Add documentation about Union types (#184)

* [README] Update README.md to address issue #183

* Update README.md

* fix typo in README.md

Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>

* Fix use of typing.NewType in Python 3.10 (#180)

* Fix use of typing.NewType in Python 3.10

https://docs.python.org/3.10/library/typing.html#typing.NewType

"Changed in version 3.10: NewType is now a class rather than a function."

* Add Python 3.10 to GitHub workflow test matrix

Note the use of strings: otherwise YAML thinks we want to test Python 3.1

* Pin types-dataclasses version for Python 3.6

It looks broken for Python 3.6 due to python/typeshed@a40d79a

* fix ci (#185)

* Update dev dependencies
* mypy has gotten smarter, and it tries to do an automatic cast that breaks our code

* drop support for pre-commit hooks on 3.6

* downgrade types-dataclass

Co-authored-by: Adrian Dankiv <adank@softserveinc.com>
Co-authored-by: Adrian Dankiv <adr-007@ukr.net>
Co-authored-by: Aleksander Pawlak <aleksander.pawlak@emplocity.pl>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: Nicolas Noirbent <nicolas.noirbent@lumapps.com>

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
Co-authored-by: Nicolas Noirbent <nicolas.noirbent@lumapps.com>
Co-authored-by: Adrian Dankiv <adank@softserveinc.com>
Co-authored-by: Adrian Dankiv <adr-007@ukr.net>
Co-authored-by: Aleksander Pawlak <aleksander.pawlak@emplocity.pl>
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.

None yet

6 participants