- 13 May, 2020 1 commit
-
-
Ilia Kurenkov committed
-
- 10 May, 2020 2 commits
-
-
finswimmer committed
-
Prior to this fix, when formatting PEP 508 dependency specification for remote url references, the quoted marker was not prefixed with required whitespace. This change ensures that the format adheres to the specified grammar. Resolves: python-poetry/poetry#2326
Simone Primarosa committed
-
- 09 May, 2020 3 commits
-
-
finswimmer committed
-
Fix typo in docs
finswimmer committed -
Your -> you
Artem Kolichenkov committed
-
- 25 Apr, 2020 1 commit
-
-
* fix incorrect parsing of spaces when parsing version constraints * add tests for `parse_constraint`
Arun Babu Neelicattu committed
-
- 22 Apr, 2020 1 commit
-
-
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Oleg Höfling committed
-
- 21 Apr, 2020 1 commit
-
-
Maximilian Köhl committed
-
- 20 Apr, 2020 1 commit
-
-
George Hawkins committed
-
- 14 Apr, 2020 2 commits
-
-
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
Trim21 committed -
Maximilian Roos committed
-
- 13 Apr, 2020 1 commit
-
-
stephsamson committed
-
- 12 Apr, 2020 5 commits
-
-
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
Arun Babu Neelicattu committed -
Arun Babu Neelicattu committed
-
Relates-to: #2238
Arun Babu Neelicattu committed -
Arun Babu Neelicattu committed
-
Relates-to: #2238
Arun Babu Neelicattu committed
-
- 09 Apr, 2020 1 commit
-
-
Dimitri Merejkowsky committed
-
- 06 Apr, 2020 3 commits
-
-
Resolves: #2115
finswimmer committed -
Daniel committed
-
'An' should come before a vowel sound. Reference: https://english.stackexchange.com/a/164/198117
Eyal Levin committed
-
- 05 Apr, 2020 1 commit
-
-
Xavier Francisco committed
-
- 02 Apr, 2020 1 commit
-
-
When testing the behavior for git packages with a setup.py file, the Provider class would create a temporary virtual environment and execute python setup.py egg_info. Both actions are costly and take time. By mocking them, we can reduce the tests time by a factor of 4 or 5.
Sébastien Eustace committed
-
- 01 Apr, 2020 1 commit
-
-
Tom Milligan committed
-
- 29 Mar, 2020 5 commits
-
-
Co-authored-by: finswimmer77@gmail.com <GiWahnsinn07!>
finswimmer committed -
* Add fish shell tab completion for mac * Remove macOS ref as brew should work linux as well
chenrui committed -
If multiple distributions have `tests` as a top-level package, they'll conflict whenever both are installed. (Examples [here]((https://github.com/python-poetry/poetry/issues/1905) and [here](https://github.com/NixOS/nixpkgs/issues/81482). Two common alternative strategies are: 1. not distributing tests (as [here](https://github.com/pypa/sampleproject)), or 2. placing tests in a subdirectory of the main package, rather than adjacent (as [here](http://blog.habnab.it/blog/2013/07/21/python-packages-and-you/) and [here](http://as.ynchrono.us/2007/12/filesystem-structure-of-python-project_21.html)). Each of these strategies will avoid this issue. Users may fall into this trap because of the [package documentation](https://python-poetry.org/docs/pyproject/#packages) page, which gives an example: ``` packages = [ { include = "my_package" }, { include = "tests", format = "sdist" }, ] ``` Having two top-level packages in a distribution is relatively unusual, but does have some use cases. Using `"tests"` as a top-level package name in the example is likely to lead to conflicts, however. The alternate package in the documentation example could have a unique name like `"my_other_package"`, which would reduce the likelihood of this kind of overlap.
jtrakk committed -
bynare committed
-
Resolves: #2198
Arun Babu Neelicattu committed
-
- 27 Mar, 2020 1 commit
-
-
Sébastien Eustace committed
-
- 26 Mar, 2020 2 commits
-
-
Harun Yasar committed
-
Configuring the template chooser to include discord community server.
Arun Babu Neelicattu committed
-
- 20 Mar, 2020 4 commits
-
-
Document --no-root
finswimmer committed -
Add a subsection on documenting the --no-root option in the Basic Usage section and also in the CLI. Resolves #1848.
stephsamson committed -
This reverts commit bf12e427.
Sébastien Eustace committed -
* export: fix exporting extras sub-dependencies (#1294) * Support POETRY_HOME for install (#794) Allow the `POETRY_HOME` environment variable to be passed during installation to change the default installation directory of `~/.poetry`: ``` POETRY_HOME=/etc/poetry python get-poetry.py ``` * * check if relative filename is in excluded file list (#1459) * * check if relative filename is in excluded file list * removed find_excluded_files() method from wheel.py * added test for excluding files in wheels * creating an own test data folder, for testing excluding files by pyproject.toml * use as_posix() to respect windows file path delimiters * Exclude nested items (#784) (#1464) * This PR impliments the feature request #784. When a folder is explicit defined in `pyproject.toml` as excluded, all nested data, including subfolder, are excluded. It is no longer neccessary to use the glob `folder/**/*` * use `Path` instead of `os.path.join` to create string for globbing * try to fix linting error * create glob pattern string by concatenating and not using Path * using `os.path.isdir()`` for checking of explicit excluded name is a folder, because pathlib's `is_dir()` raises in exception under windows of name contains globing characters * Remove nested data when wildcards where used. Steps to do this are: 1. expand any wildcard used 2. if expanded path is a folder append **/* and expand again * fix linting * only glob a second time if path is dir * implement @sdispater 's suggestion for better readability * fix glob for windows? * On Windows, testing if a path with a glob is a directory will raise an OSError * pathlibs glob function doesn't return the correct case (https://bugs.python.org/issue26655). So switching back to glob.glob() * removing obsolete imports * Update dependencies * Deprecate allows-prereleases in favor of allow-prereleases for consistency * Fix tests for Python 2.7 * Fix linting * Fix linting * Fix linting * Fix typing import * Correct a couple typos in get-poetry.py (#573) * Docs: `self:update` changed to `self update` (#1588) * Fix GitHub actions cache issues on develop (#1918) * Fix Github actions cache issues * Fix Github Actions cache issues (#1928) * Add --source option to "poetry add" (#1912) * Add --source option to 'poetry add' * Add tests for 'poetry add --source' * Merge master into develop (#2070) * 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> * pre-commit: replace isort mirror with isort upstream (#2118) The isort pre-commit mirror has been deprecated. This change updates configuration to use the upstream package repository instead of the mirror. * Add cache list command (#1187) * 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 Co-authored-by: Tom Milligan <tommilligan@users.noreply.github.com> Co-authored-by: David Cramer <dcramer@users.noreply.github.com> Co-authored-by: finswimmer <finswimmer77@gmail.com> Co-authored-by: Kyle Altendorf <sda@fstab.net> Co-authored-by: Justin Mayer <entroP@gmail.com> Co-authored-by: Yannick PÉROUX <yannick.peroux@gmail.com> Co-authored-by: brandonaut <brandon@hubermx.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> Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
Sébastien Eustace committed
-
- 10 Mar, 2020 2 commits
-
-
Update managing-environments.md
finswimmer committed -
Alex Povel committed
-
- 06 Mar, 2020 1 commit
-
-
Fix GitHub URL for black
finswimmer committed
-