Skip to content

Commit

Permalink
Merge pull request #110 from TomWagg/numpy-version
Browse files Browse the repository at this point in the history
Upgrade `numpy` version
  • Loading branch information
TomWagg committed Apr 14, 2023
2 parents c928ddd + 4744ff8 commit 3edb13b
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 20 deletions.
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,9 @@ having two when we could just set `f_dom=2 f_orb`
## 0.4.5
*TW 27/09/22*
- Change positions coordinate system to barycentric rather than heliocentric
- Ensure `theta` is a co-latitude in `amplitude_modulation`
- Ensure `theta` is a co-latitude in `amplitude_modulation`

## 0.4.6
*TW 13/04/22*
- [Issue [#109](https://github.com/TeamLEGWORK/LEGWORK/issues/109)] Upgrade `numpy` version
- Upgrade required to avoid error in `np.nan_to_num` usage - thanks to Jakob Stegmann for raising this
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Installation

.. code-block:: bash
conda create --name legwork "python>=3.7" pip "numba>=0.50" "numpy>=1.16" "astropy>=4.0" "scipy>=1.5.0" "matplotlib>=3.3.2" "seaborn>=0.11.1" "schwimmbad>=0.3.2" -c conda-forge -c defaults
conda create --name legwork "python>=3.7" pip "numba>=0.50" "numpy>=1.17" "astropy>=4.0" "scipy>=1.5.0" "matplotlib>=3.3.2" "seaborn>=0.11.1" "schwimmbad>=0.3.2" -c conda-forge -c defaults
And then activate the environment by running

Expand Down
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- python >= 3.7
- pip >= 21.0.0
- numba >= 0.50
- numpy >= 1.16
- numpy >= 1.17
- astropy >= 4.0
- scipy >= 1.5.0
- matplotlib >= 3.3.2
Expand All @@ -19,4 +19,4 @@ dependencies:
- jupyter
- ipython
- pip:
- legwork >= 0.2.4
- legwork >= 0.4.6
2 changes: 1 addition & 1 deletion legwork/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.5"
__version__ = "0.4.6"
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# - setup.cfg
# - environment.yml
# - install.rst
numba >= 0.50'
numpy >= 1.16'
astropy >= 4.0'
scipy >= 1.5.0'
matplotlib >= 3.3.2'
seaborn >= 0.11.1'
schwimmbad >= 0.3.2'
Jinja2==2.11
numba >= 0.50
numpy >= 1.17
astropy >= 4.0
scipy >= 1.5.0
matplotlib >= 3.3.2
seaborn >= 0.11.1
schwimmbad >= 0.3.2
Jinja2 == 2.11
14 changes: 7 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ long_description_content_type = text/markdown
python_requires = >=3.7
packages = find:
install_requires =
numba >= 0.50'
numpy >= 1.16'
astropy >= 4.0'
scipy >= 1.5.0'
matplotlib >= 3.3.2'
seaborn >= 0.11.1'
schwimmbad >= 0.3.2'
numba >= 0.50
numpy >= 1.17
astropy >= 4.0
scipy >= 1.5.0
matplotlib >= 3.3.2
seaborn >= 0.11.1
schwimmbad >= 0.3.2

[options.package_data]
* = *.npy, *.npz
Expand Down

0 comments on commit 3edb13b

Please sign in to comment.