-
Notifications
You must be signed in to change notification settings - Fork 4
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
Some ideas for more modern conda build recipes for ska packages #1
Merged
Changes from 4 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b315c31
Reboot conda builds
jeanconn 6afecc3
Add more packages (kadi tests still don't pass)
jeanconn d34054b
Remove some meta.yaml text copied in error
jeanconn 27f7234
WIP: Add more packages (untested builds / wip)
jeanconn e09d57e
Update the build order list
jzuhone 67676db
Add ska.tdb
jzuhone 0a58345
Add Ska.ParseCM
jzuhone 018ad04
Add Chandra.Maneuver
jzuhone e5c16f2
Add cmd_states package
jzuhone 40b4d95
Add xija recipe
jzuhone a417694
Update build order
jzuhone c17313e
Bash script to build all of the packages
jzuhone 3e530b1
Use GIT_DESCRIBE_TAG to get version number
jzuhone 16c8681
Clean up this script and simplify it
jzuhone f7d41fc
Separate the function of building the package into another script
jzuhone 2939765
For now, use AstroPy 1.3
jzuhone 78dba25
These are required to get this package to build
jzuhone 3b843e0
Adding more build packages to several packages
jzuhone f60d9b5
Comment these last two out for now until we can build them
jzuhone 683ac9c
Don't build something in build_order.txt which is commented out
jzuhone 1223ac2
Added build requirements for agasc
jzuhone 83a7424
Add in xija
jzuhone b1dd89b
This way actually skips commented lines
jzuhone acc4fc7
Add notes file
jzuhone da54819
Use AstroPy 2.0 instead
jzuhone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python setup.py install |
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,45 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: agasc | ||
version: {{ data.get('version') }} | ||
|
||
build: | ||
script_env: | ||
- USER | ||
- SKA_TOP_SRC_DIR | ||
|
||
source: | ||
path: {{ SKA_TOP_SRC_DIR }}/agasc | ||
|
||
|
||
# the build and runtime requirements. Dependencies of these requirements | ||
# are included automatically. | ||
requirements: | ||
# Packages required to build the package. python and numpy must be | ||
# listed explicitly if they are required. | ||
build: | ||
- python | ||
- setuptools | ||
- six | ||
# Packages required to run the package. These are the dependencies that | ||
# will be installed automatically whenever the package is installed. | ||
run: | ||
- python | ||
- six | ||
- pytables | ||
- numpy | ||
- numexpr | ||
- chandra.time | ||
- ska_path | ||
- astropy | ||
- testr | ||
|
||
test: | ||
imports: | ||
- agasc | ||
|
||
|
||
about: | ||
home: https://github.com/sot/agasc | ||
|
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,3 @@ | ||
import agasc | ||
agasc.test() | ||
|
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,12 @@ | ||
ska.shell | ||
ska.file | ||
pyyaks | ||
ska_path | ||
testr | ||
chandra.time | ||
ska.dbi | ||
ska.ftp | ||
ska.numpy | ||
quaternion | ||
ska.engarchive | ||
kadi |
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 @@ | ||
python setup.py install |
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,47 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: chandra.time | ||
version: {{ data.get('version') }} | ||
|
||
build: | ||
script_env: | ||
- SKA_TOP_SRC_DIR | ||
preserve_egg_dir: yes # (default no) | ||
entry_points: | ||
- entry = conda_version_test.manual_entry:main | ||
|
||
source: | ||
path: {{ SKA_TOP_SRC_DIR }}/Chandra.Time | ||
|
||
|
||
# the build and runtime requirements. Dependencies of these requirements | ||
# are included automatically. | ||
requirements: | ||
# Packages required to build the package. python and numpy must be | ||
# listed explicitly if they are required. | ||
build: | ||
- python | ||
- setuptools | ||
- cython >=0.20.1 | ||
- six | ||
- numpy | ||
# Packages required to run the package. These are the dependencies that | ||
# will be installed automatically whenever the package is installed. | ||
run: | ||
- python | ||
- setuptools | ||
- six | ||
- numpy | ||
- astropy | ||
- testr | ||
|
||
test: | ||
imports: | ||
- Chandra.Time | ||
|
||
|
||
about: | ||
home: https://github.com/sot/Chandra.Time | ||
license: BSD | ||
summary: Chandra Time package |
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,2 @@ | ||
import Chandra.Time | ||
Chandra.Time.test() |
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 @@ | ||
python setup.py install |
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,49 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: chandra_aca | ||
version: {{ data.get('version') }} | ||
|
||
build: | ||
script_env: | ||
- USER | ||
- SKA_TOP_SRC_DIR | ||
|
||
source: | ||
path: {{ SKA_TOP_SRC_DIR }}/chandra_aca | ||
|
||
|
||
# the build and runtime requirements. Dependencies of these requirements | ||
# are included automatically. | ||
requirements: | ||
# Packages required to build the package. python and numpy must be | ||
# listed explicitly if they are required. | ||
build: | ||
- python | ||
- six | ||
# Packages required to run the package. These are the dependencies that | ||
# will be installed automatically whenever the package is installed. | ||
run: | ||
- python | ||
- numpy | ||
- testr | ||
- numba | ||
- scipy | ||
- chandra.time | ||
- ska.numpy | ||
- quaternion | ||
- astropy | ||
- agasc | ||
- ska.quatutil | ||
- matplotlib | ||
- six | ||
|
||
|
||
test: | ||
imports: | ||
- chandra_aca | ||
|
||
|
||
about: | ||
home: https://github.com/sot/chandra_aca | ||
|
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,3 @@ | ||
import chandra_aca | ||
chandra_aca.test() | ||
|
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 @@ | ||
python setup.py install |
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,53 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: kadi | ||
version: {{ data.get('version') }} | ||
|
||
build: | ||
script_env: | ||
- USER | ||
- SKA_TOP_SRC_DIR | ||
|
||
source: | ||
path: {{ SKA_TOP_SRC_DIR }}/kadi | ||
|
||
|
||
# the build and runtime requirements. Dependencies of these requirements | ||
# are included automatically. | ||
requirements: | ||
# Packages required to build the package. python and numpy must be | ||
# listed explicitly if they are required. | ||
build: | ||
- python | ||
- six | ||
# Packages required to run the package. These are the dependencies that | ||
# will be installed automatically whenever the package is installed. | ||
run: | ||
- python | ||
- six | ||
- pytables | ||
- configobj | ||
- requests | ||
- django | ||
- pyyaks | ||
- ska.dbi | ||
- ska.file | ||
- ska.ftp | ||
- ska.numpy | ||
- astropy | ||
- quaternion | ||
- chandra.time | ||
- ska.engarchive | ||
- numpy | ||
- testr | ||
|
||
test: | ||
imports: | ||
- kadi | ||
|
||
|
||
about: | ||
home: https://github.com/sot/Chandra.Time | ||
license: BSD | ||
summary: Chandra Time package |
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,3 @@ | ||
import kadi | ||
kadi.test() | ||
|
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 @@ | ||
python setup.py install |
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,45 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: pyyaks | ||
version: {{ data.get('version') }} | ||
|
||
build: | ||
script_env: | ||
- SKA_TOP_SRC_DIR | ||
|
||
source: | ||
path: {{ SKA_TOP_SRC_DIR }}/pyyaks | ||
|
||
|
||
# the build and runtime requirements. Dependencies of these requirements | ||
# are included automatically. | ||
requirements: | ||
# Packages required to build the package. python and numpy must be | ||
# listed explicitly if they are required. | ||
build: | ||
- python | ||
- setuptools | ||
# Packages required to run the package. These are the dependencies that | ||
# will be installed automatically whenever the package is installed. | ||
run: | ||
- python | ||
- setuptools | ||
- jinja2 | ||
|
||
test: | ||
requires: | ||
- pytest | ||
- six | ||
imports: | ||
- pyyaks | ||
- pyyaks.context | ||
- pyyaks.logger | ||
- pyyaks.fileutil | ||
- pyyaks.task | ||
|
||
about: | ||
home: https://github.com/sot/pyyaks | ||
license: BSD | ||
summary: Pipeline running tools | ||
|
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 @@ | ||
python setup.py install |
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,40 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: quaternion | ||
version: {{ data.get('version') }} | ||
|
||
build: | ||
script_env: | ||
- SKA_TOP_SRC_DIR | ||
|
||
source: | ||
path: {{ SKA_TOP_SRC_DIR }}/Quaternion | ||
|
||
|
||
# the build and runtime requirements. Dependencies of these requirements | ||
# are included automatically. | ||
requirements: | ||
# Packages required to build the package. python and numpy must be | ||
# listed explicitly if they are required. | ||
build: | ||
- python | ||
- setuptools | ||
- six | ||
- numpy | ||
# Packages required to run the package. These are the dependencies that | ||
# will be installed automatically whenever the package is installed. | ||
run: | ||
- python | ||
- setuptools | ||
- six | ||
- numpy | ||
- testr | ||
|
||
test: | ||
imports: | ||
- Quaternion | ||
|
||
|
||
about: | ||
home: https://github.com/sot/Quaternion |
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,2 @@ | ||
import Quaternion | ||
Quaternion.test() |
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 @@ | ||
python setup.py install |
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,45 @@ | ||
{% set data = load_setup_py_data() %} | ||
|
||
package: | ||
name: ska.dbi | ||
version: {{ data.get('version') }} | ||
|
||
build: | ||
script_env: | ||
- SKA_TOP_SRC_DIR | ||
preserve_egg_dir: yes # (default no) | ||
|
||
source: | ||
path: {{ SKA_TOP_SRC_DIR }}/Ska.DBI | ||
|
||
|
||
# the build and runtime requirements. Dependencies of these requirements | ||
# are included automatically. | ||
requirements: | ||
# Packages required to build the package. python and numpy must be | ||
# listed explicitly if they are required. | ||
build: | ||
- python | ||
- setuptools | ||
- six | ||
- sqlite | ||
# Packages required to run the package. These are the dependencies that | ||
# will be installed automatically whenever the package is installed. | ||
run: | ||
- python | ||
- setuptools | ||
- six | ||
- sqlite | ||
- pytest | ||
- testr | ||
|
||
test: | ||
requires: | ||
- numpy | ||
imports: | ||
- Ska.DBI | ||
|
||
about: | ||
home: https://github.com/sot/Ska.DBI | ||
|
||
|
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,2 @@ | ||
import Ska.DBI | ||
Ska.DBI.test() |
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 @@ | ||
python setup.py install |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this doesn't work on Py3, I think because load_setup_py_data is trying to JSON serialize the cythonize portion of the setup
Not sure why this seems to work on Py2. A work-around for this is just to specify the version until we patch load_setup_py_data().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like conda-build 2.1.15 works fine with this (and ignores the the bits that don't JSON serialize). conda-build 2.1.16 and conda-build 3.0.6 seem to break on the same recipe, however. Oy.