-
Notifications
You must be signed in to change notification settings - Fork 14
Compatible with 3.7 onwards #10
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
Conversation
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
setup.py
Outdated
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
import setuptools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need setup.py to support 3.7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been publishing using setup.py on Pypi, but as discussed I will use pyproject.toml, and will create a separate PR for it. So, removed it.
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" | |||
|
|||
[project] | |||
name = "durabletask" | |||
version = "0.1.0" | |||
version = "0.1.0-alpha.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewers: Right now, publishing only alpha versions.
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - just one question about tox.
.github/workflows/pr-validation.yml
Outdated
pip install -r requirements.txt | ||
- name: Lint with flake8 | ||
run: | | ||
flake8 . --count --show-source --statistics --exit-zero | ||
tox -e flake8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to replace the flake8
command with a tox
command?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh, I had updated the PR but forgot to comment here.
As discussed, have updated with an if condition to skip linting check for 3.7 ver.
And, build is green now.
Please check.
Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - thanks!
This PR aims to make durabletask compatible with 3.7 onwards.