Skip to content

Commit

Permalink
Dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
madeline-scyphers committed Jul 5, 2024
1 parent 33f0f65 commit 71bf5aa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
3 changes: 1 addition & 2 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: boa
channels:
- pytorch
- conda-forge
dependencies:
- python=3.11
# mac x86 or Apple Silicon macs on rosetta python need pytorch>2
# so if on either of those, it should install pytorch>2 by default
# but if not and something doesn't work, upgrade pytorch, torchvision,
# and torchaudio
- pytorch::pytorch
- pytorch<3
- numpy<2
- pandas<3
- scipy<2
Expand Down
21 changes: 10 additions & 11 deletions environment_dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: boa-dev
channels:
- pytorch
- conda-forge
- domdfcoding
dependencies:
Expand All @@ -9,21 +8,21 @@ dependencies:
# so if on either of those, it should install pytorch>2 by default
# but if not and something doesn't work, upgrade pytorch, torchvision,
# and torchaudio
- pytorch::pytorch
- numpy
- pandas
- scipy
- scikit-learn
- click
- panel
- pytorch<3
- numpy<2
- pandas<3
- scipy<2
- scikit-learn<2
- click<9
- panel<2
- plotly>=5.10.0
- notebook>=5.3
- ipywidgets>=7.5
- ax-platform==0.3.5
- ruamel.yaml
- ruamel.yaml<1
- domdfcoding::attr_utils
- attrs
- jinja2
- attrs<24
- jinja2<4

## Jupyter and sphinx jupyter
- myst-nb
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# ex) PyTorch is pytorch on conda, but listed as torch on PyPI
# also if you are installing a pkg from a git rep, you should remap it
# to "git+https/etc": "pkg_name @ git+https/etc"
pkg_renames = {"pytorch": "torch"}
pkg_renames = {"pytorch<3": "torch<3"}


# list of any packages in your environment files you don't want to include
Expand Down

5 comments on commit 71bf5aa

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
__main__.py90594%83, 135, 166, 211, 219
async_opt.py1051882%137, 181, 188, 191, 211–212, 218–219, 221–222, 224, 231–236, 240
ax_instantiation_utils.py47197%120
controller.py76396%73, 84, 176
definitions.py80100% 
instantiation_base.py45197%48
metaclasses.py72395%50–51, 57
plot.py12120%15, 17–18, 20–21, 24, 27, 34, 40–41, 44–45
plotting.py1412880%51–52, 59, 94–95, 251–253, 301–305, 345, 429–432, 434–441, 443, 448
registry.py80100% 
runner.py51492%52, 86–88
scheduler.py811482%38, 128–131, 138–139, 153, 160–161, 168–169, 264–265
storage.py1241587%83, 115–117, 177, 195, 273–281
template.py31583%52–56
utils.py992079%179, 193–194, 219, 229–233, 235–237, 239, 241, 245–250
config
   __main__.py00100% 
   config.py3073488%33, 211, 217, 221, 223–224, 226, 282, 409, 412, 420–421, 429, 603, 605, 607, 613–617, 619, 690, 723, 744, 751–752, 760, 773, 783–784, 796, 821, 824
   converters.py781383%14, 25, 44, 49–51, 54–55, 68, 70, 76, 84, 100
metrics
   metric_funcs.py34488%58, 80–81, 83
   metrics.py1011585%127, 304–305, 310–311, 314, 320, 331–333, 337–341
   modular_metric.py1382184%40–43, 45–52, 66, 137, 148, 172, 210, 265–266, 287–288
   synthetic_funcs.py39489%31, 35, 58, 65
scripts
   moo.py30196%44
   run_branin.py34197%56
   script_wrappers.py31293%57–58
   synth_func_cli.py210100% 
wrappers
   base_wrapper.py1953084%63–64, 89–92, 94, 102, 110, 115, 147, 156, 167, 215–216, 218, 267, 269, 271, 275, 330, 402, 416, 589, 591–594, 602, 612
   script_wrapper.py1191190%196, 207–208, 276, 279–281, 285, 326, 345, 350
   synthetic_wrapper.py16287%16, 28
   wrapper_utils.py150994%148–149, 247, 299, 423–425, 433–434
