summaryrefslogtreecommitdiffstats
path: root/third_party/python/pip-tools/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /third_party/python/pip-tools/.github
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/python/pip-tools/.github')
-rw-r--r--third_party/python/pip-tools/.github/ISSUE_TEMPLATE/bug-report.md28
-rw-r--r--third_party/python/pip-tools/.github/ISSUE_TEMPLATE/feature-request.md19
-rw-r--r--third_party/python/pip-tools/.github/PULL_REQUEST_TEMPLATE.md9
-rw-r--r--third_party/python/pip-tools/.github/workflows/ci.yml66
-rw-r--r--third_party/python/pip-tools/.github/workflows/cron.yml73
-rw-r--r--third_party/python/pip-tools/.github/workflows/qa.yml43
6 files changed, 238 insertions, 0 deletions
diff --git a/third_party/python/pip-tools/.github/ISSUE_TEMPLATE/bug-report.md b/third_party/python/pip-tools/.github/ISSUE_TEMPLATE/bug-report.md
new file mode 100644
index 0000000000..d8be0c5674
--- /dev/null
+++ b/third_party/python/pip-tools/.github/ISSUE_TEMPLATE/bug-report.md
@@ -0,0 +1,28 @@
+---
+name: Bug report
+about: Create a report to help us improve
+
+---
+
+<!-- Describe the issue briefly here. -->
+
+#### Environment Versions
+
+1. OS Type
+1. Python version: `$ python -V`
+1. pip version: `$ pip --version`
+1. pip-tools version: `$ pip-compile --version`
+
+#### Steps to replicate
+
+1. ...
+2. ...
+3. ...
+
+#### Expected result
+
+...
+
+#### Actual result
+
+...
diff --git a/third_party/python/pip-tools/.github/ISSUE_TEMPLATE/feature-request.md b/third_party/python/pip-tools/.github/ISSUE_TEMPLATE/feature-request.md
new file mode 100644
index 0000000000..e2c7c5b4ed
--- /dev/null
+++ b/third_party/python/pip-tools/.github/ISSUE_TEMPLATE/feature-request.md
@@ -0,0 +1,19 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+
+---
+
+#### What's the problem this feature will solve?
+<!-- What are you trying to do, that you are unable to achieve with pip-tools as it currently stands? -->
+
+#### Describe the solution you'd like
+<!-- A clear and concise description of what you want to happen. -->
+
+<!-- Provide examples of real-world use cases that this would enable and how it solves the problem described above. -->
+
+#### Alternative Solutions
+<!-- Have you tried to workaround the problem using pip-tools or other tools? Or a different approach to solving this issue? Please elaborate here. -->
+
+#### Additional context
+<!-- Add any other context, links, etc. about the feature here. -->
diff --git a/third_party/python/pip-tools/.github/PULL_REQUEST_TEMPLATE.md b/third_party/python/pip-tools/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000000..430ad24772
--- /dev/null
+++ b/third_party/python/pip-tools/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,9 @@
+<!--- Describe the changes here. --->
+
+**Changelog-friendly one-liner**: <!-- One-liner description here -->
+
+##### Contributor checklist
+
+- [ ] Provided the tests for the changes.
+- [ ] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
+- [ ] Assign the PR to an existing or new milestone for the target version (following [Semantic Versioning](https://blog.versioneye.com/2014/01/16/semantic-versioning/)).
diff --git a/third_party/python/pip-tools/.github/workflows/ci.yml b/third_party/python/pip-tools/.github/workflows/ci.yml
new file mode 100644
index 0000000000..b5da29dde1
--- /dev/null
+++ b/third_party/python/pip-tools/.github/workflows/ci.yml
@@ -0,0 +1,66 @@
+name: CI
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+ tags:
+ schedule:
+ # Run everyday at 03:53 UTC
+ - cron: 53 3 * * *
+
+jobs:
+ test:
+ name: ${{ matrix.os }} / ${{ matrix.python-version }} / ${{ matrix.pip-version }}
+ runs-on: ${{ matrix.os }}-latest
+ strategy:
+ matrix:
+ os:
+ - Ubuntu
+ - Windows
+ - macOS
+ python-version:
+ - 3.8
+ - 2.7
+ - 3.5
+ - 3.6
+ - 3.7
+ pip-version:
+ - "latest"
+ - "20.2" # TODO: update to 20.1 after pip-20.2 being released
+ - "20.0"
+ include:
+ - os: Ubuntu
+ python-version: 3.9-dev
+ pip-version: latest
+
+ env:
+ PY_COLORS: 1
+ TOXENV: pip${{ matrix.pip-version }}-coverage
+ TOX_PARALLEL_NO_SPINNER: 1
+ steps:
+ - uses: actions/checkout@master
+ - name: Set up Python ${{ matrix.python-version }} from GitHub
+ if: "!endsWith(matrix.python-version, '-dev')"
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Set up Python ${{ matrix.python-version }} from deadsnakes
+ if: endsWith(matrix.python-version, '-dev')
+ uses: deadsnakes/action@v1.0.0
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Log python version info (${{ matrix.python-version }})
+ run: python --version --version
+ - name: Install test dependencies
+ run: python -m pip install -U tox virtualenv
+ - name: Prepare test environment
+ run: tox --notest -p auto --parallel-live
+ - name: Test pip ${{ matrix.pip-version }}
+ run: tox
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v1.0.6
+ with:
+ file: ./coverage.xml
+ name: ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pip-version }}
diff --git a/third_party/python/pip-tools/.github/workflows/cron.yml b/third_party/python/pip-tools/.github/workflows/cron.yml
new file mode 100644
index 0000000000..149825a1d2
--- /dev/null
+++ b/third_party/python/pip-tools/.github/workflows/cron.yml
@@ -0,0 +1,73 @@
+name: Cron
+
+on:
+ schedule:
+ # Run every day at 00:00 UTC
+ - cron: 0 0 * * *
+
+jobs:
+ master:
+ name: ${{ matrix.os }} / ${{ matrix.python-version }} / ${{ matrix.pip-version }}
+ runs-on: ${{ matrix.os }}-latest
+ strategy:
+ matrix:
+ os:
+ - Ubuntu
+ - Windows
+ - MacOS
+ python-version:
+ - 3.8
+ - 2.7
+ - 3.5
+ - 3.6
+ - 3.7
+ pip-version:
+ - master
+ env:
+ PY_COLORS: 1
+ TOXENV: pip${{ matrix.pip-version }}
+ TOX_PARALLEL_NO_SPINNER: 1
+ steps:
+ - uses: actions/checkout@master
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install test dependencies
+ run: python -m pip install -U tox virtualenv
+ - name: Prepare test environment
+ run: tox --notest -p auto --parallel-live
+ - name: Test pip ${{ matrix.pip-version }}
+ run: tox
+
+ pypy:
+ name: ${{ matrix.os }} / ${{ matrix.python-version }} / ${{ matrix.pip-version }}
+ runs-on: ${{ matrix.os }}-latest
+ strategy:
+ matrix:
+ os:
+ - Ubuntu
+ - MacOS
+ # TODO: fix test_realistic_complex_sub_dependencies test on Windows
+ # - Windows
+ python-version:
+ - pypy3
+ - pypy2
+ pip-version:
+ - latest
+ env:
+ PY_COLORS: 1
+ TOXENV: pip${{ matrix.pip-version }}
+ TOX_PARALLEL_NO_SPINNER: 1
+ steps:
+ - uses: actions/checkout@master
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install tox
+ run: pip install tox
+ - name: Prepare test environment
+ run: tox --notest -p auto --parallel-live
+ - name: Test pip ${{ matrix.pip-version }}
+ run: tox
diff --git a/third_party/python/pip-tools/.github/workflows/qa.yml b/third_party/python/pip-tools/.github/workflows/qa.yml
new file mode 100644
index 0000000000..2c5d6f5c59
--- /dev/null
+++ b/third_party/python/pip-tools/.github/workflows/qa.yml
@@ -0,0 +1,43 @@
+name: QA
+
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+ tags:
+
+jobs:
+ qa:
+ name: ${{ matrix.toxenv }}
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ toxenv:
+ - checkqa
+ - readme
+ python-version:
+ - "3.x"
+ env:
+ PY_COLORS: 1
+ TOXENV: ${{ matrix.toxenv }}
+ TOX_PARALLEL_NO_SPINNER: 1
+ steps:
+ - uses: actions/checkout@master
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Prepare cache key
+ id: cache-key
+ run: echo "::set-output name=sha-256::$(python -VV | sha256sum | cut -d' ' -f1)"
+ - uses: actions/cache@v1
+ with:
+ path: ~/.cache/pre-commit
+ key: pre-commit|${{ steps.cache-key.outputs.sha-256 }}|${{ hashFiles('.pre-commit-config.yaml') }}
+ - name: Install tox
+ run: pip install tox
+ - name: Prepare test environment
+ run: tox --notest -p auto --parallel-live
+ - name: Test ${{ matrix.toxenv }}
+ run: tox