Skip to content

Commit

Permalink
localstack failing build Action
Browse files Browse the repository at this point in the history
force updating setuptools even for pre-existing pipx environments

also forcing pip and wheel to eliminate future problems

Fixes #82
  • Loading branch information
danielbraun89 committed Nov 26, 2022
1 parent 8c19e9a commit 41f21b0
Show file tree
Hide file tree
Showing 82 changed files with 235 additions and 82 deletions.
Expand Up @@ -148,6 +148,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U

{% for pipx_package in cookiecutter.content.pipx %}
if [ "${{ pipx_package.display_name | to_screaming_snake_case }}" != "none" ]; then
if [ "${{ pipx_package.display_name | to_screaming_snake_case }}" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/angular-cli/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Angular CLI",
"id": "angular-cli",
"version": "1.1.2",
"version": "1.1.3",
"description": "Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Angular applications directly from a command shell.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/angular-cli",
"installAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/ansible/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Ansible",
"id": "ansible",
"version": "1.1.2",
"version": "1.1.3",
"description": "Ansible is a suite of software tools that enables infrastructure as code.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/ansible",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/ansible/install.sh
Expand Up @@ -101,6 +101,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$ANSIBLE" != "none" ]; then
if [ "$ANSIBLE" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/aws-cdk/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "AWS Cloud Development Kit (AWS CDK)",
"id": "aws-cdk",
"version": "1.1.2",
"version": "1.1.3",
"description": "AWS CDK is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/aws-cdk",
"installAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/bandit/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Bandit",
"id": "bandit",
"version": "1.1.2",
"version": "1.1.3",
"description": "Bandit is a tool designed to find common security issues in Python code.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/bandit",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/bandit/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$BANDIT" != "none" ]; then
if [ "$BANDIT" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/black/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Black",
"id": "black",
"version": "1.1.2",
"version": "1.1.3",
"description": "Black is an uncompromising Python code formatter.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/black",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/black/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$BLACK" != "none" ]; then
if [ "$BLACK" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/brownie/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Brownie",
"id": "brownie",
"version": "1.1.2",
"version": "1.1.3",
"description": "Brownie is a Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/brownie",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/brownie/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$BROWNIE" != "none" ]; then
if [ "$BROWNIE" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/cookiecutter/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Cookiecutter",
"id": "cookiecutter",
"version": "1.1.2",
"version": "1.1.3",
"description": "Cookiecutter creates projects from project templates.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/cookiecutter",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/cookiecutter/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$COOKIECUTTER" != "none" ]; then
if [ "$COOKIECUTTER" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/coverage-py/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Coverage.py",
"id": "coverage-py",
"version": "1.1.2",
"version": "1.1.3",
"description": "Coverage.py is a tool for measuring code coverage of Python programs.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/coverage-py",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/coverage-py/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$COVERAGE" != "none" ]; then
if [ "$COVERAGE" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/datasette/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Datasette",
"id": "datasette",
"version": "1.1.2",
"version": "1.1.3",
"description": "Datasette is a tool for exploring and publishing data and is aimed at data journalists, museum curators, archivists, local governments, scientists and researchers.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/datasette",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/datasette/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$DATASETTE" != "none" ]; then
if [ "$DATASETTE" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/express-generator/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Express Application Generator",
"id": "express-generator",
"version": "1.1.2",
"version": "1.1.3",
"description": "Express Application Generator is a handy tool for creating skeleton Express web apps.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/express-generator",
"installAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/fkill/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "fkill",
"id": "fkill",
"version": "1.1.2",
"version": "1.1.3",
"description": "fkill fabulously kill processes. Cross-platform.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/fkill",
"installAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/flake8/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Flake8",
"id": "flake8",
"version": "1.1.2",
"version": "1.1.3",
"description": "Flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/flake8",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/flake8/install.sh
Expand Up @@ -119,6 +119,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$FLAKE8" != "none" ]; then
if [ "$FLAKE8" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/flit/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Flit",
"id": "flit",
"version": "1.1.2",
"version": "1.1.3",
"description": "Flit is a simple way to put Python packages and modules on PyPI.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/flit",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/flit/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$FLIT" != "none" ]; then
if [ "$FLIT" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/gdbgui/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "gdbgui",
"id": "gdbgui",
"version": "1.1.2",
"version": "1.1.3",
"description": "gdbgui is a browser-based frontend to gdb (gnu debugger).",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/gdbgui",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/gdbgui/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$GDBGUI" != "none" ]; then
if [ "$GDBGUI" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/glances/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Glances",
"id": "glances",
"version": "1.1.2",
"version": "1.1.3",
"description": "Glances is a cross-platform monitoring tool which aims to present a large amount of monitoring information through a curses or Web based interface.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/glances",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/glances/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$GLANCES" != "none" ]; then
if [ "$GLANCES" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/hatch/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Hatch",
"id": "hatch",
"version": "1.1.2",
"version": "1.1.3",
"description": "Hatch is a modern, extensible Python project manager.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/hatch",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/hatch/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$HATCH" != "none" ]; then
if [ "$HATCH" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/isort/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "isort",
"id": "isort",
"version": "1.1.2",
"version": "1.1.3",
"description": "isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections and by type.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/isort",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/isort/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$ISORT" != "none" ]; then
if [ "$ISORT" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/jest/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Jest",
"id": "jest",
"version": "1.1.2",
"version": "1.1.3",
"description": "Jest is a delightful JavaScript Testing Framework with a focus on simplicity",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/jest",
"installAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/jrnl/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "jrnl",
"id": "jrnl",
"version": "1.1.2",
"version": "1.1.3",
"description": "jrnl is a simple journal application for the command line.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/jrnl",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/jrnl/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$JRNL" != "none" ]; then
if [ "$JRNL" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/jshint/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "JSHint",
"id": "jshint",
"version": "1.1.2",
"version": "1.1.3",
"description": "JSHint a tool that helps to detect errors and potential problems in your JavaScript code.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/jshint",
"installAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/lektor/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Lektor",
"id": "lektor",
"version": "1.1.2",
"version": "1.1.3",
"description": "Lektor is a static website generator.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/lektor",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/lektor/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$LEKTOR" != "none" ]; then
if [ "$LEKTOR" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/less/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Less (Leaner Style Sheets)",
"id": "less",
"version": "1.1.2",
"version": "1.1.3",
"description": "Less is a backwards-compatible language extension for CSS",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/less",
"installAfter": [
Expand Down
2 changes: 1 addition & 1 deletion src/localstack/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Localstack",
"id": "localstack",
"version": "1.1.2",
"version": "1.1.3",
"description": "Localstack is a fully functional local AWS cloud stack.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/localstack",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/localstack/install.sh
Expand Up @@ -101,6 +101,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$LOCALSTACK" != "none" ]; then
if [ "$LOCALSTACK" = "latest" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/meltano/devcontainer-feature.json
@@ -1,7 +1,7 @@
{
"name": "Meltano ELT",
"id": "meltano",
"version": "1.1.2",
"version": "1.1.3",
"description": "Meltano lets you extract and load data with a software development-inspired approach that that delivers flexibility and limitless collaboration.",
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/meltano",
"installAfter": [
Expand Down
3 changes: 3 additions & 0 deletions src/meltano/install.sh
Expand Up @@ -99,6 +99,9 @@ if ! type pipx > /dev/null 2>&1; then
else
PIPX_COMMAND=pipx
fi
# make sure pipx uses the latest version of setuptools wheel and pip
$(pipx environment --value PIPX_SHARED_LIBS)/bin/pip install pip setuptools wheel -U


if [ "$MELTANO" != "none" ]; then
if [ "$MELTANO" = "latest" ]; then
Expand Down

0 comments on commit 41f21b0

Please sign in to comment.