- 20 Mar, 2020 1 commit
-
-
* Fix Github actions cache issues (#1908) * Fix case of `-f` flag * Make it clearer what options to pass to `--format` * fix (masonry.api): `get_requires_for_build_wheel` must return additional list of requirements for building a package, not listed in `pyproject.toml` and not dependencies for the package itself (#1875) fix (tests): adopted tests * Lazy Keyring intialization for PasswordManager (#1892) * Fix Github Actions cache issues (#1928) * Avoid nested quantifiers with overlapping character space on git url parsing (#1902 (#1913) * fix (git): match for `\w` instead of `.` for getting user * change (vcs.git): hold pattern of the regex parts in a dictionary to be consistent over all regexs * new (vcs.git): test for `parse_url` and some fixes for the regex pattern * new (vcs.git): test for `parse_url` with string that should fail * fix (test.vcs.git): make flake8 happy * fix: correct parsing of wheel version with regex. (#1932) The previous regexp was only taking the first integer of the version number, this presented problems when the major version number reached double digits. Poetry would determine that the version of the dependency is '1', rather than, ie: '14'. This caused failures to solve versions. * Fix errors when using the --help option (#1910) * Fix how repository credentials are retrieved from env vars (#1909) # Conflicts: # poetry/utils/password_manager.py * Fix downloading packages from Simplepypi (#1851) * fix downloading packages from simplepypi * unused code removed * remove unused imports * Upgrade dependencies for the 1.0.3 release (#1965) * Bump version to 1.0.3 (#1966) * Fix non-compliant Git URL matching RFC 3986 § 2.3 permits more characters in a URL than were matched. This corrects that, though there may be other deficiencies. This was a regression from v1.0.2, where at least “.” was matched without error. * Update README.md "Updating Poetry" Currently the note in "Updating Poetry" is different from the one below in "Enable tab completion for Bash, Fish, or Zsh". This MR is to make them more consistent. * init: change dev dependency prompt * Fix CI issues (#2069) * fix (setup_reader): check if `func.value` has attr `id` (#2041) * fix(git): get commit sha of git commit from annotated tags (#1948) * fix(git): have annotated tags resolve to the commit sha * fix(git): fix quote * fix(git): change to rev-parse * fix: use correct badge on README (#2065) * Fix #1791: Load repository URL from config (#2061) * Fix #1791: Load repository URL from config * Ran black to fix linting errors * Add test for repo URL env variable * Changed schema to support url in multi dependencies (#2035) * Fix handling of forward slashes and url encoding in credentials (#1911) * Add support for forward slashes and url encoding in credentials * Remove extra newline * Remove unquote * Bump actions/checkout from v1 to v2 (#2075) * Update release.yml * Update main.yml * Fix vendor package as installed package (#1883) (#1981) * Fix vendor package as installed package (#1883) * import from Co-Authored-By: Sébastien Eustace <sebastien.eustace@gmail.com> * test vendor package as installed * refactor * remove blank line Co-authored-by: Sébastien Eustace <sebastien.eustace@gmail.com> * fix(utils.env): import cli_run from virtualenv (#2096) * fix(utils.env): import cli_run from virtualenv if create_environment import failes * fix (utils.env): added accidentally removed code * list .venv when it exists (#1762) * list .venv when it exists * only list when in-project is true * missing config * move logic to manager.list * Add .venv when it exists * fix: exclude subpackage from `setup.py` if `__init__.py` is excluded (#1009) (#1626) * fix: exclude subpackage from `setup.py` if `__init__.py` is excluded Fixes: #1009 * fix: added missing test data * fix: lint test data * change (sdist.git): exclude folders with no python file * fix (sdist.git): make black happy * get_vcs starts searching git folder from tmp dir instead of project (#1946) (#1947) * fix (builder): take `self._original_path` if available to find `.git` folder * change (vcs): use `git rev-parse --show-toplevel` to find git root folder * fix (vcs): change back to original working dir after finding vcs * change (builder): introduce self._original_path to keep original path if(vcs): resolve directory for `get_vcs` * Normalize author name unicode before matching (#2006) * Fix accented characters not being matched in author name Fixes #2004 * Normalized the strings instead of modifying the pattern * Applied isort & black * Fix the url used for installation when fallbacking on PyPI (#2099) * Upgrade dependencies before the 1.0.4 release (#2100) * Upgrade dependencies before the 1.0.4 release (#2103) * Release 1.0.4 (#2101) * Update release script * Bump version to 1.0.4 * Fix release script (#2104) * Fix VCS when git is not in PATH * Upgrade dependencies before the 1.0.5 release (#2111) * Bump version to 1.0.5 (#2112) * Fix GitHub URL for black Black is now officially supported by the Python Software Foundation * Update Contributing.md* Fix markdown formatting* Update link to official website FAQ * Update managing-environments.md Co-authored-by: brandonaut <brandon@hubermx.com> Co-authored-by: finswimmer <finswimmer77@gmail.com> Co-authored-by: Yannick PÉROUX <yannick.peroux@gmail.com> Co-authored-by: Edward George <edwardgeorge@gmail.com> Co-authored-by: Jan Škoda <skoda@jskoda.cz> Co-authored-by: Andrew Marshall <andrew@johnandrewmarshall.com> Co-authored-by: Andrew Selzer <andrewfselzer@gmail.com> Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com> Co-authored-by: Julien Lhermitte <705366+jrmlhermitte@users.noreply.github.com> Co-authored-by: Michael Aquilina <michaelaquilina@gmail.com> Co-authored-by: Joshua Cannon <joshdcannon@gmail.com> Co-authored-by: László Velinszky <laszlo.velinszky@meltwater.com> Co-authored-by: Lu Zhu <misterzhu@gmail.com> Co-authored-by: BSKY <git@bsky.moe> Co-authored-by: Trim21 <github@trim21.me> Co-authored-by: Frost Ming <frostming@tencent.com> Co-authored-by: Raphael Yancey <raphael@badfile.net> Co-authored-by: adisbladis <adisbladis@gmail.com> Co-authored-by: Dimitri Merejkowsky <dimitri.merejkowsky@tanker.io> Co-authored-by: Jules Chéron <jules.cheron@gmail.com> Co-authored-by: Alex Povel <48824213+alexpovel@users.noreply.github.com>
Sébastien Eustace committed
-
- 08 Mar, 2020 2 commits
-
-
* Add poetry.locations.REPOSITORY_CACHE_DIR The repository cache directory is used in multiple places in the codebase. This change ensures that the value is reused. * Add cache list command This introduces a new cache sub-command that lists all available caches. Relates-to: #1162
Arun Babu Neelicattu committed -
The isort pre-commit mirror has been deprecated. This change updates configuration to use the upstream package repository instead of the mirror.
Arun Babu Neelicattu committed
-
- 21 Feb, 2020 1 commit
-
-
* Fix Github actions cache issues (#1908) * Fix case of `-f` flag * Make it clearer what options to pass to `--format` * fix (masonry.api): `get_requires_for_build_wheel` must return additional list of requirements for building a package, not listed in `pyproject.toml` and not dependencies for the package itself (#1875) fix (tests): adopted tests * Lazy Keyring intialization for PasswordManager (#1892) * Fix Github Actions cache issues (#1928) * Avoid nested quantifiers with overlapping character space on git url parsing (#1902 (#1913) * fix (git): match for `\w` instead of `.` for getting user * change (vcs.git): hold pattern of the regex parts in a dictionary to be consistent over all regexs * new (vcs.git): test for `parse_url` and some fixes for the regex pattern * new (vcs.git): test for `parse_url` with string that should fail * fix (test.vcs.git): make flake8 happy * fix: correct parsing of wheel version with regex. (#1932) The previous regexp was only taking the first integer of the version number, this presented problems when the major version number reached double digits. Poetry would determine that the version of the dependency is '1', rather than, ie: '14'. This caused failures to solve versions. * Fix errors when using the --help option (#1910) * Fix how repository credentials are retrieved from env vars (#1909) # Conflicts: # poetry/utils/password_manager.py * Fix downloading packages from Simplepypi (#1851) * fix downloading packages from simplepypi * unused code removed * remove unused imports * Upgrade dependencies for the 1.0.3 release (#1965) * Bump version to 1.0.3 (#1966) * Fix non-compliant Git URL matching RFC 3986 § 2.3 permits more characters in a URL than were matched. This corrects that, though there may be other deficiencies. This was a regression from v1.0.2, where at least “.” was matched without error. * Update README.md "Updating Poetry" Currently the note in "Updating Poetry" is different from the one below in "Enable tab completion for Bash, Fish, or Zsh". This MR is to make them more consistent. * init: change dev dependency prompt * Fix CI issues (#2069) Co-authored-by: brandonaut <brandon@hubermx.com> Co-authored-by: finswimmer <finswimmer77@gmail.com> Co-authored-by: Yannick PÉROUX <yannick.peroux@gmail.com> Co-authored-by: Edward George <edwardgeorge@gmail.com> Co-authored-by: Jan Škoda <skoda@jskoda.cz> Co-authored-by: Andrew Marshall <andrew@johnandrewmarshall.com> Co-authored-by: Andrew Selzer <andrewfselzer@gmail.com> Co-authored-by: Andrii Maletskyi <andrii.maletskyi@gmail.com>
Sébastien Eustace committed
-
- 31 Jan, 2020 1 commit
-
-
* Add --source option to 'poetry add' * Add tests for 'poetry add --source'
Yannick PÉROUX committed
-
- 21 Jan, 2020 1 commit
-
-
* Fix Github actions cache issues * Fix Github Actions cache issues (#1928)
Sébastien Eustace committed
-
- 10 Jan, 2020 9 commits
-
-
Merge master into develop
Sébastien Eustace committed -
Sébastien Eustace committed
-
Sébastien Eustace committed
-
Revert "create PEP508 compliant dependency string for directory and file dependencies (#1796)" (#1865) This reverts commit 10e471a0.
Sébastien Eustace committed -
# Conflicts: # poetry/masonry/builders/builder.py # poetry/masonry/builders/wheel.py # tests/masonry/builders/fixtures/default_with_excluded_data_toml/pyproject.toml # tests/masonry/builders/fixtures/exclude_nested_data_toml/pyproject.toml # tests/masonry/builders/test_wheel.py
Sébastien Eustace committed -
Sébastien Eustace committed
-
Sébastien Eustace committed
-
Sébastien Eustace committed
-
* fix (directory_dependency, file_dependency): create PEP508 compliant dependency string for directory and file dependencies * fix (directory_dependency, file_dependency): making isort and black happy
finswimmer committed
-
- 09 Jan, 2020 2 commits
-
-
* change (env.py): force recreation of venv if it is not sane * new (env): add warning when forcing recreation * fix (env): warning about broken venv placed right before calling recreation * Update poetry/utils/env.py Co-Authored-By: Sébastien Eustace <sebastien.eustace@gmail.com> Co-authored-by: Sébastien Eustace <sebastien.eustace@gmail.com>
finswimmer committed -
* fix(exporter): don't export local file dependency as editable * fix(exporter): don't check for source_type "url" when prepending `-e`
finswimmer committed
-
- 08 Jan, 2020 2 commits
-
-
Update CONTRIBUTING.md
finswimmer committed -
Update the contributing instructions to use python-poetry instead of sdispater as the repository namespace.
Matt Misner committed
-
- 07 Jan, 2020 1 commit
-
-
* Handle nested wildcards in package includes correctly. Fixes: #1379. Use compat `Path`. * Ensure that when building sdists, subpackages with Python files (but not necessarily an __init__.py file) will be included.
Steph Samson committed
-
- 06 Jan, 2020 2 commits
-
-
* fix: removed hint for uninstall poetry, after installation. * change (get-poetry.py): changed hint about uninstalling poetry * fix (get-poetry.py): typo
finswimmer committed -
* Fix PEP440 compatible release (`~=`) handling PEP440 compatible release version range (`~=`) should have itself as a minimum value. Examples from [official doc](https://python.org/dev/peps/pep-0440/#compatible-release) (each pair is equivalent): ``` ~=2.2 >=2.2, ==2.* ~=1.4.5 >=1.4.5, ==1.4.* ~=2.2.post3 >=2.2.post3, ==2.* ~=1.4.5a4 >=1.4.5a4, ==1.4.* ``` In every case, lower bound is exactly same as the input version. Current incorrect behavior was originally introduced 2 years ago by commit c55d55a8, where it tried to reset patch version to 0 for tilde expression. Closes #1150. * Fix Black lint
Jongbin Park committed
-
- 05 Jan, 2020 2 commits
-
-
finswimmer committed
-
Sébastien Eustace committed
-
- 30 Dec, 2019 1 commit
-
-
finswimmer committed
-
- 29 Dec, 2019 2 commits
-
-
Expand documentation of `git` dependency subkeys
finswimmer committed -
I need to pin a dependency to a specific git commit hash. After reading these docs, it was not clear to me that I could do so with the `rev` key, because "something else" is vague. I wound up digging into the source code and learned what I needed there. This change expands the documentation for `git` dependencies to explain the sub-keys in more detail and give examples of how to use each.
Ryan Delaney committed
-
- 26 Dec, 2019 3 commits
-
-
Sergey Sokolov committed
-
Frost Ming committed
-
Sébastien Eustace committed
-
- 24 Dec, 2019 5 commits
-
-
Frost Ming committed
-
finswimmer committed
-
finswimmer committed
-
Sébastien Eustace committed
-
* Removing setecho(False) for all shells * Only setecho(False) for zsh
James Roeder committed
-
- 20 Dec, 2019 2 commits
-
-
* fix (setup_reader): in `setup.py` the `setup()` method can also be called by `setuptools.setup()` * fix (setup_reader): make black happy * fix (setup_reader): skip test for python <3.4
finswimmer committed -
Sigurd Spieckermann committed
-
- 19 Dec, 2019 2 commits
-
-
Fixed typo
finswimmer committed -
Without this fix the helptext shows as: ``` version Shows the version of the project or bumps it when a validbump rule is provided. ```
Florian Apolloner committed
-
- 18 Dec, 2019 1 commit
-
-
Fix syntax errors in typehints
finswimmer committed
-