Skip to content

Github action and Requirement.txt #11

Closed
rajibmitra wants to merge 4 commits into
dapr:masterfrom
rajibmitra:master
Closed

Github action and Requirement.txt #11
rajibmitra wants to merge 4 commits into
dapr:masterfrom
rajibmitra:master

Conversation

@rajibmitra

Copy link
Copy Markdown

Description

Please explain the changes you've made

  1. Adding for requirements.txt file
  2. Github action for packaging

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[issue number]
#9 #10

@msftclas

msftclas commented Nov 7, 2019

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would move this flake8 install step to Install dependencies

@@ -0,0 +1,34 @@
name: Python package

on: [push]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please specify the target branches like below.

on:
  push:
    branches:
      - master
    tags:
      - v*
  pull_request:
    branches:
      - master

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

will do , thanks.

strategy:
max-parallel: 4
matrix:
python-version: [2.7, 3.5, 3.6, 3.7]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It will start 4 different VMs. Do we need 4 different versions for linting and test? I would use one py 3.7 for this ci.

@amanbha @yaron2 @brendandburns Do we expect that dapr py-sdk supports python 2.x ?

@rajibmitra rajibmitra Nov 8, 2019

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I will change it to 3.7 only.
I agree @youngbupark , since python 2.x is retiring in 1 month 23 days from now [ https://pythonclock.org/ ] , it will be better to remove 2.x .

@youngbupark

Copy link
Copy Markdown
Contributor

@rajibmitra Any updates on this pr ?

@amanbha

amanbha commented Apr 17, 2020

Copy link
Copy Markdown
Contributor

@rmitr any updates on this PR?

@amanbha

amanbha commented Apr 29, 2020

Copy link
Copy Markdown
Contributor

@rmitr closing it for now due to lack of response. Please feel free to reopen when you are working on it.

@amanbha amanbha closed this Apr 29, 2020
@youngbupark youngbupark mentioned this pull request May 18, 2020
3 tasks
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.

4 participants