Skip to content

Commit

Permalink
Merge pull request #7 from regro/xgboost
Browse files Browse the repository at this point in the history
BUG make sure to bump the cuda and other framework versions
  • Loading branch information
beckermr authored Aug 8, 2023
2 parents 73ef99a + b9ef8fe commit 4dea7ab
Show file tree
Hide file tree
Showing 30 changed files with 1,143 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conda_forge_feedstock_check_solvable/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.1"
__version__ = "0.3.2"
18 changes: 18 additions & 0 deletions conda_forge_feedstock_check_solvable/mamba_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ def clean():
fake_packages = [
FakePackage("__glibc", "2.12"),
FakePackage("__glibc", "2.17"),
FakePackage("__glibc", "2.28"),
FakePackage("__cuda", "9.2"),
FakePackage("__cuda", "10.0"),
FakePackage("__cuda", "10.1"),
Expand All @@ -515,6 +516,17 @@ def clean():
FakePackage("__cuda", "11.2"),
FakePackage("__cuda", "11.3"),
FakePackage("__cuda", "11.4"),
FakePackage("__cuda", "11.5"),
FakePackage("__cuda", "11.6"),
FakePackage("__cuda", "11.7"),
FakePackage("__cuda", "11.8"),
FakePackage("__cuda", "11.9"),
FakePackage("__cuda", "12.0"),
FakePackage("__cuda", "12.1"),
FakePackage("__cuda", "12.2"),
FakePackage("__cuda", "12.3"),
FakePackage("__cuda", "12.4"),
FakePackage("__cuda", "12.5"),
]
for pkg in fake_packages:
repodata.add_package(pkg)
Expand Down Expand Up @@ -549,6 +561,12 @@ def clean():
"13.0",
"13.1",
"13.2",
"13.3",
"13.4",
"13.5",
"13.6",
"13.7",
"13.8",
]:
repodata.add_package(
FakePackage("__osx", osx_ver),
Expand Down
7 changes: 7 additions & 0 deletions tests/test_mamba_solvable.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ def test_r_base_cross_solvable():
assert solvable, pprint.pformat(errors)


@flaky
def test_xgboost_solvable():
feedstock_dir = os.path.join(os.path.dirname(__file__), "xgboost-feedstock")
solvable, errors, _ = is_recipe_solvable(feedstock_dir)
assert solvable, pprint.pformat(errors)


def clone_and_checkout_repo(base_path: pathlib.Path, origin_url: str, ref: str):
subprocess.run(
f"cd {base_path} && git clone {origin_url} repo",
Expand Down
6 changes: 6 additions & 0 deletions tests/xgboost-feedstock/.ci_support/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This file is automatically generated by conda-smithy. If any
particular build configuration is expected, but it is not found,
please make sure all dependencies are satisfiable. To add/modify any
matrix elements, you should create/change conda-smithy's input
recipe/conda_build_config.yaml and re-render the recipe, rather than
editing these files directly.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
c_compiler:
- gcc
c_compiler_version:
- '10'
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- nvcc
cuda_compiler_version:
- '11.2'
cxx_compiler:
- gxx
cxx_compiler_version:
- '10'
docker_image:
- quay.io/condaforge/linux-anvil-cuda:11.2
nccl:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
c_compiler:
- gcc
c_compiler_version:
- '12'
cdt_name:
- cos6
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- None
cuda_compiler_version:
- None
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
nccl:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
c_compiler:
- gcc
c_compiler_version:
- '12'
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- cuda-nvcc
cuda_compiler_version:
- '12.0'
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
nccl:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
BUILD:
- aarch64-conda_cos7-linux-gnu
c_compiler:
- gcc
c_compiler_version:
- '10'
cdt_arch:
- aarch64
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- nvcc
cuda_compiler_version:
- '11.2'
cxx_compiler:
- gxx
cxx_compiler_version:
- '10'
docker_image:
- quay.io/condaforge/linux-anvil-cuda:11.2
nccl:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
target_platform:
- linux-aarch64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
BUILD:
- aarch64-conda_cos7-linux-gnu
c_compiler:
- gcc
c_compiler_version:
- '12'
cdt_arch:
- aarch64
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- None
cuda_compiler_version:
- None
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
nccl:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
target_platform:
- linux-aarch64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
c_compiler:
- gcc
c_compiler_version:
- '10'
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- nvcc
cuda_compiler_version:
- '11.2'
cxx_compiler:
- gxx
cxx_compiler_version:
- '10'
docker_image:
- quay.io/condaforge/linux-anvil-cuda:11.2
nccl:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
target_platform:
- linux-ppc64le
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
c_compiler:
- gcc
c_compiler_version:
- '12'
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cuda_compiler:
- None
cuda_compiler_version:
- None
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
nccl:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
target_platform:
- linux-ppc64le
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Loading

0 comments on commit 4dea7ab

Please sign in to comment.