profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/swiatekm/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Mikołaj Świątek swiatekm @10clouds Warsaw

swiatekm/argo-client-python 0

Python client for Argo Workflows | Mirrored to https://github.com/argoproj-labs/argo-client-python

swiatekm/charts 0

Helm Charts

swiatekm/django-test-migrations 0

Django's migrations testing utilities

swiatekm/poetry 0

Python dependency management and packaging made easy.

swiatekm/tavern 0

A command-line tool and Python library and Pytest plugin for automated testing of RESTful APIs, with a simple, concise and flexible YAML-based syntax

swiatekm/zxinglight 0

A simple wrapper for ZXing C++

startedargoproj/argo-workflows

started time in 2 months

push eventswiatekm/poetry

Dos Moonen

commit sha 6d28c560edc470399f341666fa18578e65c3f290

Added pip style keyring password lookup as a fallback. This way Poetry gives keyring backends like Microsoft's `artifacts-keyring` or Google's `keyrings.google-artifactregistry-auth` a change to retrieve the credentials. Since Microsoft Azure DevOps Personal Access Tokens will expire after some time the `artifacts-keyring` implementation will generate a new one for you to counteract that.

view details

Dos Moonen

commit sha daa4746a0135765109a8b36afe88fb996c47a16d

Fixed a typo and finished a sentence in the documentation.

view details

Dos Moonen

commit sha bea596825708ddb682dc9e3b139957bb530a384c

Corrected type annotation

view details

Dos Moonen

commit sha 5c7c9da32c91c9a46ddded56dd0c7986be2c0c2f

Refactored Authenticator and added two methods which delegate to PasswordManager so that Publisher can use Authenticator instead of PasswordManager. - Authenticator and its tests got moved into utils. - No longer retrieve "repositories.{name}.url" in two steps ("repositories.{name}", then "url") since that does not allow us to use environment variable POETRY_REPOSITORIES_{name}_URL.

view details

Dos Moonen

commit sha 6db85a669dc87f485bca8b2d6fe17d5b07258bbd

Merge branch 'master' into pip-style-keyring-fallback

view details

Matthieu Devlin

commit sha 4275a551989c6780f74557540d6704f2437a1576

fix: create path dependencies relative to package rather than lockfile (#4245)

view details

Matthieu Devlin

commit sha f0487f6ced32c55fae9439e2aca74ab975408aa1

test: fix tests for for older versions of python

view details

Matthieu Devlin

commit sha 97e63f629b9e669740603754f39a67ff1fa166dc

fix: use already calculated relative url

view details

Sébastien Eustace

commit sha 26f13f789b51e105d05c4087ea6303b5fca52518

Refactor dependencies handling to support groups

view details

Sébastien Eustace

commit sha 4b8384cd354ee9127d379cfaea6cd08283ac17d7

Update the add and remove commands to support groups

view details

Sébastien Eustace

commit sha 20589be59de63cb2bc79f69329b9e4fd70f36cee

Update the `install` command to support groups

view details

Sébastien Eustace

commit sha cc6f9bbeda9f5eacdede393ab320def6cf7c5616

Update the `show` command to support groups

view details

Sébastien Eustace

commit sha 36c1e4798342f47cacb5b348d86be3dd141ad51a

Improve the init layout to use dependency groups

view details

Sébastien Eustace

commit sha 5c5af424586ec3e56cbfa6c5419e990ed08ed05a

Update the documentation

view details

Sébastien Eustace

commit sha 0768be1db4fe793f46672ce3dbb6fe2284ac6c8a

Merge pull request #4260 from python-poetry/dependency-groups Dependency groups

view details

Yehya

commit sha f32c8d4ae48e852cfa7a0ddd5951b7356888c0c9

Updated Docs fixed broken link

view details

mcnesium

commit sha c5cee3446424f5ea2108bdbbc0746578256d9095

update shell command in docs (#4132) * update shell command according to [SC2006](https://github.com/koalaman/shellcheck/wiki/SC2006): > Backtick command substitution `...` is legacy syntax with several issues. * merge updated table markdown

view details

Sébastien Eustace

commit sha 89575f6f10bed0517521775af335d2630e92bd1a

Merge pull request #4246 from zumper/m.4245-relative-paths fix: create path dependencies relative to package rather than lockfile (#4245)

view details

Sébastien Eustace

commit sha 7e7d75bcc8bcfc1249795184421ee9a0b3075db1

Fix system env detection

view details

Sébastien Eustace

commit sha b54f2dc81ade86de0fa8a2e7ed41ea829aaa0abe

Merge pull request #4329 from python-poetry/fix-system-env-detection Fix system environment detection

view details

push time in 2 months

PR opened python-poetry/poetry

Run tests involving file fixtures in a temporary directory

This change allows the test suite to be run in parallel and installer tests to be run from any directory. The runtime goes from ~60 seconds single-threaded to ~17 seconds with pytest-xdist on my machine with maximum parallelism.

A major barrier towards running tests in parallel is that some of them modify files in project fixtures. As a simple fix, copy the whole project fixture directory tree to a temporary folder and run tests there. Some of the fixtures for installer tests contain paths to the project fixtures. To make those work, now that the paths are temporary, make installer tests use the project fixture directory as their working directory.

This is far from a comprehensive cleanup, as the test and fixture dependencies are still difficult to understand. I have some ideas on how they could be made more explicit and consistent (and possibly more performant), but I wanted to put this change up for review before diving in too deep.

On a separate note, fixtures and helpers for the new and old installer tests are mostly the same and can be factored out and shared. This PR just makes the same change in both of those modules to limit the scope and make review easier, but I do have those changes ready, and can add them here if needed.

Pull Request Check List

Relates-to: #3155

<!-- This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles! -->

  • [ ] Added tests for changed code.
  • [ ] Updated documentation for changed code.

<!-- If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing! -->

+52 -29

0 comment

9 changed files

pr created time in 2 months

create barnchswiatekm/poetry

branch : fix/run-tests-in-temp-dir

created branch time in 2 months

create barnchswiatekm/poetry

branch : fix/project-fixtures

created branch time in 2 months

fork swiatekm/poetry

Python dependency management and packaging made easy.

https://python-poetry.org

fork in 2 months