CircleCI-Public / python-orb

Common CircleCI tasks for the Python programming language.
https://circleci.com/developer/orbs/orb/circleci/python
MIT License
14 stars 38 forks source link

Python 3.9.0 stopped working on orb 1.2.1 #65

Closed sondrelg closed 3 years ago

sondrelg commented 3 years ago

Orb version:

1.2.1 and 1.3.0

What happened:

We've been running linting using this orb for a few weeks on Python 3.9.0, and somewhere between 6 hours go and 1 hour ago, something broke.

image

Additional Information:

This is our setup

orbs:
  python: circleci/python@1.3.0
jobs:
  linting:
    executor:
      name: python/default
      tag: "3.9"
    steps:
      - checkout
      - python/install-packages:
          pkg-manager: pip
          pip-dependency-file: requirements-flake8.txt
          args: black==20.8b1 safety
    ...

Our circleci configuration is unchanged.

dsayling commented 3 years ago

This is not a bug in the orb, the 3.9 tag in the cimg/python is aliased to the latest patch version. Yesterday the cimg/python:3.9 image was updated to the latest patch, 3.9.1. See here: https://github.com/CircleCI-Public/cimg-python/pull/72

You should set the tag to "3.9.0" if you need the specific version of python declared in your .python-version of your project.