Dcicsnovault

Latest version: v11.14.0

Safety actively analyzes 629900 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 11

6.0.8

=====

* Environment variable NO_SERVER_FIXTURES suppresses creation of server
fixtures during testing.

6.0.7

=====

* Miscellaneous PEP8.

6.0.6

=====

* Evaluate KMS args as truthy for blob storage to avoid errors for empty string KMS key

6.0.5

=====

* Add a CHANGELOG.rst file.
* Add tests for consistency of version and changelog.
* Make dev dependency on docutils explicit, adding a constraint that gets rid of a deprecation warning.

6.0.4

=====

6.0.3

=====

`PR 225 Genelist upload (C4-875) <https://github.com/4dn-dcic/snovault/pull/225>`_

Instrumentation added to help debug C4-875.

* Improved error messages for ``ValidationFailure`` in ``attachment.py``.

Actual proposed fix:

* In ``attachment.py``, replaced ``mimetypes.guess_type`` with new function ``guess_mime_type``
(adjusting the receipt of return value, since I adjusted that slightly to return the mime type,
not a tuple of mime type and encoding).
* Make sure that we have useful return values for common file extensions.

Opportunistic:

* Better ``.flake8`` file excluding a bunch of whitespace-related issues we don't need to care about yet.
* Add a lint target to the ``Makefile``.
* Suppress an annoying warning from the ``jose`` package (included by ``moto 1.3.7``)
about how it's not going to work in Python 3.9.
* Do keyword-calling of ``ValidationFailure`` in ``attachment.py`` just to clarify what the weird args are.
* Add an extra warning message in ``create_mapping.py`` for certain unusual argument combinations.
(This had come up elsewhere in a discussion I had with Will and was just waiting for a PR to ride in on.)

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.