-
-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update change log add fixes for sdss/boss/eboss spectra URLs use named groups add temporary warning add initial test for download URLs testing the image url test remove null table ensure no downloads fix test ordering add tests for spectra fix column lengths fix test function fix key error test eFEDS urls fix style error make sure plate is really the same fix url test reactivate some xfail tests. test downloading eFEDS spectra fix style error fix style clean-up prior to merge Enhanced results feature in ALMA append filename to local path Update docs Parse a directory or filename style fixes update changes file Added pull request number to changes clean up test artifacts create dir if it does not exist Update VSA url Adding changelog [skip ci] Added support for spectral_resolution in ALMA Reduce execution time of remote test suite Modulate verbosity on download_products() function style fixes Update changes file Add check to test case TST: skipping test when dependency is missing MAINT: raise exception for missing dependency DOC: fixing failing doctest examples TST: adding new datarelease MAINT: update mailmap MAINT: update licence year MAINT: remove deprecated usage of BeautifulSoup CI: separate out online tests to their own workflow MAINT: skipping bigdata marked tests in CI TST: marking a 800+Mb alma test bigdata MAINT: fix OGLE url DOC: add changelog MAINT: adding doctesting dependency for cloud example TST: don't test defunct module DOC: minor doc example fixes MAINT: fixing changed astropy API for test MAINT: fix python deprecation TST: Catch one more warning in test TST: various minor doctest fixes maint: allow doctests in doc switched to a more specific example than kang 51 because there are often new catalogs matching this maint: switch to tests with less data to download maint: switch from meta.all to meta to reduce response size we don't lose information, but ASU-style queries cannot get a dictionnary in the POST request's data refactor: switch to public API in remote tests refactor: simbad query methods now call query_tap internally - add construct_query method that reads the columns_in_output, join, and criteria attirbutes - support the removed query_criteria method functionnalities by adding a criteria attribute that should be a valid adql clause. The utils CriteriaTranslator can translate between the old and new syntax. - make ROW_LIMIT = -1 to return all lines because TOP 0 or maxrec = 0 are the dedicated way to retrieve table metadata in TAP - fix usage of lru_cache on class methods that can cause memory leaks (see bugbear rule B019) lint: add yacc and lex automatically generated files to flake8 ignore these are the files of the simbad.utils.CriteriaTranslator parser fix: add a __call__ definition to make BaseVOQuery behave as BaseQuery add query_criteria_fialds.json and move from os to pathlib docs: document simbad refactoring fix: propagate simbad changes to jwst module this commit also adds a patch to simbad's query_objects in the tests docs: propagate simbad changes into the general documentation docs: simbad cache works differently now simbad calls lru_cache from python core library, so no cache_location tests: add simbad_output_options to path_tests refactor: remove utilities for the former sim script queries feat: add bibcodelist to possible outputs test: complete coverage of simbad utils tests: improve coverage for the tests without remote access docs: update simbad's doc fix: typo in vizier link feat: add ROW_LIMIT as a settable property rename 'add_to_output' into 'add_output_columns' docs: edit version of deprecation feat: reduce API changes docs: edits on votable fields utils docs: add changelog Co-authored-by: Adam Ginsburg <[email protected]> fix: rename typed_id into user_specified_id feat: add get_query_payload for the methods using TAP fix: wildcards in query_objects This was not tested remotely. And for now, this is extremely slow. Thus, the remote test for the wildcards in 'query_objects' is skipped except if SKIP_SLOW is set to False. On the other hand, when there is no wildcard in 'query_objects' there is a way faster method (join the small table on the left). So this PR also implements this. To use this faster method, the 'construct_query' had to become a bit general and now accepts a 'from_table' argument that defaults to 'basic'. docs: edit docstring and changelog from review Co-authored-by: Brigitta Sipőcz <[email protected]> tests: new measurement for sirius rotation refactor: remove Column and Join from SimbadClass DOC: minor changelog rephrase and reformat test different exceptions restore exceptions use timeout superclass
- Loading branch information
1 parent
25e6521
commit 10885b2
Showing
86 changed files
with
6,283 additions
and
4,221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI-online-crontests | ||
|
||
on: | ||
push: | ||
# Run this job on release tags, but not on pushes to the main branch | ||
tags: | ||
- '*' | ||
schedule: | ||
# run every Friday at 23:00 UTC | ||
- cron: '0 23 * * 5' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
tests: | ||
name: ${{ matrix.name }} | ||
runs-on: ${{ matrix.os }} | ||
if: github.repository == 'astropy/astroquery' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: py3.12 all dev deps online | ||
os: ubuntu-latest | ||
python: '3.12' | ||
toxenv: py312-test-alldeps-devdeps-online | ||
toxargs: -v | ||
toxposargs: -v --durations=50 | ||
|
||
- name: Windows py3.9 all deps online | ||
os: windows-latest | ||
python: '3.9' | ||
toxenv: py39-test-alldeps-online | ||
toxargs: -v | ||
toxposargs: -v --durations=50 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Install Python dependencies | ||
run: python -m pip install --upgrade tox | ||
- name: Run tests | ||
run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.