PaloAltoNetworks / PaloAltoNetworks/pan-os-python

ci: Conflict between poetry 1.1.x and python 3.5

Open
#270 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
400
Forks
199
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Cannot upgrade CI to use poetry higher than 1.0. When using 1.1, a deprecation messages seems to prevent collection of the poetry cache path which causes the cache step to file because no path is provided.

Example:
https://github.com/PaloAltoNetworks/pan-os-python/runs/1166935375?check_suite_focus=true

Expected behavior

All tests should pass.

Current behavior

Python 3.5 tests fail. Other tests are skipped due to the failures.

Possible solution

Unknown at this time, need to do more experimenting with poetry 1.1 and python 3.5.

Context

This affects the GitHub Actions CI tests only.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions run and the repository's CI configuration to reproduce the Python 3.5 failure with Poetry 1.1.x. Investigate why the Poetry cache path is not collected after the deprecation message; done means the Python 3.5 CI tests pass and the remaining tests are no longer skipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.