Skip to content

Commits on May 19, 2022

Commits on May 16, 2022

Commits on Apr 29, 2022

  1. MAINT: Translate ieee754.c.src to C++ using templates. (#21367)

    * [Road to C++] Rename ieee754.c.src into ieee754.cpp.src
    
    * [Road to C++] Remove all use of internal template engine
    
    Replace them by regular C++ templates.
    
    * [Road to C++] mv ieee754.cpp.src ro ieee754.cpp
    
    Clang-format it, and update build system accordingly.
    
    * Fix 'unnecessary parentheses in declaration of ‘__NPY_UNUSED_TAGGEDc’ [-Wparentheses]'
    
    * [Road to C++] Fix misc conversion issues in ieee754.cpp
    
    - hex float literal are not supported in C++
    - avoid overload issues when numpy_longdouble ultimately is equal to double
    - _statusfp2 exepcts unsigned arguments
    serge-sans-paille committed Apr 29, 2022

Commits on Feb 5, 2022

  1. MAINT: Replace LooseVersion by _pep440.

    LooseVersion is provided by Python distutils, which is going away in
    3.12. This PR vendors _pep440 from scipy and uses it as a replacement.
    Numpy distutils is not touched, replacing LooseVersion in that package
    was considered too risky, and numpy distutils will need to go away when
    Python distutils does.
    charris committed Feb 5, 2022

Commits on Feb 1, 2022

  1. MAINT: be more tolerant of setuptools>=60

    NumPy may fail to build with the default vendored distutils in
    setuptools>=60. Rather than panic and die when new setuptools is found,
    let's check (or set, if possible) the SETUPTOOLS_USE_DISTUTILS
    environment variable that restores "proper" setuptools behavior.
    ahesford committed Feb 1, 2022

Commits on Jan 24, 2022

  1. Merge pull request #20745 from bwoodsend/pyinstaller-hook

    ENH: add hook and test for PyInstaller.
    charris committed Jan 24, 2022

Commits on Jan 20, 2022

  1. ENH: add hook and test for PyInstaller.

    Adding this special hook file tells PyInstaller what files a self contained
    NumPy application needs to run. A test is included to verify that the hook still
    finds all necessary files.
    
    Closes #17184.
    bwoodsend committed Jan 20, 2022

Commits on Jan 6, 2022

  1. MAINT: Raise RuntimeError if setuptools version is too recent.

    NumPy does not build with setuptools versions greater than '60.0.0'.
    Check the version when setuptools is imported in setup.py and raise
    a RuntimeError if the version is too recent. That way we avoid people
    opening issues when their build fails for that reason.
    
    Closes #20692.
    charris committed Jan 6, 2022

Commits on Dec 28, 2021

Commits on Nov 7, 2021

  1. MAINT: Fix python version check in setup.py to require Python 3.8

    Previously, this was not strictly enforced for the only purpose of
    running LGTM (hoping it would be fixed before the 1.22 release).
    seberg committed Nov 7, 2021

Commits on Nov 4, 2021

  1. Entry point for Array API implementation

    Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
    honno and Zac-HD committed Nov 4, 2021

Commits on Oct 23, 2021

  1. More informative error for unparsable version

    When Git is not installed, it is possible to get useless version strings
    from versioneer, such as `0+unknown`.  Give a more informative error in
    that case.
    matthew-brett committed Oct 23, 2021

Commits on Oct 22, 2021

  1. [demo] how-to replacing numpy custom generation engine by raw C++

    This is just a technical prototype to measure and discuss the impact and
    implication of moving to C++ for kernel code generation.
    serge-sans-paille committed Oct 22, 2021

Commits on Aug 16, 2021

Commits on May 25, 2021

  1. BUG: Fix setup.py to work in maintenance branches.

    This fixes setup.py to correctly detect the release status and base
    version from the full version string provided by versioneer. Before
    this fix, versions like '1.22.0.dev0+...' were correctly handled,
    but versions like '1.21.0rc1+...' were not.
    charris committed May 25, 2021

Commits on Mar 18, 2021

  1. ENH: Removed useless declarations in bad_commands

    When creating the `bad_commands` dictionary it is useless to declare commands that are already set with a default message in the 329th line's for loop
    giulioprocopio committed Mar 18, 2021

Commits on Jan 27, 2021

  1. BLD: fix issue with bdist_egg, which made make dist in doc/ fail

    This issue came in because of commit 9b3f650 a month ago.
    `bdist_egg` has always been missing from the command list, but
    that wasn't a problem because missing commands were simply
    ignored by the validation. After that commit we started raising
    a RuntimeError instead.
    rgommers committed Jan 27, 2021

Commits on Dec 27, 2020

  1. Merge pull request #18042 from charris/testing

    MAINT: Add dist_info to "other" setup.py commands.
    charris committed Dec 27, 2020
  2. MAINT: Add dist_info to valid setup.py commands.

    The follwing changes are made to 'setup.py'.
    
    - Add 'dist_info' to the valid 'setup.py' commands. The 'dist_info'
      command was added to setuptools in 2017 and we were following the
      unrecognized command path in setup.py which raised a warning.
    - Add 'version' to the recognized information commands, it came in with
      the move to versioneer.
    - Include the arguments passed to 'setup.py' when the unrecognized
      command warning is raised. This will aid in maintaining the command
      checks in the future.
    charris committed Dec 27, 2020

Commits on Dec 22, 2020

  1. BLD: ensure we give the right error message for old Python versions

    Before this change, it would give a random syntax error somewhere
    in `versioneer`.
    rgommers committed Dec 22, 2020

Commits on Dec 12, 2020

Commits on Dec 10, 2020

  1. BUG: Make sdist use distutils.

    If sdist uses setuptools there can be problems, see gh-7127.
    charris committed Dec 10, 2020

Commits on Dec 8, 2020

  1. ENH: Use versioneer to manage numpy versions.

    The new tags look like '1.21.0.dev0+98.gaa0453721f', where '98' is the
    number of commits since the 1.21.0 branch was started and 'aa0453721f'.
    The chosen form may be specified in the 'setup.cfg' file. This PR adds
    two new files 'numpy/_version.py' and 'numpy/version.py'. The latter
    is kept because it is part of the public API and is actually used by
    some downstream projects, but it is no longer dynamically created.
    
    See https://github.com/python-versioneer/python-versioneer/ for more
    information.
    charris committed Dec 8, 2020

Commits on Dec 2, 2020

  1. MAINT: Remove remaining uses of Python 3.6.

    We missed a few first time around.
    charris committed Dec 2, 2020

Commits on Nov 30, 2020

  1. ENH: Timestamp development versions.

    This adds a timestamp to development versions of NumPy. We used to do
    this for NumPy nightly builds so that pip would pickup the latest
    version, but pip 20.3 breaks with that as there is disagreement between
    the wheel name and the internal version.
    
    Closes #17885.
    charris committed Nov 30, 2020

Commits on Nov 27, 2020

  1. MAINT: Update master after 1.20.x branch.

    - Update setup.py
    - Update pavement.py
    - Add 1.21.0-note.rst
    - Update npyconfig.h
    - Clear release/upcoming_changes
    charris committed Nov 27, 2020

Commits on Nov 5, 2020

Commits on Nov 3, 2020

  1. fix small typos.

    Qiyu8 committed Nov 3, 2020

Commits on Oct 22, 2020

Commits on Oct 4, 2020

  1. Merge pull request #17444 from BvB93/typed

    ENH: Add `Typing :: Typed` to the PyPi classifier
    mattip committed Oct 4, 2020
  2. Add 3.10 classifier

    hugovk committed Oct 4, 2020
  3. Update comment

    Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
    hugovk and eric-wieser committed Oct 4, 2020
Older