1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-30 09:40:57 -05:00

Compare commits

..

10 commits

Author SHA1 Message Date
Tatsunori Uchino
559cb11ff7
Merge 2b71f2bd03 into 290e92f756 2024-11-20 15:00:12 +00:00
Tatsunori Uchino
2b71f2bd03
Correcting verbs to the present tense
Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
2024-11-21 00:00:09 +09:00
pre-commit-ci[bot]
290e92f756 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-11-20 15:40:47 +01:00
pre-commit-ci[bot]
6dc43458ef [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black-pre-commit-mirror: 23.9.1 → 24.10.0](https://github.com/psf/black-pre-commit-mirror/compare/23.9.1...24.10.0)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.0.290 → v0.7.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.290...v0.7.4)
2024-11-20 15:40:47 +01:00
Tatsunori Uchino
29ac4557b7 Add PowerShell snippets for postinstall 2024-11-20 15:40:39 +01:00
dependabot[bot]
d3ff39aaef
chore(deps): bump actions/checkout from 3 to 4 (#149) 2024-11-20 14:34:33 +00:00
dependabot[bot]
c762e1bc54
chore(deps): bump actions/setup-python from 3 to 5 (#148) 2024-11-20 14:27:45 +00:00
David Hotham
89e0b6f7b9 ci: update matrix versions 2024-11-20 15:08:34 +01:00
David Hotham
f9ec0dc5c2 dependabot for github actions 2024-11-20 15:08:34 +01:00
David Hotham
76183eebc8 bump actions/upload-artifact 2024-11-20 15:08:34 +01:00
4 changed files with 22 additions and 13 deletions

6
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly

View file

@ -25,13 +25,16 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [Ubuntu, macOS, Windows] os: [Ubuntu, macOS, Windows]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
args: args:
- "" - ""
- "--preview" - "--preview"
- "--git https://github.com/python-poetry/poetry.git" - "--git https://github.com/python-poetry/poetry.git"
- "--version 1.1.15"
- "--version 1.2.0"
include: include:
- os: Ubuntu - os: Ubuntu
image: ubuntu-22.04 image: ubuntu-22.04
@ -44,10 +47,10 @@ jobs:
run: run:
shell: bash shell: bash
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
@ -63,7 +66,7 @@ jobs:
run: python install-poetry.py -y ${{ matrix.args }} run: python install-poetry.py -y ${{ matrix.args }}
- name: Upload Failure Log - name: Upload Failure Log
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
if: failure() if: failure()
with: with:
name: poetry-installer-error.log name: poetry-installer-error.log
@ -99,7 +102,7 @@ jobs:
run: run:
shell: bash shell: bash
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install Packages - name: Install Packages
run: | run: |
@ -116,7 +119,7 @@ jobs:
run: python3 install-poetry.py -y run: python3 install-poetry.py -y
- name: Upload Failure Log - name: Upload Failure Log
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
if: failure() if: failure()
with: with:
name: poetry-installer-error.log name: poetry-installer-error.log

View file

@ -1,11 +1,11 @@
repos: repos:
- repo: https://github.com/psf/black-pre-commit-mirror - repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1 rev: 24.10.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 rev: v5.0.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@ -15,6 +15,6 @@ repos:
- id: check-json - id: check-json
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.290 rev: v0.7.4
hooks: hooks:
- id: ruff - id: ruff

View file

@ -22,7 +22,7 @@ installs, or use of pipx as alternatives to executing arbitrary, unversioned cod
script to alternatives, consider maintaining a local copy as part of your infrastructure. script to alternatives, consider maintaining a local copy as part of your infrastructure.
For full documentation, visit https://python-poetry.org/docs/#installation. For full documentation, visit https://python-poetry.org/docs/#installation.
""" # noqa: E501 """
import sys import sys
@ -272,7 +272,7 @@ You can execute `set -U fish_user_paths {poetry_home_bin} $fish_user_paths`
POST_MESSAGE_CONFIGURE_WINDOWS = """ POST_MESSAGE_CONFIGURE_WINDOWS = """
You can choose and execute one of the following commands in PowerShell: You can choose and execute one of the following commands in PowerShell:
A. Appends the bin directory to your user environment variable `PATH`: A. Append the bin directory to your user environment variable `PATH`:
``` ```
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";{poetry_home_bin}", "User") [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";{poetry_home_bin}", "User")