Skip to content

Commit

Permalink
Install exact python dependency versions, and bump ThermalNetwork ver…
Browse files Browse the repository at this point in the history
…sion (#457)

* expect new version of ThermalNetwork

* install exact python dependency versions, not fuzzy
  • Loading branch information
vtnate authored Mar 15, 2024
1 parent aa98722 commit 3fa57a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example_files/python_deps/dependencies.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{ "name": "ThermalNetwork", "version": "0.2.3"},
{ "name": "ThermalNetwork", "version": "0.2.4"},
{ "name": "urbanopt-ditto-reader", "version": "0.6.3"},
{ "name": "NREL-disco", "version": "0.5.0"},
{ "name": "geojson-modelica-translator", "version": "0.6.0"}
Expand Down
2 changes: 1 addition & 1 deletion lib/uo_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ def self.install_python_dependencies
if dep[:version].nil?
the_command = "#{pvars[:pip_path]} install #{dep[:name]}"
else
the_command = "#{pvars[:pip_path]} install #{dep[:name]}~=#{dep[:version]}"
the_command = "#{pvars[:pip_path]} install #{dep[:name]}==#{dep[:version]}"
end

if @opthash.subopts[:verbose]
Expand Down

0 comments on commit 3fa57a1

Please sign in to comment.