Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into jiwaszki/np_unique_…
Browse files Browse the repository at this point in the history
…nan_bug
  • Loading branch information
jiwaszki committed May 15, 2023
2 parents bcf6292 + 9bc9ed7 commit d9c2a7b
Show file tree
Hide file tree
Showing 330 changed files with 7,303 additions and 4,254 deletions.
9 changes: 5 additions & 4 deletions .cirrus.star
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ def main(ctx):
if env.get("CIRRUS_REPO_FULL_NAME") != "numpy/numpy":
return []

# if env.get("CIRRUS_CRON", "") == "nightly":
# return fs.read("ci/cirrus_wheels.yml")
# only run the wheels entry on a cron job
if env.get("CIRRUS_CRON", "") == "nightly":
return fs.read("tools/ci/cirrus_wheels.yml")

# Obtain commit message for the event. Unfortunately CIRRUS_CHANGE_MESSAGE
# only contains the actual commit message on a non-PR trigger event.
Expand All @@ -31,8 +32,8 @@ def main(ctx):
if "[skip cirrus]" in dct["message"] or "[skip ci]" in dct["message"]:
return []

config = fs.read("tools/ci/cirrus_general.yml")

# add extra jobs to the cirrus run by += adding to config
config = fs.read("tools/ci/cirrus_wheels.yml")
config += fs.read("tools/ci/cirrus_macosx_arm64.yml")

return config
5 changes: 0 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
// Conda requires lots of memory to resolve our environment
"hostRequirements": {
"memory": "8gb"
},

// More info about Features: https://containers.dev/features
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {},
Expand Down
7 changes: 6 additions & 1 deletion .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

set -e

curl micro.mamba.pm/install.sh | bash

conda init --all
conda env create -f environment.yml
micromamba shell init -s bash
micromamba env create -f environment.yml --yes
# Note that `micromamba activate numpy-dev` doesn't work, it must be run by the
# user (same applies to `conda activate`)

git submodule update --init
9 changes: 4 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ updates:
directory: /
schedule:
interval: daily

- package-ecosystem: docker
directory: /tools/gitpod
schedule:
interval: daily
commit-message:
prefix: "MAINT"
labels:
- "03 - Maintenance"

0 comments on commit d9c2a7b

Please sign in to comment.