Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions eng/pipelines/templates/stages/archetype-python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ stages:
deploy:
steps:
- checkout: self

- task: UsePythonVersion@0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This dependency is not intuitive based on calling the verify-changelog.yml. IIRC we essentially need to do this as a pre-step anytime we use the shared powershell scripts. So I'd suggest we either do this as part of the script call to ensure it is always done or we eliminate the need to call scripts. From the python repo in our eng/common scripts.

@chidozieononiwu I'm starting to wonder if we should move the scripts for parsing out the language specific metadata into the language repos and just have an extension point in our common scripts. Perhaps instead of passing the language we pass a class or a script file for the particular language.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@weshaggard I will revisit this one one release is completed for synapse. I think we need to look at broader point of view as you suggested.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK if this is just to unblock the current releases then please move forward with it. I thought they were unblocked with your earlier change and this was the follow-up.


- script: |
pip install -r /eng/ci_tools.txt
displayName: 'Setup Python Environment'

- template: /eng/common/pipelines/templates/steps/verify-changelog.yml
parameters:
PackageName: ${{artifact.name}}
Expand Down