| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
| |
(cherry picked from commit aacab0633a963e7a89fc1e6ac71cdf06553f96ab)
|
|
|
| |
(cherry picked from commit 4c6aa70662e6f2804686a32bea611a8aa870b363)
|
|
|
|
|
| |
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.
(cherry picked from commit fd341265d001d4e6545ffb2b7d154340cb1f1931)
|
| |
|
|
|
|
|
| |
(#80702)
(cherry picked from commit 54576cd794530768a67bddba2f7450b614611e92)
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix installing signed collections by using the fqcn, version, source, and type as a unique identifier.
Define __hash__ and __eq__ methods to handle Candidate/Requirement comparison excluding signatures which aren't fully populated until install time.
* Remove PinnedCandidateRequests since it is redundant now.
* Fix verifying against a signed remote when the keyring isn't configured
(cherry picked from commit d5e2e7a0a8ca9017a091922648430374539f878b)
|
|
|
|
|
|
|
| |
* Provide reproducible sdist builds.
* Use reproducible wheel builds.
* Add PyPI artifact checks.
(cherry picked from commit d37678c5ff221ada71afc0cad3ff7b70e0a0ec2f)
|
|
|
| |
Also remove remote incidental tests from the test matrix, as this was the last one.
|
|
|
|
|
| |
This will avoid issues during bootstrapping caused by breaking changes in setuptools.
(cherry picked from commit abc58c026b2e91af4a2bb57f7bfe21c609bd3de9)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* password lookup, handle ident properly when saved (#80251)
* password lookup, handle ident properly when saved
Currently we format and save ident when present but we didn't account for this when reading the saved file
Also added some more robust error handling.
(cherry picked from commit 0fd88717c953b92ed8a50495d55e630eb5d59166)
* fix try indent
* clog
* fix bad merge indentation
|
|
|
|
|
|
|
| |
* Ansible.Basic - Improve temporary file cleanup process
* Add comment on struct value used
(cherry picked from commit ba4505f5cb2fb52cda450a06679ddea3599e3e70)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve Ansible.Basic.cs tempdir uniqueness
The current tempdir naming scheme can result in the same name if the
remote worker starts at the same time as another. By using the process
id it should add enough uniqueness to avoid this situation.
* Fix sanity issues
* Fix up compile issue on older hosts
(cherry picked from commit fb6b90fe4255e9995706905e2a9cde205648c0d2)
|
|
|
|
|
|
|
|
|
|
| |
(#80399)
Reduce the number of Galaxy API calls made during dependency resolution by fetching remote signatures afterwards, since these are not used in backtracking.
Reduce the verbosity to `-vvvv` (to match other Galaxy API calls) to see this activity.
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
(cherry picked from commit 460abe0ceffc5ca99b3cc2f2e3ef07aa2cb225dc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#80275)
* clog frag
* Fix retries so that each explicit call to _call_galaxy is retried for the correct number of attempts. Fixes #80174
* Extend retry logic to common URL related connection errors. Fixes #80170
* Extend retries to downloading artifacts
* Extend param docs for change
* Rework the exception handling
* Don't be overly broad, reduce to TimeoutError, and BadStatusLine for now
* _download_file needs to raise AnsibleError.orig_exc
* Remove unused import
* Add IncompleteRead
* Add socket.timeout for py39
* Add 502 to retry codes
* Move http error code checking first
* Use itertools.tee to replay the backoff_iterator instead of using a callable
* Actually set a CLI default of 60s for timeout, to prevent implicit galaxy from using 10s as default from Request.open
* Import typing
* fix type hints
* Use http.HTTPStatus instead of int HTTP error codes where feasible
* Split exception handling
* Add missing import
---------
.
(cherry picked from commit 2ae013667ef226635fe521be886efd1bf58cd46f)
|
|
|
|
|
| |
(#80503)
(cherry picked from commit e87802cf2c75c5f2578e58ed2edb3e033623cc78)
|
|
|
| |
(cherry picked from commit 0371ea08d6de55635ffcbf94da5ddec0cd809495)
|
|
|
|
|
| |
(#80362)
(cherry picked from commit 5d64024f1ab1283750f2211692970dfa1b351ed5)
|
|
|
|
|
|
| |
This patch pre-builds the sdist via build using the self-eliminating
in-tree build backend and then, feeds the result to a pottentially
outdated pip (below v20) so that it uses the setuptools' native
PEP 517 build backend to build a wheel on install.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#80130)
This change includes backports of the PRs #79606, #80098, #80253, #80255 and #80262, with a number of backward compatibility changes that make it work and be testable in older CI environments.
This patch creates a thin wrapper around the `setuptools`' PEP 517 build backend in-tree. It features an ability to request generating the manpage files in-memory, in the process of building a source distribution. The build is happening in an isolated temporary directory. This toggle is implemented using the `config_settings` mechanism of PEP 517.
One must explicitly pass it a CLI option to the build front-end to trigger said behavior. The packagers are expected to use the following call:
python -m build --config-setting=--build-manpages
This option has no effect on building wheels.
🧪 The change includes integration tests
This test runs building and re-building sdists and wheels with and without the `--build-manpages` config setting under the oldest-supported and new `setuptools` pinned.
It is intended to preserve the interoperability of the packaging setup across Python runtimes.
An extra smoke test also verifies that non PEP 517 interfaces remain functional.
📦 The sdist build-system is switched to pure setuptools upon the first build from Git checkout
This patch modifies the in-tree build backend to build sdists that swap
out pointers to it in the `pyproject.toml`'s `[build-system]` section.
The effect of this is that the first build from source (for example,
from a Git checkout) uses our PEP 517 in-tree build backend. But the
produced tarball has `build-backend` set to `setuptools.build_meta`
which is the native build backend of `setuptools`. So any following
builds from that sdist will skip using the in-tree build backend,
calling the setuptools' one.
The good news is that if the first build generated the manpages, they
will be included and won't go anywhere even though, a different build
system is in place.
Combined with #80253, this makes sure not to modify the current
source checkout on that first build.
Co-Authored-By: Matt Clay <matt@mystile.com>
Co-Authored-By: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
(cherry picked from commit 56036013cd09db0f1b20402a69be44345ddafb22)
(cherry picked from commit 67bafafbc0d61751d2ec10b0aeccb6b01482a074)
(cherry picked from commit 888abf5d6e13880ba82d02c5f8a57ca1f90a992f)
(cherry picked from commit 7097df3eed979446830fc579613ffb9b7e7c19bf)
(cherry picked from commit eebfd71a6da396b011e664604c9991543205d780)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ansible-doc: fix broken seealso links in text output (#80280)
* Fix broken URLs.
* Also remove auto-generated description for modules outside ansible.builtin.
(cherry picked from commit fafb23094e77a619066a92a7fa99a7045292e473)
* Fix URL processing. (#80295)
(cherry picked from commit 086ae4220957cdb66eee8aa060c151a071f3b9bd)
|
|
|
| |
(cherry picked from commit a6bfa82bd061d1d66e7d67064f2e78774a103b54)
|
|
|
|
|
| |
(#80317)
(cherry picked from commit 93d0253292dc2e66432d96f047b66200a2d2e35b)
|
|
|
| |
(cherry picked from commit 054aa9215857f376ee4d387339e6b82bcc14b437)
|
|
|
|
|
|
|
|
| |
This change allows ansible-test to work with newer versions of git on AZP.
(cherry picked from commit bad8843124a50493141a3e3d7920353239021389)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
Scripts previously under `test/utils/shippable/` are now under `.azure-pipelines/commands/` instead..
(cherry picked from commit f47bc03599eedc48753d2cd5e1bea177f35e6133)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit 31658031ed40f3db002b690b436b793634c2b5e7)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
| |
- Support loading of vendored Python packages.
- Exclude vendored Python packages from payloads.
(cherry picked from commit 6bfe6b899a4881ebc065834a43a26e123d7fdab3)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
Always indicate the Python version being used before installing requirements.
(cherry picked from commit 5e3db6e44169aa88cd027f469eea96f1f17fea95)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
Integration test target prefixes defined in a `tests/integration/target-prefixes.{group}` file can now contain an underscore (`_`) character.
(cherry picked from commit e6cffce0eb58ba54c097f4ce7111bb97e6805051)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.13] ansible-test - Fix file permissions for delegation (#79932)
* ansible-test - Fix file permissions for delegation
* Set more restrictive permissions for SSH key
* Check all execute bits, not just owner
* Add a breaking_changes changelog entry.
(cherry picked from commit c8c1402ff66cf971469b7d49ada9fde894dabe0d)
Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Fix collection delegation (#79947)
(cherry picked from commit 079383384790310dd6722b08ac18990e2a4d0ed9)
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#80153)
* [stable-2.13] ansible-test - Fix pylint error with old home dir (#80151)
(cherry picked from commit 27287b40c0605e583145538ac072260095c139d7)
Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Fix error with missing pylint home (#80155)
(cherry picked from commit 367d45facd3af9bbc8159e4371d94e95629bed6d)
|
|
|
| |
(cherry picked from commit 7c62cdeecd4834a1ca38a01e42ea07e33044de19)
|
|
|
| |
(cherry picked from commit 060a27f)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(#79913) (#79965)
* don't ignore templated _raw_params that k=v parser failed to parse (#79913)
fixes #79862
* backport test changes
|
|
|
|
|
|
| |
(cherry picked from commit 67d49734f732f543c0b8d7713466c0aa3b8f484f)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
| |
(cherry picked from commit 5fb8bc3ddb40c3f09f76d2237951c7754ba27add)
|
|
|
|
|
| |
(#79978)
(cherry picked from commit d48d1c23df171074e799717e824a8c5ace470643)
|
|
|
|
|
| |
(cherry picked from commit 0a12d8a5bc820e5d12805af41b80351d0b635e63)
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
|
|
|
| |
(cherry picked from commit 83fe75db07cb55dc2efeb437ce20b9d4462860c3)
|
|
|
| |
(cherry picked from commit 58461bc20408955a0efc37be8bce97efb387bcd5)
|