Skip to content

Commit

Permalink
Urgent: add option to disable numpy install / prevent corruption of c…
Browse files Browse the repository at this point in the history
…onda-forge environments (#1040)

* Option to disable numpy install

* Bump version with numpy install fix

* Use `satisfied_skip_solve` in `Conda.add`
  • Loading branch information
MilesCranmer authored Jun 16, 2023
1 parent bcaba00 commit b5da159
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PyCall"
uuid = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
authors = ["Steven G. Johnson <[email protected]>", "Yichao Yu <[email protected]>", "Takafumi Arakaki <[email protected]>", "Simon Kornblith <[email protected]>", "Páll Haraldsson <[email protected]>", "Jon Malmaud <[email protected]>", "Jake Bolewski <[email protected]>", "Keno Fischer <[email protected]>", "Joel Mason <[email protected]>", "Jameson Nash <[email protected]>", "The JuliaPy development team"]
version = "1.95.1"
version = "1.95.2"

[deps]
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
Expand All @@ -13,7 +13,7 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
VersionParsing = "81def892-9a0e-5fdd-b105-ffc91e053289"

[compat]
Conda = "1.0"
Conda = "1.9"
MacroTools = "0.4, 0.5"
VersionParsing = "1.0"
julia = "1.4"
Expand Down
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ try # make sure deps.jl file is removed on error

use_conda = dirname(python) == abspath(Conda.PYTHONDIR)
if use_conda
Conda.add("numpy")
Conda.add("numpy"; satisfied_skip_solve=true)
end

(libpython, libpy_name) = find_libpython(python)
Expand Down

2 comments on commit b5da159

@stevengj
Copy link
Member

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/85755

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.95.2 -m "<description of version>" b5da159a55dfca2ffda7d4f52aef6972b95b0844
git push origin v1.95.2

Please sign in to comment.