Astropy-helpers

Latest version: v3.2.2

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

Scan your dependencies

Page 1 of 8

4.0

------------------

- No changes yet.

3.2.2

------------------

- Correctly handle main package directory inside namespace package. [486]

3.2.1

------------------

- Reverting issuing deprecation warning for the ``build_sphinx`` command. [482]

- Make sure that all data files get included in tar file releases. [485]

3.2

----------------

- Make sure that ``[options.package_data]`` in setup.cfg is taken into account
when collecting package data. [453]

- Simplified the code for the custom build_ext command. [446]

- Avoid importing the astropy package when trying to get the test command
when testing astropy itself. [450]

- Avoid importing whole package when trying to get version information. Note
that this has also introduced a small API change - ``cython_version`` and
``compiler`` can no longer be imported from the ``package.version`` module
generated by astropy-helpers. Instead, you can import these from
``package.cython_version`` and ``package.compiler_version`` respectively. [442]

- Make it possible to call ``generate_version_py`` and ``register_commands``
without any arguments, which causes information to be read in from the
``setup.cfg`` file. [440]

- Simplified setup.py and moved most of the configuration to setup.cfg. [445]

- Add a new ``astropy_helpers.setup_helpers.setup`` function that does all
the default boilerplate in typical ``setup.py`` files that use
astropy-helpers. [443]

- Remove ``deprecated``, ``deprecated_attribute``, and ``minversion`` from
``astropy_helpers.utils``. [447]

- Updated minimum required version of setuptools to 30.3.0. [440]

- Remove functionality to adjust compilers if a broken compiler is detected.
This is not useful anymore as only a single compiler was previously patched
(now unlikely to be used) and this was only to fix a compilation issue in the
core astropy package. [421]

- ``sphinx-astropy`` is now a required dependency to build the docs, the
machinery to install it as eggs have been removed. [474]

3.1.1

------------------

- Moved documentation from README to Sphinx. [444]

- Fixed broken OpenMP detection when building with ``-coverage``. [434]

3.1

----------------

- Added extensive documentation about astropy-helpers to the README.rst file. [416]

- Fixed the compatibility of the build_docs command with Sphinx 1.8 and above. [413]

- Removing deprecated test_helpers.py file. [369]

- Removing ez_setup.py file and requiring setuptools 1.0 or later. [384]

- Remove all sphinx components from ``astropy-helpers``. These are now replaced
by the ``sphinx-astropy`` package in conjunction with the ``astropy-theme-sphinx``,
``sphinx-automodapi``, and ``numpydoc`` packages. [368]

- openmp_helpers.py: Make add_openmp_flags_if_available() work for clang.
The necessary include, library, and runtime paths now get added to the C test code
used to determine if openmp works.
Autogenerator utility added ``openmp_enabled.is_openmp_enabled()``
which can be called post build to determine state of OpenMP support.
[382]

- Add version_info tuple to autogenerated version.py. Allows for simple
version checking, i.e. version_info > (2,0,1). [385]

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.