1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-23 22:40:58 -05:00
Commit graph

76 commits

Author SHA1 Message Date
s0600204
5ddfc5667c Update README.md 2022-01-21 10:00:14 -07:00
s0600204
110f89092a Fix installing under MinGW on Windows
python[.exe], when installed via (msys) MinGW on Windows, can be found under a
path structure similar to that you might find on *nix systems.

The install-python.py script was not taking this into consideration, causing
installation failure under Windows + MinGW.

A similar fault in poetry itself was resolved with python-poetry/poetry#3713.
2022-01-21 10:00:14 -07:00
pre-commit-ci[bot]
09509fbe05 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.10b0 → 21.12b0](https://github.com/psf/black/compare/21.10b0...21.12b0)
- https://gitlab.com/pycqa/flake8https://github.com/PyCQA/flake8
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1)
- https://github.com/timothycrosley/isorthttps://github.com/PyCQA/isort
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0)
2022-01-21 09:52:43 -07:00
Bjorn Neergaard
8a49e07b64 ci: fix concurrency group for push events 2021-11-21 10:51:52 -07:00
Bjorn Neergaard
2f92f18b7b chore: clean up minor code smells
This resolves some code smells found during python-poetry/poetry#4773. I
have not yet added the new lints to this repo, but I once they're
relatively stable/agreed on the main repo I will PR them here.
2021-11-16 09:48:34 -07:00
Bjorn Neergaard
ea79142501 ci: improve installer.yml workflow
Test on newer OS versions, DRY tasks, and limit concurrency
during PRs (kill current jobs on new push).
2021-11-16 09:48:34 -07:00
Arun Babu Neelicattu
c864942778
Misc. cleanup for project setup (#1)
* ci: fix branch configuration

* readme: add initial content

* add .gitignore

* add code quality checks managed by pre-commit
2021-11-12 18:28:30 -07:00
Arun Babu Neelicattu
f308a34806 vercel: add initial configuration 2021-11-12 21:39:38 +01:00
Arun Babu Neelicattu
75536e9b5d installer: use venv and improve error handling (#4099)
* installer: improve error handling and logging

Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>

* installer: default to using in-built venv module

This change refactors virtual environment creation and introduces a new
wrapper to handle command execution etc. If venv module is not
available, in cases like that of the ubuntu distribution where the
module is not part of the default python install, the virtualenv
package is used by fetching the appropriate zipapp for the package for
the python runtime.

Resolves: #4089
Resolves: #4093

* ci/installer: upload failure logs

* installer: preserve existing environment on failure

This change ensures that if creation of a new environment fails, any
previously existing environment is restored.

Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
2021-11-11 19:59:23 -07:00
Arun Babu Neelicattu
02b8003b33 ci: add install-poetry script workflow (#4666) 2021-11-10 08:23:17 -07:00
Nishant Misra
b2aef2b5cd Poetry Install with pip unavailable shouldn't throw Exception (#4522)
When installing Poetry through `install-poetry.py`, if `pip` is not
available, Exception should not be raised, rather installation should
be aborted with user-friendly error msg.

Fixes #4521

Co-authored-by: TurtleNishant <nishant@turtlelectric.com>
Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
2021-11-10 07:27:47 -07:00
Nikolai Røed Kristiansen
396c06a6a9 Fix printing install errors redirected to stdout (#4466)
Following a regression in #4443
2021-09-19 07:55:08 +02:00
Sébastien Eustace
2f316d632b Merge pull request #4433 from python-poetry/revert-system-env-changes
Fix the detection of the system environment with custom installer
2021-09-14 00:30:52 +02:00
Sébastien Eustace
28f4f9f527 Fix the detection of the system environment with custom installer 2021-09-06 18:18:11 +02:00
Sébastien Eustace
8c5f2528f6 Merge pull request #4443 from finswimmer/issue/4441-capture-output
fix (install-poetry): revert use of capture_output
2021-08-26 18:13:03 +02:00
finswimmer
45fac464bd fix (install-poetry): revert use of capture_output 2021-08-26 17:55:48 +02:00
Mathieu Kniewallner
0e3b144488 fix(install-poetry): check for returncode when pip installing Poetry (#4425) 2021-08-26 14:36:08 +02:00
Sébastien Eustace
04120853ef Merge pull request #4249 from finswimmer/installer-upgrade-warning
Fix warning about  self update when using install-poetry.py
2021-07-06 14:19:32 +02:00
finswimmer
79fe5db350 self update can be used for poetry >= 1.1.7 when installed via install-poetry.py 2021-07-03 18:58:01 +02:00
Arun Babu Neelicattu
4acfd05b53 installer: fix upgrade support check on scm version (#4126) 2021-06-04 11:08:42 +02:00
Arun Babu Neelicattu
ef8511c1de install-poetry: add warning for < 1.2.0a1
When installing poetry < 1.2.0a1 add a warning indicating the breakage
of `self update` command usage.

Relates-to: #4040
2021-06-01 16:41:15 +02:00
Eero Ruohola
0ab3fa97c8 Add a missing " to the post install message of install-poetry.py 2021-04-06 19:13:12 +02:00
Sébastien Eustace
3f25be6bdb Fix data dir location on MacOS 2021-03-30 03:22:29 +02:00
Sébastien Eustace
2ab6536563 Fix issues on Windows 2021-03-30 03:22:29 +02:00
Sébastien Eustace
a9ee3a4327 Use a symlink to the venv-installed poetry script 2021-03-30 03:22:29 +02:00
Sébastien Eustace
3921e4bea3 Implement a new bootstrapping method 2021-03-30 03:22:29 +02:00