Skip to content

Commit

Permalink
Fix env.out report generation failure issue (#481)
Browse files Browse the repository at this point in the history
Co-authored-by: Ruinong Tian <[email protected]>
  • Loading branch information
TRNWWZ and Ruinong Tian authored Oct 1, 2024
1 parent cb74ba9 commit 97898c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/package_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _get_package_versions_in_upstream(target_packages_match_spec_out, target_ver
x["version"] for x in package_metadata if x["version"].startswith(package_major_version_prefix)
][-1]
else:
package_minor_version_prefix = ".".join([str(package_version.major), str(package_version.minor)]) + "."
package_minor_version_prefix = ".".join([str(package_version.major), str(package_version.minor)])
latest_package_version_in_conda = [
x["version"] for x in package_metadata if x["version"].startswith(package_minor_version_prefix)
][-1]
Expand Down

0 comments on commit 97898c0

Please sign in to comment.