Fixed IndexError when preserve_nan=True in convolve_fft. Added
testing with preserve_nan=True. [7000]
astropy.coordinates
^^^^^^^^^^^^^^^^^^^
The sites.json file is now parsed explicitly with a UTF-8 encoding. This
means that future revisions to the file with unicode observatory names can
be done without breaking the site registry parser. [7082]
Working around a bug in Numpy 1.14.0 that broke some coordinate
transformations. [7105]
Fixed a bug where negative angles could be rounded wrongly when converting
to a string with seconds omitted. [7148]
astropy.cosmology
^^^^^^^^^^^^^^^^^
astropy.extern
^^^^^^^^^^^^^^
astropy.io.ascii
^^^^^^^^^^^^^^^^
astropy.io.fits
^^^^^^^^^^^^^^^
When datafile is missing, fits.tabledump uses input file name to build
output file name. Fixed how it gets input file name from HDUList. [6976]
Fix in-place updates to scaled columns. [6956]
astropy.io.misc
^^^^^^^^^^^^^^^
astropy.io.registry
^^^^^^^^^^^^^^^^^^^
Fixed bug in identifying inherited registrations from multiple ancestors [7156]
astropy.io.votable
^^^^^^^^^^^^^^^^^^
astropy.modeling
^^^^^^^^^^^^^^^^
Support masked array values in LinearLSQFitter (instead of silently
ignorning the mask). [6927]
Fixed a bug in LevMarLSQFitter when fitting 2D models with constraints. [6705]
astropy.nddata
^^^^^^^^^^^^^^
astropy.samp
^^^^^^^^^^^^
astropy.stats
^^^^^^^^^^^^^
astropy.table
^^^^^^^^^^^^^
astropy.tests
^^^^^^^^^^^^^
astropy.time
^^^^^^^^^^^^
astropy.units
^^^^^^^^^^^^^
astropy.utils
^^^^^^^^^^^^^
download_file function will check for cache downloaded from mirror URL
first before attempting actual download if primary URL is unavailable. [6987]
astropy.visualization
^^^^^^^^^^^^^^^^^^^^^
Fixed test failures for astropy.visualization.wcsaxes which were due to
local matplotlibrc files being taken into account. [7132]
astropy.vo
^^^^^^^^^^
astropy.wcs
^^^^^^^^^^^
Other Changes and Additions
Substantial performance improvement (potentially >1000x for some cases) when
converting non-scalar coordinates.Angle objects to strings. [7004]
matplotlib 2.1.1 -> 2.1.2
2.1.2
sqlalchemy 1.2.1 -> 1.2.2
1.2.2
:released: January 24, 2018
.. change::
:tags: bug, mssql
:tickets: 4164
Added ODBC error code 10054 to the list of error
codes that count as a disconnect for ODBC / MSSQL server.
.. change::
:tags: bug, orm
:tickets: 4171
Fixed 1.2 regression regarding new bulk_replace event
where a backref would fail to remove an object from the
previous owner when a bulk-assignment assigned the
object to a new owner.
.. change::
:tags: bug, oracle
:tickets: 4163
The cx_Oracle dialect now calls setinputsizes() with cx_Oracle.NCHAR
unconditionally when the NVARCHAR2 datatype, in SQLAlchemy corresponding
to sqltypes.Unicode(), is in use. Per cx_Oracle's author this allows
the correct conversions to occur within the Oracle client regardless
of the setting for NLS_NCHAR_CHARACTERSET.
.. change::
:tags: bug, mysql
Added more MySQL 8.0 reserved words to the MySQL dialect
for quoting purposes. Pull request courtesy
Riccardo Magliocchetti.
.. changelog::
logutils -> 0.3.5
0.3.4
Return non-zero error code from "setup.py test" when a test fails.
Make the dictConfig tests work with both Python 2.x and 3.x.
0.3.3
Added encoding support to ColorizingStreamHandler.
0.3.2
Improvements in QueueListener implementation.
Added redis module with RedisQueueHandler and
RedisQueueListener.
Added unit test for a handler in a module
where absolute imports are used.
0.3.1
Improvements in setup.py and documentation.
0.3
Added caches for BraceMessage/DollarMessage.
Added ColorizingStreamHandler.
0.2
Updated docstrings for improved documentation.
Added hasHanders() function.
Changed LoggerAdapter.hasHandlers() to use logutils.hasHandlers().
Documentation improvements.
NullHandler moved to logutils package (from queue package).
Formatter added to logutils package. Adds support for {}- and $-formatting
in format strings, as well as %-formatting.
BraceMessage and DollarMessage classes added to facilitate {}- and $-
formatting in logging calls (as opposed to Formatter formats).
Added some more unit tests.
0.1
First public release.
hypothesis 3.44.16 -> 3.44.26
3.44.26
This release fixes some formatting issues in the Hypothesis source code.
It should have no externally visible effects.
3.44.25
This release changes the way in which Hypothesis tries to shrink the size of
examples. It probably won't have much impact, but might make shrinking faster
in some cases. It is unlikely but not impossible that it will change the
resulting examples.
3.44.24
This release fixes dependency information when installing Hypothesis
from a binary "wheel" distribution.
The install_requires for :pypi:enum34 is resolved at install
time, rather than at build time (with potentially different results).
Django has fixed their python_requires for versions 2.0.0 onward,
simplifying Python2-compatible constraints for downstream projects.
3.44.23
This release improves shrinking in a class of pathological examples that you
are probably never hitting in practice. If you are hitting them in practice
this should be a significant speed up in shrinking. If you are not, you are
very unlikely to notice any difference. You might see a slight slow down and/or
slightly better falsifying examples.
3.44.22
This release fixes a dependency problem. It was possible to install
Hypothesis with an old version of :pypi:attrs, which would throw a
TypeError as soon as you tried to import hypothesis. Specifically, you
need attrs 16.0.0 or newer.
Hypothesis will now require the correct version of attrs when installing.
3.44.21
This change adds some additional structural information that Hypothesis will
use to guide its search.
You mostly shouldn't see much difference from this. The two most likely effects
you would notice are:
Hypothesis stores slightly more examples in its database for passing tests.
Hypothesis may find new bugs that it was previously missing, but it
probably won't (this is a basic implementation of the feature that is
intended to support future work. Although it is useful on its own, it's not
very useful on its own).
3.44.20
This is a small refactoring release that changes how Hypothesis tracks some
information about the boundary of examples in its internal representation.
You are unlikely to see much difference in behaviour, but memory usage and
run time may both go down slightly during normal test execution, and when
failing Hypothesis might print its failing example slightly sooner.
3.44.19
This changes how we compute the default average_size for all collection
strategies. Previously setting a max_size without setting an
average_size would have the seemingly paradoxical effect of making data
generation slower, because it would raise the average size from its default.
Now setting max_size will either leave the default unchanged or lower it
from its default.
If you are currently experiencing this problem, this may make your tests
substantially faster. If you are not, this will likely have no effect on you.
3.44.18
This is a small refactoring release that changes how Hypothesis detects when
the structure of data generation depends on earlier values generated (e.g. when
using :ref:flatmap <flatmap> or :func:~hypothesis.strategies.composite).
It should not have any observable effect on behaviour.
3.44.17
This release fixes a typo in internal documentation, and has no user-visible impact.
pytest 3.3.2 -> 3.4.0
3.4.0
=========================
Deprecations and Removals
All pytest classes now subclass object for better Python 2/3 compatibility.
This should not affect user code except in very rare edge cases. (2147 <https://github.com/pytest-dev/pytest/issues/2147>_)
Features
Introduce empty_parameter_set_mark ini option to select which mark to
apply when pytest.mark.parametrize is given an empty set of parameters.
Valid options are skip (default) and xfail. Note that it is planned
to change the default to xfail in future releases as this is considered
less error prone. (2527 <https://github.com/pytest-dev/pytest/issues/2527>_)
Incompatible change: after community feedback the logging <https://docs.pytest.org/en/latest/logging.html> functionality has
undergone some changes. Please consult the logging documentation <https://docs.pytest.org/en/latest/logging.htmlincompatible-changes-in-pytest-3-4>
for details. (3013 <https://github.com/pytest-dev/pytest/issues/3013>_)
Console output falls back to "classic" mode when capturing is disabled (-s),
otherwise the output gets garbled to the point of being useless. (3038 <https://github.com/pytest-dev/pytest/issues/3038>_)
New pytest_runtest_logfinish <https://docs.pytest.org/en/latest/writing_plugins.html_pytest.hookspec.pytest_runtest_logfinish>_
hook which is called when a test item has finished executing, analogous to
pytest_runtest_logstart <https://docs.pytest.org/en/latest/writing_plugins.html_pytest.hookspec.pytest_runtest_start>.
(3101 <https://github.com/pytest-dev/pytest/issues/3101>)
Improve performance when collecting tests using many fixtures. (3107 <https://github.com/pytest-dev/pytest/issues/3107>_)
New caplog.get_records(when) method which provides access to the captured
records for the "setup", "call" and "teardown"
testing stages. (3117 <https://github.com/pytest-dev/pytest/issues/3117>_)
New fixture record_xml_attribute that allows modifying and inserting
attributes on the <testcase> xml node in JUnit reports. (3130 <https://github.com/pytest-dev/pytest/issues/3130>_)
The default cache directory has been renamed from .cache to
.pytest_cache after community feedback that the name .cache did not
make it clear that it was used by pytest. (3138 <https://github.com/pytest-dev/pytest/issues/3138>_)
Colorize the levelname column in the live-log output. (3142 <https://github.com/pytest-dev/pytest/issues/3142>_)
Bug Fixes
Fix hanging pexpect test on MacOS by using flush() instead of wait().
(2022 <https://github.com/pytest-dev/pytest/issues/2022>_)
Fix restoring Python state after in-process pytest runs with the
pytester plugin; this may break tests using multiple inprocess
pytest runs if later ones depend on earlier ones leaking global interpreter
changes. (3016 <https://github.com/pytest-dev/pytest/issues/3016>_)
Fix skipping plugin reporting hook when test aborted before plugin setup
hook. (3074 <https://github.com/pytest-dev/pytest/issues/3074>_)
Fix progress percentage reported when tests fail during teardown. (3088 <https://github.com/pytest-dev/pytest/issues/3088>_)
Incompatible change: -o/--override option no longer eats all the
remaining options, which can lead to surprising behavior: for example,
pytest -o foo=1 /path/to/test.py would fail because /path/to/test.py
would be considered as part of the -o command-line argument. One
consequence of this is that now multiple configuration overrides need
multiple -o flags: pytest -o foo=1 -o bar=2. (3103 <https://github.com/pytest-dev/pytest/issues/3103>_)
Improved Documentation
Document hooks (defined with historic=True) which cannot be used with
hookwrapper=True. (2423 <https://github.com/pytest-dev/pytest/issues/2423>_)
Clarify that warning capturing doesn't change the warning filter by default.
(2457 <https://github.com/pytest-dev/pytest/issues/2457>_)
Clarify a possible confusion when using pytest_fixturesetup with fixture
functions that return None. (2698 <https://github.com/pytest-dev/pytest/issues/2698>)
Fix the wording of a sentence on doctest flags used in pytest. (3076 <https://github.com/pytest-dev/pytest/issues/3076>_)
Prefer https://*.readthedocs.io over http://*.rtfd.org for links in
the documentation. (3092 <https://github.com/pytest-dev/pytest/issues/3092>_)
Improve readability (wording, grammar) of Getting Started guide (3131 <https://github.com/pytest-dev/pytest/issues/3131>_)
Added note that calling pytest.main multiple times from the same process is
not recommended because of import caching. (3143 <https://github.com/pytest-dev/pytest/issues/3143>_)
Trivial/Internal Changes
Show a simple and easy error when keyword expressions trigger a syntax error
(for example, "-k foo and import" will show an error that you can not use
the import keyword in expressions). (2953 <https://github.com/pytest-dev/pytest/issues/2953>_)
Change parametrized automatic test id generation to use the __name__
attribute of functions instead of the fallback argument name plus counter.
(2976 <https://github.com/pytest-dev/pytest/issues/2976>_)
Replace py.std with stdlib imports. (3067 <https://github.com/pytest-dev/pytest/issues/3067>_)
Corrected 'you' to 'your' in logging docs. (3129 <https://github.com/pytest-dev/pytest/issues/3129>_)
Coverage remained the same at 61.071% when pulling 96e28c27bcadc5ad60afe4f4f4a1b3b0cc913d2f on pyup/scheduled-update-2018-02-06 into e9a0f514caceb2c15fd5d6e107aa9bab2c81e91a on develop.
Updates
Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.
Changelogs
astropy 2.0.3 -> 2.0.4
matplotlib 2.1.1 -> 2.1.2
sqlalchemy 1.2.1 -> 1.2.2
logutils -> 0.3.5
hypothesis 3.44.16 -> 3.44.26
pytest 3.3.2 -> 3.4.0
That's it for now!
Happy merging! 🤖