Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Dec 20, 2024
1 parent 8951cdc commit d1aced3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
runs-on: ubuntu-latest
needs: [build_wheels, build_sdist]

# upload to pypi on every tag starting with 'v'
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/v')
# upload to PyPI on every tag starting with 'v'
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')

environment:
name: pypi
Expand Down
19 changes: 1 addition & 18 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,6 @@ cc_library(
],
)

# config_setting(
# name = "on_windows",
# constraint_values = ["@platforms//os:windows"],
# )

# config_setting(
# name = "on_linux",
# constraint_values = ["@platforms//os:linux"],
# )

TEST_NAMES = [
"TestAlienBasis",
"TestBasis",
Expand Down Expand Up @@ -166,13 +156,7 @@ TEST_NAMES = [
"TestSort",
"TestSpecialLps",
"TestThrow",
]

# PLATFORM_DEPENDENT_TESTS = select({
# "on_linux": ["TestLpSolvers.cpp"],
# "on_windows": ["TestLpSolvers.cpp"],
# "//conditions:default": [],
# })
]

[cc_test(
name = name,
Expand All @@ -187,4 +171,3 @@ TEST_NAMES = [
":test_lib",
],
) for name in TEST_NAMES]

22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Bug Tracker" = "https://github.com/ERGO-Code/HiGHS/issues"

[build-system]
requires = ["numpy", "pybind11", "scikit-build-core>=0.3.3"]
requires = ["scikit-build-core>=0.3.3", "pybind11", "numpy"]
build-backend = "scikit_build_core.build"

[project]
Expand Down Expand Up @@ -54,21 +54,21 @@ sdist.include = [
"LICENSE",
"README.md",
"src/HConfig.h.in",
"src/",
"external/",
"cmake/",
"src",
"external",
"cmake",
]

sdist.exclude = [
".github",
".gitattributes",
".gitignore",
".github",
"app/",
"build/",
"check/",
"docs/",
"subprojects/",
"app",
"build",
"check",
"docs",
"subprojects",
".coin-or",
"build_webdemo.sh",
".clang-format",
Expand Down Expand Up @@ -98,11 +98,11 @@ sdist.exclude = [
# # The versions of Ninja to allow. If Ninja is not present on the system or does
# # not pass this specifier, it will be downloaded via PyPI if possible. An empty
# # string will disable this check.
ninja.version = ">=1.5"
# ninja.version = ">=1.5"

# # If Ninja is not present on the system or is older required, it will be
# # downloaded via PyPI if possible. An empty string will disable this check.
ninja.make-fallback = true
# ninja.make-fallback = true

# # The logging level to display, "DEBUG", "INFO", "WARNING", and "ERROR" are
# # possible options.
Expand Down

0 comments on commit d1aced3

Please sign in to comment.