TOTAL228327687% 

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
__main__.py90594%83, 135, 166, 211, 219
async_opt.py1051882%137, 181, 188, 193, 211–212, 218–219, 221–222, 224, 231–236, 240
ax_instantiation_utils.py47197%120
controller.py76396%73, 84, 176
definitions.py80100% 
instantiation_base.py45197%48
metaclasses.py72395%50–51, 57
plot.py12120%15, 17–18, 20–21, 24, 27, 34, 40–41, 44–45
plotting.py1412880%51–52, 59, 94–95, 251–253, 301–305, 345, 429–432, 434–441, 443, 448
registry.py80100% 
runner.py51492%52, 86–88
scheduler.py811482%38, 128–131, 138–139, 153, 160–161, 168–169, 264–265
storage.py1241587%83, 115–117, 177, 195, 273–281
template.py31583%52–56
utils.py992079%179, 193–194, 219, 229–233, 235–237, 239, 241, 245–250
config
   __main__.py00100% 
   config.py3073488%33, 211, 217, 221, 223–224, 226, 282, 409, 412, 420–421, 429, 603, 605, 607, 613–617, 619, 690, 723, 744, 751–752, 760, 773, 783–784, 796, 821, 824
   converters.py781383%14, 25, 44, 49–51, 54–55, 68, 70, 76, 84, 100
metrics
   metric_funcs.py34488%58, 80–81, 83
   metrics.py1011585%127, 304–305, 310–311, 314, 320, 331–333, 337–341
   modular_metric.py1382184%40–43, 45–52, 66, 137, 148, 172, 210, 265–266, 287–288
   synthetic_funcs.py39489%31, 35, 58, 65
scripts
   moo.py30196%44
   run_branin.py34197%56
   script_wrappers.py31293%57–58
   synth_func_cli.py210100% 
wrappers
   base_wrapper.py1953084%63–64, 89–92, 94, 102, 110, 115, 147, 156, 167, 215–216, 218, 267, 269, 271, 275, 330, 402, 416, 589, 591–594, 602, 612
   script_wrapper.py1191190%196, 207–208, 276, 279–281, 285, 326, 345, 350
   synthetic_wrapper.py16287%16, 28
   wrapper_utils.py150994%148–149, 247, 299, 423–425, 433–434
TOTAL228327687% 

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
__main__.py90594%83, 135, 166, 211, 219
async_opt.py1051882%137, 181, 188, 193, 211–212, 218–219, 221–222, 224, 231–236, 240
ax_instantiation_utils.py47197%120
controller.py76396%73, 84, 176
definitions.py80100% 
instantiation_base.py45197%48
metaclasses.py72395%50–51, 57
plot.py12120%15, 17–18, 20–21, 24, 27, 34, 40–41, 44–45
plotting.py1412880%51–52, 59, 94–95, 251–253, 301–305, 345, 429–432, 434–441, 443, 448
registry.py80100% 
runner.py51492%52, 86–88
scheduler.py811482%38, 128–131, 138–139, 153, 160–161, 168–169, 264–265
storage.py1241587%83, 115–117, 177, 195, 273–281
template.py31583%52–56
utils.py992079%179, 193–194, 219, 229–233, 235–237, 239, 241, 245–250
config
   __main__.py00100% 
   config.py3073488%33, 211, 217, 221, 223–224, 226, 282, 409, 412, 420–421, 429, 603, 605, 607, 613–617, 619, 690, 723, 744, 751–752, 760, 773, 783–784, 796, 821, 824
   converters.py781383%14, 25, 44, 49–51, 54–55, 68, 70, 76, 84, 100
metrics
   metric_funcs.py34488%58, 80–81, 83
   metrics.py1011585%127, 304–305, 310–311, 314, 320, 331–333, 337–341
   modular_metric.py1382184%40–43, 45–52, 66, 137, 148, 172, 210, 265–266, 287–288
   synthetic_funcs.py39489%31, 35, 58, 65
scripts
   moo.py30196%44
   run_branin.py34197%56
   script_wrappers.py31293%57–58
   synth_func_cli.py210100% 
wrappers
   base_wrapper.py1953084%63–64, 89–92, 94, 102, 110, 115, 147, 156, 167, 215–216, 218, 267, 269, 271, 275, 330, 402, 416, 589, 591–594, 602, 612
   script_wrapper.py1191190%196, 207–208, 276, 279–281, 285, 326, 345, 350
   synthetic_wrapper.py16287%16, 28
   wrapper_utils.py150994%148–149, 247, 299, 423–425, 433–434
