Skip to content

Commit

Permalink
Merge pull request #400 from pllim/update-ci
Browse files Browse the repository at this point in the history
Bump default Vega and update CI
  • Loading branch information
pllim authored Nov 19, 2024
2 parents 40d6a55 + 262a309 commit 352fa71
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

- name: Test with dev dependencies
os: ubuntu-latest
python: '3.13-dev'
python: '3.13'
toxenv: py313-test-devdeps

- name: Test with old dependencies
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
1.5.0 (unreleased)
1.5.0 (2024-11-19)
==================

- Default Vega is now ``alpha_lyr_stis_011.fits``. [#400]

1.4.0 (2024-04-11)
==================

Expand Down
2 changes: 1 addition & 1 deletion synphot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Conf(ConfigNamespace):

# STANDARD STARS
vega_file = ConfigItem(
'https://ssb.stsci.edu/trds/calspec/alpha_lyr_stis_010.fits', 'Vega')
'https://ssb.stsci.edu/trds/calspec/alpha_lyr_stis_011.fits', 'Vega')

# REDDENING/EXTINCTION LAWS
lmc30dor_file = ConfigItem(
Expand Down
2 changes: 1 addition & 1 deletion synphot/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_download_data(tmp_path):
# Use case where user redefined data file to be non-STScI.
# While the given file will be used, default Vega is downloaded anyway.
filename = [fname for fname in file_list_1
if fname.endswith('alpha_lyr_stis_010.fits')][0]
if fname.endswith('alpha_lyr_stis_011.fits')][0]
os.remove(filename)
with conf.set_temp('vega_file', '/custom/host/my_vega.fits'):
file_list_2 = utils.download_data(
Expand Down

0 comments on commit 352fa71

Please sign in to comment.