./devel/py-testtools, Extensions to the Python standard library unit testing framework

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.7.1, Package name: py311-testtools-2.7.1, Maintainer: pkgsrc-users

testtools is a set of extensions to the Python standard library's unit testing
framework. These extensions have been derived from many years of experience
with unit testing in Python and come from many different sources. testtools
also ports recent unittest changes all the way back to Python 2.4.


Required to run:
[devel/py-setuptools] [devel/py-unittest2] [www/py-python-mimeparse] [devel/py-extras] [devel/py-fixtures] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 196.243 KB

Version history: (Expand)


CVS history: (Expand)


   2023-12-11 18:16:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-testtools: updated to 2.7.1

2.7.1

Improvements

* Remove various unused imports.
* Fix build backend. This should prevent version from being set to 0.0.0
  when building wheels.

2.7.0

Improvements

* Fix compatibility with Python 3.12.
* Add typing in various modules (still lacking full coverage).
* Drop the 'test' command for distutils. This has been
  deprecated since 2.6.0.
* Drop support for Python 3.6.
   2023-11-07 23:38:10 by Thomas Klausner | Files touched by this commit (112)
Log message:
*: latest py-sphinx only support Python 3.9+
   2023-07-08 09:30:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-testtools: updated to 2.6.0

Release 2.6.0
* Finish adding support for Python 3.11
* Add a few missing entries to NEWS
* Wrap content-type params in a dictionary
* Replace deprecated \`cgi\` module usage with \`email\`
* Drop extras of extras; fixtures no longer uses it
* Fix distutilscmd in Debian + Py 3.11
* Add initial config for mypy
* Prevent AttributeError in TestCase.\_\_eq\_\_
* simplifying code
* less code
* Making sure that TestCase can be hashed
* Fix various test failures with Python 3.11
* Use CompoundFixture from fixtures>=2.0 rather than rolling our own
* Provide a \`\`testtools[twisted]\`\` extra
* Add final noop job to indicate success and set as required
* Fix DeprecationWarning: Only valid in 1.8.1 and earlier. Use skipTest instead
* Show warnings
* Replace deprecated assertRaisesRegexp with assertRaisesRegex
* Fix inclusion of NEWS in Sphinx documentation
* Upgrade Python syntax with pyupgrade --py36-plus
* Drop support for EOL Python 3.5
* Upgrade asserts with teyit for Python 3.11 compatibility
* doc: Remove references to unittest2
* Add instructions on building docs.
* Fix docstring formatting warnings
* Add missing quotes around identifier
* Drop note about assertIn, assertIs, assertIsInstance and their negatives that \ 
no longer applies with modern versions of Python.
* Fix typo.
* Deprecate distutils integration
* Add support for Python 3.10
   2022-01-27 12:24:18 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py310-testtools: update to 2.5.0.

2.5.0
~~~~~

Improvements
------------

* Add support for Python 3.9.
  (Hugo van Kemenade)

* Python 3.5 has reached end-of-life and this is the last release to support it.

* The skip, skipIf, and skipUnless decorators can now be used as class
  decorators as well as test method decorators, just as they can in
  unittest.

* The ``SameMembers`` matcher class is now exposed as part of the public
  matchers API.

Changes
-------

* The dependency on the ``unittest2`` module has been removed. This has some
  knock on effects, including the removal of the ``assertItemsEqual`` helper
  which was removed from ``unittest`` in Python 3.x.

* The ``safe_hasattr`` utility has been removed from ``testtools.helpers``.
  This was a compat wrapper introduced in 0.9.25 when the utility itself was
  moved to the ``extras`` package. It is no longer useless on Python 3-only
  projects.

* The ``try_imports`` utility has been removed from ``testtools.helpers``.
  This was a compat wrapper introduced in 0.9.25 when the utility itself was
  moved to the ``extras`` package. It is no longer used within testtools and
  has therefore been dropped.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-04-11 09:34:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-testtools: updated to 2.4.0

2.4.0:
Improvements
* Add support for Python 3.7, 3.8 and PyPy3.
* Drop support for Python 3.4 (EOL).
* Avoid using eval().
* PyCharm IDE unittest detection compatibility fix.
* Drop support for Python 3.3 (EOL).
* Spelling fixes.
* Python 3.6 invalid escape sequence deprecation fixes.