TOTAL228327687% 

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
__main__.py90594%83, 135, 166, 211, 219
async_opt.py1051882%137, 181, 188, 191, 211–212, 218–219, 221–222, 224, 231–236, 240
ax_instantiation_utils.py47197%120
controller.py76396%73, 84, 176
definitions.py80100% 
instantiation_base.py45197%48
metaclasses.py72395%50–51, 57
plot.py12120%15, 17–18, 20–21, 24, 27, 34, 40–41, 44–45
plotting.py1412880%51–52, 59, 94–95, 251–253, 301–305, 345, 429–432, 434–441, 443, 448
registry.py80100% 
runner.py51492%52, 86–88
scheduler.py811482%38, 128–131, 138–139, 153, 160–161, 168–169, 264–265
storage.py1241587%83, 115–117, 177, 195, 273–281
template.py31583%52–56
utils.py992079%179, 193–194, 219, 229–233, 235–237, 239, 241, 245–250
config
   __main__.py00100% 
   config.py3073488%33, 211, 217, 221, 223–224, 226, 282, 409, 412, 420–421, 429, 603, 605, 607, 613–617, 619, 690, 723, 744, 751–752, 760, 773, 783–784, 796, 821, 824
   converters.py781383%14, 25, 44, 49–51, 54–55, 68, 70, 76, 84, 100
metrics
   metric_funcs.py34488%58, 80–81, 83
   metrics.py1011585%127, 304–305, 310–311, 314, 320, 331–333, 337–341
   modular_metric.py1382184%40–43, 45–52, 66, 137, 148, 172, 210, 265–266, 287–288
   synthetic_funcs.py39489%31, 35, 58, 65
scripts
   moo.py30196%44
   run_branin.py34197%56
   script_wrappers.py31293%57–58
   synth_func_cli.py210100% 
wrappers
   base_wrapper.py1953084%63–64, 89–92, 94, 102, 110, 115, 147, 156, 167, 215–216, 218, 267, 269, 271, 275, 330, 402, 416, 589, 591–594, 602, 612
   script_wrapper.py1191190%196, 207–208, 276, 279–281, 285, 326, 345, 350
   synthetic_wrapper.py16287%16, 28
   wrapper_utils.py150994%148–149, 247, 299, 423–425, 433–434
TOTAL228327687% 

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
__main__.py90594%83, 135, 166, 211, 219
async_opt.py1051882%137, 181, 188, 193, 211–212, 218–219, 221–222, 224, 231–236, 240
ax_instantiation_utils.py470100% 
controller.py76396%73, 84, 176
definitions.py80100% 
instantiation_base.py45197%48
metaclasses.py72395%50–51, 57
plot.py12120%15, 17–18, 20–21, 24, 27, 34, 40–41, 44–45
plotting.py1412880%51–52, 59, 94–95, 251–253, 301–305, 345, 429–432, 434–441, 443, 448
registry.py80100% 
runner.py51492%52, 86–88
scheduler.py811482%38, 128–131, 138–139, 153, 160–161, 168–169, 264–265
storage.py1241587%83, 115–117, 177, 195, 273–281
template.py31583%52–56
utils.py992079%179, 193–194, 219, 229–233, 235–237, 239, 241, 245–250
config
   __main__.py00100% 
   config.py3073488%33, 211, 217, 221, 223–224, 226, 282, 409, 412, 420–421, 429, 603, 605, 607, 613–617, 619, 690, 723, 744, 751–752, 760, 773, 783–784, 796, 821, 824
   converters.py781383%14, 25, 44, 49–51, 54–55, 68, 70, 76, 84, 100
metrics
   metric_funcs.py34488%58, 80–81, 83
   metrics.py1011585%127, 304–305, 310–311, 314, 320, 331–333, 337–341
   modular_metric.py1382184%40–43, 45–52, 66, 137, 148, 172, 210, 265–266, 287–288
   synthetic_funcs.py39489%31, 35, 58, 65
scripts
   moo.py30196%44
   run_branin.py34197%56
   script_wrappers.py31293%57–58
   synth_func_cli.py210100% 
wrappers
   base_wrapper.py1953084%63–64, 89–92, 94, 102, 110, 115, 147, 156, 167, 215–216, 218, 267, 269, 271, 275, 330, 402, 416, 589, 591–594, 602, 612
   script_wrapper.py1191190%196, 207–208, 276, 279–281, 285, 326, 345, 350
   synthetic_wrapper.py16287%16, 28
   wrapper_utils.py150994%148–149, 247, 299, 423–425, 433–434
TOTAL228327587% 

Please sign in to comment.