Skip to content

Commit

Permalink
Add prescription for installing flask-openid with the right setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
fridex committed Sep 22, 2021
1 parent fccd45a commit 2bd7fd3
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions prescriptions/fl_/flask-openid/setuptools_2to3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
units:
steps:
- name: FlaskOpenIDSetuptools2to3Step
type: step
should_include:
adviser_pipeline: true
match:
package_version:
name: flask-openid
version: <1.3.0
index_url: https://pypi.org/simple
state:
resolved_dependencies:
- name: setuptools
version: ">=58.0.0"
run:
multi_package_resolution: true
stack_info:
- &stack_info
type: WARNING
message: Cannot install flask-openid<1.3.0 when using setuptools>=58.0.0
link: https://github.com/pallets-eco/flask-openid/issues/59
not_acceptable: Cannot install flask-openid<1.3.0 when using setuptools>=58.0.0
sieves:
- name: FlaskOpenIDSetuptools2to3Sieve
type: sieve
should_include:
adviser_pipeline: true
runtime_environments:
# Filter flask-openid if Python container images are
# shipped with the specified setuptools.
python_packages:
- name: setuptools
version: <58.0.0
location: ^/opt/app-root/.*
match:
package_version:
name: flask-openid
version: <1.3.0
index_url: https://pypi.org/simple
run:
stack_info:
- <<: *stack_info

0 comments on commit 2bd7fd3

Please sign in to comment.