Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
0aaf5ff2
Commit
0aaf5ff2
authored
4 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[build] Fix assertion
parent
0ccf78f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!160
Fix base_build() with a proper support for multi-package-building through conda-build
Pipeline
#40145
failed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/build.py
+9
-8
9 additions, 8 deletions
bob/devtools/build.py
with
9 additions
and
8 deletions
bob/devtools/build.py
+
9
−
8
View file @
0aaf5ff2
...
@@ -815,14 +815,15 @@ if __name__ == "__main__":
...
@@ -815,14 +815,15 @@ if __name__ == "__main__":
paths
=
get_output_path
(
metadata
,
conda_config
)
paths
=
get_output_path
(
metadata
,
conda_config
)
# asserts we're building at the right location
# asserts we're building at the right location
assert
path
.
startswith
(
os
.
path
.
join
(
args
.
conda_root
,
"
conda-bld
"
)),
(
for
path
in
paths
:
'
Output path for build (%s) does not start with
"
%s
"
- this
'
assert
path
.
startswith
(
os
.
path
.
join
(
args
.
conda_root
,
"
conda-bld
"
)),
(
"
typically means this build is running on a shared builder and
"
'
Output path for build (%s) does not start with
"
%s
"
- this
'
"
the file ~/.conda/environments.txt is polluted with other
"
"
typically means this build is running on a shared builder and
"
"
environment paths. To fix, empty that file and set its mode
"
"
the file ~/.conda/environments.txt is polluted with other
"
"
to read-only for all.
"
"
environment paths. To fix, empty that file and set its mode
"
%
(
path
,
os
.
path
.
join
(
args
.
conda_root
,
"
conda-bld
"
))
"
to read-only for all.
"
)
%
(
path
,
os
.
path
.
join
(
args
.
conda_root
,
"
conda-bld
"
))
)
# retrieve the current build number(s) for this build
# retrieve the current build number(s) for this build
build_numbers
=
[
build_numbers
=
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment