| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
README: Use actual admonitions
|
|/
|
|
|
|
| |
I forgot I was editing reStructuredText, not markdown /o\
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
|\
| |
| | |
README tweaks
|
| |
| |
| |
| | |
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |
| |
| |
| |
| |
| |
| | |
- Ensure code is formatted as such
- Correct some typos
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
|\ \
| |/
|/| |
github: Update actions, switch to 3.11 by default
|
|/
|
|
| |
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
|\
| |
| | |
Add WarningsFilter fixture
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This has enough users around OpenStack to justify adding it to
'fixtures' proper. It's intentionally dumb, since the main purpose of
this is to avoid people calling `resetwarnings` in their variant of the
fixture, as that clears *all* filters including those we don't control.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|\ \
| | |
| | | |
Replace hardcoded list of tests
|
| |/
| |
| |
| |
| |
| | |
Avoid this being an issue again the future.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|/
|
|
|
|
|
|
| |
These were never added to the list of filtered modules, meaning they
never actually ran. Correct that and fix the failures, which were caused
by DeprecationWarning being disabled by default in Python 3.2 onwards.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
| |
See https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a
|
|\
| |
| | |
Drop support for Python 3.6
|
|/
|
|
|
|
| |
It's EOL
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
|\
| |
| | |
Release 4.0.1
|
|/ |
|
|\
| |
| | |
Remove testtools from requirements.txt as well
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
It seems that the classmethod behavior in Python 3.11.0b1 is back
to the one found in Python 3.8. Adjust the test expectations again.
This time around, we expect the "old-new" behavior in CPython 3.9
and 3.10 only.
|
|\
| |
| | |
Revert to the previous classmethod expectations for PyPy3.9
|
|/
|
|
|
|
|
|
| |
Commit fe83067 has changed TestMonkeyPatch to account for changes
in classmethod handling in CPython 3.9. Unfortunately, this broke
the tests on PyPy3.9. Revert to the old expectations when using PyPy.
Fixes #64
|
|\
| |
| | |
Release 4.0.0
|
| | |
|
|/ |
|
|\
| |
| | |
Move testtools requirement to a "streams" extra
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now that the core of `fixtures` no longer uses `testtools`, all that
remains to make it optional and break the cyclic requirement is to deal
with its use by streams fixtures. These intrinsically rely on
`testtools`, but are also very much optional, so move the requirement to
a new `fixtures[streams]` extra.
Fixes #38.
|
|/
|
|
|
| |
It's only barely more complex to just write out the `try`/`except`
directly.
|
|
|
|
|
|
| |
Make sure we maintain compatibility as subprocess.Popen changes.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
| |
Fixes #53.
|
| |
|
|\
| |
| | |
Update requirements
|
| |
| |
| |
| |
| |
| | |
tox can run the command directly.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The disabling of sdists and circular dependency with testtools seemed to
result in us dragging in fixtures from PyPI rather than using the local
source. Address this by building the sdist locally.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Our pyproject.yaml file states that pbr 5.7.0 is required, since this
was the first version to provide a PEP-517 compliant interface. Sync
this requirement elsewhere.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|/
|
|
|
|
|
| |
Earlier versions of testtools had a dependency on unittest2, which is
not compatible with Python 3.10.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The "Checkout" action defaults to a shallow clone, checking out a HEAD.
This borks pbr (and likely similar packages like 'setuptools_scm') since
they don't have the full history to build a version number from. Fix
this by configuring the 'fetch_depth' setting [1].
[1] https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change in #52 broke
`TestMockMultiple.test_mock_patch_without_replacement`, since
`MockPatchMultiple.DEFAULT` no longer worked as a class property. Fix
this using a metaclass.
For compatibility, I arranged for it to also work as an instance
property; I suspect this isn't much needed since
`MockPatchMultiple.DEFAULT` is normally used as an argument to the
`MockPatchMultiple` constructor so you wouldn't normally have an
instance in hand, but it's easy enough to provide strict compatibility
here.
|
|\
| |
| | |
Add support for Python 3.10
|
| | |
|
|/ |
|
|\
| |
| | |
Migrate from Travis to GitHub Actions
|
| |
| |
| |
| |
| |
| |
| | |
Travis CI now requires that we apply for OSS credits. The CI tool used
doesn't really matter so long as it works, so switch to GitHub Actions.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|