Skip to content

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

Merged
merged 9 commits into from
May 9, 2023
Merged

Conversation

DeepanshuA
Copy link
Contributor

@DeepanshuA DeepanshuA commented May 2, 2023

This PR aims to make durabletask compatible with 3.7 onwards.

Signed-off-by: Deepanshu Agarwal <deepanshu.agarwal1984@gmail.com>
setup.py Outdated
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import setuptools
Copy link
Member

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?

Copy link
Contributor Author

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"
Copy link
Contributor Author

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.

@DeepanshuA DeepanshuA changed the title Compatible with 3.7 and setup.py for publishing on PyPi Compatible with 3.7 onwards May 3, 2023
DeepanshuA added 5 commits May 3, 2023 16:22
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>
Copy link
Member

@cgillum cgillum left a 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.

pip install -r requirements.txt
- name: Lint with flake8
run: |
flake8 . --count --show-source --statistics --exit-zero
tox -e flake8
Copy link
Member

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?

Copy link
Contributor Author

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>
Copy link
Member

@cgillum cgillum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks!

@cgillum cgillum merged commit dcf2058 into microsoft:main May 9, 2023
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.

2 participants