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

Add support for Python 3.6 #9

Merged
merged 3 commits into from
Jun 7, 2019
Merged

Add support for Python 3.6 #9

merged 3 commits into from
Jun 7, 2019

Conversation

OrangeTux
Copy link
Contributor

@OrangeTux OrangeTux commented Jun 1, 2019

The project relies on the dataclasses package. This package is part of
the stdlib as of Python 3.7.

In order to support Python 3.6 this package must be installed from Pypi.
This backport on Pypi doesn't work with Python 3.7. To quote the README
from the package:

"As of version 0.4, this code no longer works with Python 3.7.
For 3.7, use the built-in dataclasses module."

The traditional requirements file doesn't allow to install certain
packages based on the Python version and don't install the package for
other Python versions.

Poetry does support exactly this. Poetry works with pyproject.toml that
was proposed in PEP 518.

Fixes: #5

Auke Willem Oosterhoff added 3 commits May 31, 2019 20:22
The project relies on the dataclasses package. This package is part of
the stdlib as of Python 3.7.

In order to support Python 3.6 this package must be installed from Pypi.
This backport on Pypi doesn't work with Python 3.7. To quote the README
from the package:

	"As of version 0.4, this code no longer works with Python 3.7.
	For 3.7, use the built-in dataclasses module."

The traditional requirements file doesn't allow to install certain
packages based on the Python version and don't install the package for
other Python versions.

Poetry does support exactly this. Poetry works with pyproject.toml that
was proposed in PEP 518.
@OrangeTux OrangeTux requested review from Roger, proelke and tropxy June 1, 2019 09:38
@OrangeTux OrangeTux merged commit 2abdde8 into master Jun 7, 2019
@OrangeTux OrangeTux deleted the add-support-for-py36 branch June 7, 2019 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Python3.6
2 participants