Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: merge main into module/halos #581

Merged
merged 59 commits into from
Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
926cbeb
Update name of default branch to main (#434)
rrjbca Feb 22, 2021
c949028
update mailmap (#432)
ntessore Feb 22, 2021
3e5e7fd
Write all tables to a single FITS/HDF5 file (#425)
rrjbca Feb 24, 2021
f99783e
ADR 3: Position sampling and patches of the sky (#422)
ntessore Feb 24, 2021
9edfa92
BUG: Raise ImportError if optional dependency speclite is not install…
rrjbca Feb 25, 2021
4c8c337
MAINT: Set NumPy latest supported version to 1.20 #440
rrjbca Feb 26, 2021
fad2b76
Update status badges (#441)
rrjbca Mar 2, 2021
79fba93
MAINT: Update Lucia affiliation (#451)
Lucia-Fonseca Mar 9, 2021
7279cd5
MAINT: add SIT's information (#450)
sutieng Mar 9, 2021
39a9f9d
DOC: Fix contributor guidelines link (#449)
Lucia-Fonseca Apr 22, 2021
1281106
ENH: Logging for skypy command line script and Pipeline class (#453)
rrjbca Apr 22, 2021
f9940ed
DOC: Describe speclite filters in documentation (#457)
philipp128 Apr 27, 2021
eb43a42
ENH: Config syntax for importing objects (#463)
rrjbca Apr 27, 2021
2fb6364
DOC: List of Features (#456)
Lucia-Fonseca Apr 27, 2021
101ad83
DOC: How to construct config files (#454)
Lucia-Fonseca Jun 8, 2021
034814b
DOC: Remove docstring examples (#429)
rrjbca Jun 15, 2021
b377ea0
MAINT: Update Zenodo entry for RPR (#468)
rrjbca Jun 17, 2021
39f5a2b
DOC: Readme updates (#460)
itrharrison Jun 21, 2021
15e1ded
DOC: Expanded landing page documentation (#228)
itrharrison Jun 22, 2021
cea1f02
DOC: Inverse transform sampling accuracy warning (#472)
rrjbca Jul 13, 2021
3ece211
MAINT: Set astropy latest supported version to 4.2 (#483)
rrjbca Sep 3, 2021
0916369
DOC: zenodo json members update (#481)
Lucia-Fonseca Sep 3, 2021
6b1c370
DOC: Ryden04 ellipticity doc missing section (#477)
Lucia-Fonseca Sep 6, 2021
76c36e8
MAINT: Update numpy and scipy latest supported versions (#488)
rrjbca Sep 6, 2021
ea35ff5
BUG: Change invalid ecsv datatype from int to uint16 (#485)
rrjbca Sep 6, 2021
40456ee
DEV: setuptools==58.0.0 (#493)
rrjbca Sep 7, 2021
8b95ecb
Add compatibility workflow badge (#487)
rrjbca Sep 7, 2021
6d4e7bb
DEV: Enable pip to install pre-releases in the tox dev environments (…
rrjbca Sep 8, 2021
c2cb389
TST: Use tmp_path fixture for temporary files in unit tests (#489)
rrjbca Sep 8, 2021
a0ef308
BUG: Move handling of context arguments after handling of .depends ke…
rrjbca Sep 8, 2021
3850e59
BLD: Set astropy latest supported version to 4.3 and speclite minvers…
rrjbca Sep 10, 2021
cbb157f
REV: restore setuptools to latest version on readthedocs (#494)
rrjbca Sep 10, 2021
23db048
DEV: pyparsing<3.0.0 (#500)
rrjbca Oct 26, 2021
1cc11fe
Check new astropy file overwrite error message in logging test (#498)
rrjbca Oct 26, 2021
44ed135
REV: restore pyparsing to latest version for doc builds (#501)
rrjbca Nov 2, 2021
5162441
DOC: Update citation file with JOSS paper reference (#496)
Lucia-Fonseca Nov 2, 2021
654c19e
BLD: Set astropy latest supported version to 5.0 (#504)
rrjbca Nov 30, 2021
80802e2
BLD: Set python latest supported version to 3.10 (#505)
rrjbca Jan 3, 2022
81246e7
BLD: Set numpy latest supported version to 1.22 (#506)
rrjbca Jan 3, 2022
40fe34b
BLD: Set python oldest supported version to 3.7 (#507)
rrjbca Jan 11, 2022
d58cc40
DOC: Fix code of conduct link (#508)
Lucia-Fonseca Jan 20, 2022
16b2d19
Changed y-label in luminosity function example. (#512)
philipp128 Feb 17, 2022
97e46ee
BLD: Set scipy latest supported version to 1.8 (#510)
rrjbca Feb 28, 2022
72223ad
ENH: Rykoff model of the magnitude uncertainty (#526)
philipp128 Apr 25, 2022
f30489c
TST: assert photometric error is numerically close to the analytic va…
rrjbca May 23, 2022
270dc33
TST: Drop deprecated astropy.tests.helper.raises (#546)
rrjbca May 23, 2022
60d8063
ENH: compute kcorrect remaining stellar mass (#476)
ntessore May 23, 2022
22ebe38
ENH: Logistic completeness function (#521)
philipp128 May 25, 2022
1dbda85
BLD: Set astropy latest supported version to 5.1 (#547)
rrjbca May 25, 2022
3b275c6
BUG: `schechter_smf` callable input and docs (#525)
philipp128 May 31, 2022
90b532b
DOC: Typo in Rykoff error (#550)
Fox-Davidson Jun 22, 2022
27cf8ce
add Fox's details (#551)
Lucia-Fonseca Jun 22, 2022
b2840ce
BLD: Set numpy latest supported version to 1.23 (#552)
rrjbca Jun 28, 2022
0432987
merge fix
itrharrison Nov 21, 2022
7928e1a
codestyle fixes
itrharrison Nov 21, 2022
cbbdaf9
add six requirement for colossus
itrharrison Nov 21, 2022
1de6b24
tried to fix docs builds
itrharrison Dec 15, 2022
b70ed19
update passenv
itrharrison Dec 15, 2022
141ac61
rtd configuration
itrharrison Dec 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Description

## Checklist
- [ ] Follow the [Contributor Guidelines](https://github.com/skypyproject/skypy/blob/master/CONTRIBUTING.md)
- [ ] Follow the [Contributor Guidelines](https://github.com/skypyproject/skypy/blob/main/CONTRIBUTING.rst)
- [ ] Write unit tests
- [ ] Write documentation strings
- [ ] Assign someone from your working team to review this pull request
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codestyle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Code Style
on:
push:
branches:
- master
- main
- module/*
pull_request:
branches:
- master
- main
- module/*
jobs:
flake8:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python: [3.9]
toxenv: [py39-test, py39-test-dev]
release: [master, latest]
python: ['3.10']
toxenv: [py310-test, py310-test-dev]
release: [main, latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- if: matrix.release != 'master'
- if: matrix.release != 'main'
name: Checkout Release
run: |
git checkout tags/$(curl -s https://api.github.com/repos/skypyproject/skypy/releases/${{ matrix.release }} | python -c "import sys, json; print(json.load(sys.stdin)['tag_name'])")
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Tests
on:
push:
branches:
- master
- main
- module/*
pull_request:
branches:
- master
- main
- module/*
jobs:
test:
Expand All @@ -19,24 +19,24 @@ jobs:

- name: latest supported versions
os: ubuntu-latest
python: 3.9
toxenv: py39-test-all-latest-cov
python: '3.10'
toxenv: py310-test-all-latest-cov
toxposargs: --cov-report=xml:${GITHUB_WORKSPACE}/coverage.xml

- name: oldest supported versions
os: ubuntu-latest
python: 3.6
toxenv: py36-test-oldest
python: 3.7
toxenv: py37-test-oldest

- name: macOS latest supported
os: macos-latest
python: 3.9
toxenv: py39-test-latest
python: '3.10'
toxenv: py310-test-latest

- name: Windows latest supported
os: windows-latest
python: 3.9
toxenv: py39-test-latest
python: '3.10'
toxenv: py310-test-latest

steps:
- name: Checkout Repository
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
Adam Amara <[email protected]> adamamara <adamamara@penguin>
Coleman Krawczyk <[email protected]> CKrawczyk
Ian Harry <[email protected]> <[email protected]>
Lucia F. de la Bella <[email protected]>
Nicolas Tessore <[email protected]> <[email protected]>
Richard R <[email protected]> <[email protected]>
11 changes: 9 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
version: 2

build:
image: latest
os: ubuntu-20.04
apt_packages:
- graphviz
tools:
python: "3.7"

sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true

python:
version: 3.7
system_packages: false
install:
- method: pip
path: .
extra_requirements:
- docs
- all

formats: []
33 changes: 29 additions & 4 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
{
"orcid": "0000-0002-1064-3400",
"affiliation": "University of Manchester",
"affiliation": "University of Portsmouth",
"name": "Lucia F. de la Bella"
},
{
Expand All @@ -43,21 +43,31 @@
"affiliation": "University of Manchester",
"name": "Juan Pablo Cordero"
},
{
"orcid": "0000-0003-1560-7959",
"affiliation": "University of Portsmouth",
"name": "Fox Davidson"
},
{
"orcid": "0000-0002-8218-563X",
"affiliation": "University of Portsmouth",
"name": "Ginevra Favole"
},
{
"orcid": "0000-0002-4437-0770",
"affiliation": "University of Manchester",
"affiliation": "University of Oxford, University of Manchester",
"name": "Ian Harrison"
},
{
"orcid": "0000-0002-5304-9372",
"affiliation": "University of Portsmouth",
"name": "Ian Harry"
},
{
"orcid": "0000-0001-9994-1115",
"affiliation": "University of Geneva",
"name": "William G. Hartley"
},
{
"orcid": "0000-0001-9233-2341",
"affiliation": "University of Portsmouth",
Expand All @@ -80,14 +90,19 @@
},
{
"orcid": "0000-0003-1291-1023",
"affiliation": "University of Manchester",
"name": "Richard Rollins"
"affiliation": "University of Edinburgh",
"name": "Richard P. Rollins"
},
{
"orcid": "0000-0001-8685-2308",
"affiliation": "University of Portsmouth",
"name": "Philipp Sudek"
},
{
"orcid": "0000-0002-6724-833X",
"affiliation": "Institute of Astronomy and Astrophysics Academia Sinica",
"name": "Sut-Ieng Tam"
},
{
"orcid": "0000-0002-9696-7931",
"affiliation": "UCL",
Expand All @@ -98,10 +113,20 @@
"affiliation": "Institute of Astronomy and Astrophysics Academia Sinica",
"name": "Keiichi Umetsu"
},
{
"orcid": "0000-0001-9841-943X",
"affiliation": "University of Portsmouth",
"name": "Arthur E. Tolley"
},
{
"orcid": "0000-0002-7627-8688",
"affiliation": "University of Portsmouth",
"name": "Andrew R. Williamson"
},
{
"orcid": "0000-0003-3334-3037",
"affiliation": "University of Manchester",
"name": "Laura Wolz"
}
],
"contributors": [
Expand Down
28 changes: 21 additions & 7 deletions CITATION.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
Citation Guidelines
===================

|JOSS| |Zenodo|


If you use SkyPy for work or research presented in a publication (whether
directly, or as a dependency to another package) we recommend and encourage
directly, or as a dependency of another package) we recommend and encourage
the following acknowledgment:

This research made use of SkyPy, a Python package for forward modeling
astronomical surveys (SkyPy Collaboration, 2020).
astronomical surveys (Amara et. al., 2021, SkyPy Collaboration, 202x).

where the citations are to our publication in the `Journal of Open Source
Software`_ and the `Zenodo DOI`_ for the specific version of the software that
you used. We also encourage citations within the main text wherever
appropriate. DOIs and BibTeX keys are available through the links above.

.. _Journal of Open Source Software: https://joss.theoj.org/papers/10.21105/joss.03056
.. _Zenodo DOI: https://zenodo.org/record/3755531


where (SkyPy Collaboration, 2020) is a citation to the software DOI for the
specific version that you used. We also encourage you to cite the software DOI
in the main text wherever appropriate. DOIs and BibTeX keys for each release
can be found on Zenodo_.
.. |JOSS| image:: https://joss.theoj.org/papers/10.21105/joss.03056/status.svg
:target: https://doi.org/10.21105/joss.03056

.. _Zenodo: https://zenodo.org/record/3755531
.. |Zenodo| image:: https://zenodo.org/badge/doi/10.5281/zenodo.4475347.svg
:target: https://doi.org/10.5281/zenodo.3755531
19 changes: 9 additions & 10 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ Finally add the ``skypyproject`` repository as a *remote*. This will allow you t
Create a branch for your new feature
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create a *branch* off the ``skypyproject`` master branch. Working on unique branches for each new feature simplifies the development, review and merge processes by maintining logical separation. To create a feature branch:
Create a *branch* off the ``skypyproject`` main branch. Working on unique branches for each new feature simplifies the development, review and merge processes by maintining logical separation. To create a feature branch:

::

git fetch skypyproject
git checkout -b <your-branch-name> skypyproject/master
git checkout -b <your-branch-name> skypyproject/main


Hack away!
Expand Down Expand Up @@ -73,7 +73,7 @@ When you feel that work on your new feature is complete, you should create a *Pu
1. Go to `SkyPy Pull Requests <https://github.com/skypyproject/skypy/pulls>`_
2. Click the green **New pull request** button
3. Click **compare across forks**
4. Confirm that the base fork is ``skypyproject/skypy`` and the base branch is ``master``
4. Confirm that the base fork is ``skypyproject/skypy`` and the base branch is ``main``
5. Confirm the head fork is ``<your-account>/skypy`` and the compare branch is ``<your-branch-name>``
6. Give your pull request a title and fill out the the template for the description
7. Click the green **Create pull request** button
Expand All @@ -91,22 +91,22 @@ A series of automated checks will be run on your pull request, some of which wil
Updating your branch
^^^^^^^^^^^^^^^^^^^^

As you work on your feature, new commits might be made to the ``skypyproject`` master branch. You will need to update your branch with these new commits before your pull request can be accepted. You can achieve this in a few different ways:
As you work on your feature, new commits might be made to the ``skypyproject`` main branch. You will need to update your branch with these new commits before your pull request can be accepted. You can achieve this in a few different ways:

- If your pull request has no conflicts, click **Update branch**
- If your pull request has conflicts, click **Resolve conflicts**, manually resolve the conflicts and click **Mark as resolved**
- *merge* the ``skypyproject`` master branch from the command line:
- *merge* the ``skypyproject`` main branch from the command line:

::

git fetch skypyproject
git merge skypyproject/master
git merge skypyproject/main

- *rebase* your feature branch onto the ``skypyproject`` master branch from the command line:
- *rebase* your feature branch onto the ``skypyproject`` main branch from the command line:
::

git fetch skypyproject
git rebase skypyproject/master
git rebase skypyproject/main


**Warning**: It is bad practice to *rebase* commits that have already been pushed to a remote such as your fork. Rebasing creates new copies of your commits that can cause the local and remote branches to diverge. ``git push --force`` will **overwrite** the remote branch with your newly rebased local branch. This is strongly discouraged, particularly when working on a shared branch where you could erase a collaborators commits.
Expand All @@ -129,7 +129,7 @@ Before your pull request can be merged into the codebase, it will be reviewed by
General Guidelines
^^^^^^^^^^^^^^^^^^

- SkyPy is compatible with Python>=3.6 (see `setup.cfg <https://github.com/skypyproject/skypy/blob/master/setup.cfg>`_). SkyPy *does not* support backwards compatibility with Python 2.x; `six`, `__future__` and `2to3` should not be used.
- SkyPy is compatible with Python>=3.7 (see `setup.cfg <https://github.com/skypyproject/skypy/blob/main/setup.cfg>`_). SkyPy *does not* support backwards compatibility with Python 2.x; `six`, `__future__` and `2to3` should not be used.
- All contributions should follow the `PEP8 Style Guide for Python Code <https://www.python.org/dev/peps/pep-0008/>`_. We recommend using `flake8 <https://flake8.pycqa.org/>`__ to check your code for PEP8 compliance.
- Importing SkyPy should only depend on having `NumPy <https://www.numpy.org>`_, `SciPy <https://www.scipy.org/>`_ and `Astropy <https://www.astropy.org/>`__ installed.
- Code is grouped into submodules based on broad science areas e.g. `galaxies <https://skypy.readthedocs.io/en/stable/galaxies.html>`_. There is also a `utils <https://skypy.readthedocs.io/en/stable/utils/index.html>`_ submodule for general utility functions.
Expand All @@ -150,7 +150,6 @@ All public classes, methods and functions require docstrings. You can build docu
- Description
- Parameters
- Notes
- Examples
- References

For more information see the Astropy guide to `Writing Documentation <https://docs.astropy.org/en/stable/development/docguide.html>`_.
Loading