Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support split packages #1410

Closed
wants to merge 227 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
ccdb5ab
Remove rather than assert on rpaths outside prefix
mingwandroid Sep 16, 2016
c70d9ed
add conda_versions info file to record build-time vers of conda, c-b
msarahan Sep 27, 2016
b805658
add initial test files to guide development
msarahan Sep 28, 2016
f7cea46
convert popen args to bytestrings if unicode
msarahan Sep 28, 2016
c2e1116
fix perl file access error on win skeleton cpan
msarahan Sep 28, 2016
e9378ba
Refactor code that copies site-packages
soapy1 Sep 13, 2016
0e9e4fd
Remove pyc file if building a noarch package
soapy1 Sep 13, 2016
6ca9cb8
Treat noarch_python and noarch: python similar
soapy1 Sep 14, 2016
213c616
Check is noarch: python
soapy1 Sep 14, 2016
7798f6e
Don't create in link script, Scripts or bin folder
soapy1 Sep 14, 2016
8aec41d
Write info file when building noarch: python
soapy1 Sep 14, 2016
1bc5360
Post process noarch packages
soapy1 Sep 14, 2016
207bf11
Test noarch: python package building
soapy1 Sep 16, 2016
bc881ce
Add all files to file
soapy1 Sep 16, 2016
a0bf051
Don't create entry points for noarch package
soapy1 Sep 19, 2016
4e3d3d6
Refactor entry point information
soapy1 Sep 20, 2016
55e3c96
Extract check for noarch python into a function
soapy1 Sep 26, 2016
d6fb6bf
Test noarch python package building
soapy1 Sep 26, 2016
951e6f8
Refactor check for noarch python
soapy1 Sep 26, 2016
8892208
Don't include cli scripts in noarch packages
soapy1 Sep 26, 2016
767e298
Write true structure of noarch package to files
soapy1 Sep 29, 2016
5025946
post: catch patchelf failures
mingwandroid Sep 30, 2016
d001570
Merge pull request #1413 from msarahan/fix_patch_file_unicode
msarahan Sep 30, 2016
71273ed
Merge pull request #1414 from msarahan/fix_perl_win_access
msarahan Sep 30, 2016
111a4d8
Get entry points form setup.py
soapy1 Sep 29, 2016
3c43979
Don't write entry points to info/files
soapy1 Sep 30, 2016
d6909a0
Don't link entry points
soapy1 Sep 30, 2016
c33dd6e
Make more compatible with Windows
soapy1 Sep 30, 2016
69f7c6a
Merge pull request #1418 from mingwandroid/patchelf
msarahan Sep 30, 2016
2397524
fix path walking in get_ext_files
msarahan Oct 1, 2016
a238e09
Explain xfail
soapy1 Oct 3, 2016
821a605
Merge pull request #1422 from msarahan/fix_root_in_walk
msarahan Oct 3, 2016
83fd2d0
Merge pull request #1366 from soapy1/noarch-python-copy-files
msarahan Oct 3, 2016
e413259
update changelog for 2.0.3
msarahan Oct 3, 2016
4ceccd5
make subdir a derived property. test.
msarahan Oct 4, 2016
92026e8
fix regression in pypi skel for recipes with entry points. test.
msarahan Oct 4, 2016
2c5d62a
Merge pull request #1427 from msarahan/subdir_from_platform
msarahan Oct 4, 2016
1f8f999
don't load setup.py data when meta.yaml entry points present
msarahan Oct 5, 2016
6676fca
Add build/skip_compile_pyc option
mingwandroid Oct 5, 2016
b6a14e8
Merge pull request #1169 from mingwandroid/skip_compile_pyc
msarahan Oct 5, 2016
1128ea0
revert cython setup.py test
msarahan Oct 5, 2016
244d024
Merge pull request #1430 from msarahan/fix_pypi_entry_points
msarahan Oct 5, 2016
929c2a3
revert to supporting only meta.yaml entry points
msarahan Oct 5, 2016
073a4a0
fall back to copying fewer attributes if copy fails with OSError
msarahan Oct 6, 2016
0214972
include more metadata, output to about.json
msarahan Oct 6, 2016
b1c3b46
Merge branch 'master' of github.com:conda/conda-build into conda_vers…
msarahan Oct 6, 2016
57c8993
make code more backwards compatible with older conda
msarahan Oct 6, 2016
ee5e3f2
post: Fixes and a test for fix_permissions
mingwandroid Oct 6, 2016
4a2af9c
Merge pull request #1437 from mingwandroid/fix_permissions
msarahan Oct 6, 2016
3fb4722
Merge pull request #1436 from msarahan/permissions_copy
msarahan Oct 6, 2016
d92e7f5
test sys_path_prepended, document it a bit; flake8
msarahan Oct 6, 2016
789ae7f
Merge branch 'master' of github.com:conda/conda-build into fix_setup_…
msarahan Oct 6, 2016
688dd3c
Merge branch 'master' of github.com:conda/conda-build into conda_vers…
msarahan Oct 7, 2016
4282fe4
Merge pull request #1431 from msarahan/fix_setup_py_path
msarahan Oct 7, 2016
73f5cb3
Merge branch 'master' of github.com:conda/conda-build into conda_vers…
msarahan Oct 7, 2016
5c18406
consolidate get_site_packages defines throughout (3->1)
msarahan Oct 7, 2016
d3223b5
try to speed up appveyor enough to pass
msarahan Oct 7, 2016
07e6fe0
turn off activation for many tests; use win del to delete trash
msarahan Oct 7, 2016
56c1c18
fix potential race condition with test_no_include_recipe_meta_yaml
msarahan Oct 7, 2016
13c6054
Merge pull request #1438 from msarahan/appveyor_speed
msarahan Oct 7, 2016
714c189
Merge pull request #1440 from msarahan/fix_develop_python_ver
msarahan Oct 7, 2016
c67c7fe
fix unicode json handling for extra conda info
msarahan Oct 7, 2016
f7929df
strip token in channel urls. test.
msarahan Oct 7, 2016
95ed58f
Merge branch 'master' of github.com:conda/conda-build into conda_vers…
msarahan Oct 7, 2016
eef13cb
fix stdlib error in get_stdlib_dir on win
msarahan Oct 7, 2016
bb12894
Merge pull request #1407 from msarahan/conda_versions
msarahan Oct 7, 2016
d09cabf
update changelog for 2.0.4
msarahan Oct 7, 2016
8ad19ff
Fix link to required testing repository in README
bryanwweber Oct 9, 2016
fe75dde
Add function to match a regex in a given file.
bryanwweber Oct 9, 2016
48e41a9
Add tests for regex matching
bryanwweber Oct 9, 2016
bb04949
Make load_file and regex_pattern arguments mandatory
bryanwweber Oct 10, 2016
ed7ec4f
Raise TypeError if load_file is not a file
bryanwweber Oct 10, 2016
730148c
Fix comment in source_regex test
bryanwweber Oct 10, 2016
0e0ce68
quote paths in activation of envs
msarahan Oct 11, 2016
82267cf
fix source re-copy (leading to IOError) with test as separate ste
msarahan Oct 12, 2016
4a6d725
replace distutils copy_tree with in-house. dirs were not being created.
msarahan Oct 12, 2016
431a5ab
prepend conda's PATH, in case it isn't on PATH already
msarahan Oct 12, 2016
50d0cc7
Merge pull request #1452 from msarahan/fix_source_redownload_with_test
msarahan Oct 12, 2016
9bde5d3
Merge pull request #1448 from msarahan/quote_activation
msarahan Oct 12, 2016
ab84fe5
add test for regex without from_recipe. Fixes from comments
msarahan Oct 13, 2016
9ace979
Merge pull request #1443 from bryanwweber/add-jinja-regex
msarahan Oct 13, 2016
7d91edd
provide full path to conda instead of path prepend. Fix win.
msarahan Oct 13, 2016
1bea52e
Merge pull request #1455 from msarahan/fix_conda_call_path
msarahan Oct 13, 2016
83045c6
fix version argument to skel pypi not working
msarahan Oct 13, 2016
701d6f4
change metadata test output filenames to avoid race conditions
msarahan Oct 13, 2016
507a096
Merge pull request #1457 from msarahan/fix_metadata_ci_issue
msarahan Oct 13, 2016
82dccc7
Merge pull request #1456 from msarahan/fix_skeleton_version_arg
msarahan Oct 13, 2016
01e4d3d
fix infinite recursion when missing dependency is R or python
msarahan Oct 13, 2016
f88c870
Merge pull request #1458 from msarahan/fix_recipe_recursion
msarahan Oct 13, 2016
ab78f21
release notes for 2.0.5
msarahan Oct 13, 2016
7fc115c
fix compatibility with conda 4.1.x
msarahan Oct 13, 2016
11ec63e
Merge pull request #1460 from msarahan/conda_41_compat
msarahan Oct 13, 2016
472836a
2.0.6 changelog
msarahan Oct 13, 2016
64a9a4a
fix metapackage not going through api build
msarahan Oct 19, 2016
1ba5154
Merge pull request #1470 from msarahan/fix_metapackage_build
msarahan Oct 19, 2016
d2c3dfe
restore script exe creation on windows
msarahan Oct 19, 2016
6b6c022
fix noarch value propagation from meta.yaml to config
msarahan Oct 19, 2016
119a623
Merge pull request #1472 from msarahan/fix_noarch_with_config_arg
msarahan Oct 19, 2016
5d4b97e
Merge pull request #1471 from msarahan/fix_script_exe_creation
msarahan Oct 19, 2016
7d1ed37
fix calls to subprocess not converting unicode to str
msarahan Oct 19, 2016
472497e
make subprocess argument conversion 'native' for each python
msarahan Oct 19, 2016
168f018
make list values more forgiving to be either strings or lists
msarahan Oct 19, 2016
87c4e11
fix noarch test (config arg needed to be passed with key)
msarahan Oct 19, 2016
120791c
Merge pull request #1473 from msarahan/fix_patch_argument_bytes
msarahan Oct 19, 2016
70ce724
Add SHLIB_EXT environment variable to the build
jschueller Oct 24, 2016
1c158fd
detect_binary_files_with_prefix: Add more testing
mingwandroid Oct 24, 2016
6a37f1c
Fix `build/detect_binary_files_with_prefix: false`
mingwandroid Oct 24, 2016
c37a475
extractfile doesn't have context management
msarahan Oct 25, 2016
e58be92
Merge pull request #1478 from jschueller/dyn_ext
msarahan Oct 25, 2016
fc27638
Merge pull request #1477 from mingwandroid/binary_prefix
msarahan Oct 25, 2016
5c39033
changelog 2.0.7
msarahan Oct 25, 2016
bbc06e6
otool -h header changed
minrk Oct 25, 2016
4f4cf76
Merge pull request #1479 from minrk/mach-header-changed
msarahan Oct 27, 2016
ee2f658
fix lists of empty strings created by ensure_list
msarahan Oct 31, 2016
c43e011
First commit - Move allowed_license_families to new package
Oct 31, 2016
4f302e7
First commit - Move allowed_license_families to new module
Oct 31, 2016
1450301
Update docstrings
Nov 1, 2016
f88651d
centralize locks for sharing within a process
msarahan Nov 1, 2016
ad3b296
Merge pull request #1493 from msarahan/fix_empty_patch
msarahan Nov 1, 2016
33174c5
use ExitStack, not nested for context managers (py3 compat)
msarahan Nov 1, 2016
09632f6
Split tests, added more which uncovered new special cases
Nov 1, 2016
b1a8648
fix overly broad regex for hg in uses_vcs_in_build
msarahan Nov 1, 2016
d7d7600
Merge pull request #1498 from msarahan/fix_overly_broad_hg_usage_check
msarahan Nov 1, 2016
995c9c3
fix recipe selector; fix url test
msarahan Nov 1, 2016
b858fa6
clarify error message when extracting egg dir fails due to existing f…
msarahan Nov 1, 2016
979ae42
Merge pull request #1496 from msarahan/centralize_locks
msarahan Nov 2, 2016
71918b6
Merge pull request #1500 from msarahan/egg_merge_error_clarification
msarahan Nov 2, 2016
8a24407
Fix failing test. Expected result was wrong..
Nov 2, 2016
6f13867
Merge pull request #1495 from caseyclements/fix/license_family
msarahan Nov 2, 2016
4338fd0
simplify locks - always folder locks. disable lock on build folder.
msarahan Nov 2, 2016
4ca2fda
Update to ensure_valid_license_family so that existing recipes don't …
Nov 2, 2016
6ec404f
Merge pull request #1503 from caseyclements/fix/license_family
msarahan Nov 2, 2016
698147b
fix bits being used where arch needed to be
msarahan Nov 2, 2016
3d598dc
fix win cli exe str format for arch
msarahan Nov 3, 2016
08beb7f
Merge pull request #1506 from msarahan/fix_arch
msarahan Nov 3, 2016
ae1b136
update changelog for 2.0.8
msarahan Nov 3, 2016
04d996b
add creation of intermediate folder for utils.copy_into
jhprinz Nov 4, 2016
bfe2546
fix potential empty path
jhprinz Nov 4, 2016
b69f0ef
Merge pull request #1511 from jhprinz/intermediate_folders
msarahan Nov 6, 2016
07245d1
break build string construction out into standalone function for exte…
msarahan Nov 6, 2016
2d0b118
Merge pull request #1513 from msarahan/build_string_separation
msarahan Nov 7, 2016
8b8950f
Use version info from config if exists
soapy1 Nov 7, 2016
022bb51
Merge pull request #1516 from soapy1/pypi-skeleton-args
msarahan Nov 7, 2016
ab5ba28
Enable users to verify recipes and packages when they build packages;
soapy1 Oct 22, 2016
4ab9e0d
Test verify module
soapy1 Oct 31, 2016
caded82
Test verify error
soapy1 Nov 1, 2016
2eb6873
Use conda context to ignore verify scripts
soapy1 Nov 2, 2016
71f1592
Use scripts for verify from verify package
soapy1 Nov 2, 2016
0ff6038
Verify recipes
soapy1 Nov 2, 2016
f2428ee
Extract function to run verify scripts
soapy1 Nov 2, 2016
2d3191d
Update tests
soapy1 Nov 2, 2016
7ae89da
Offload verification steps to verify module
soapy1 Nov 3, 2016
617d51d
Add anaconda-verify as a dependency
soapy1 Nov 3, 2016
cf026bb
Add config for whitelisting tests
soapy1 Nov 4, 2016
b4f8faa
Depend on conda_verify for verification
soapy1 Nov 7, 2016
fd3743a
Delete unused test
soapy1 Nov 8, 2016
6b40eb8
Merge pull request #1489 from soapy1/verify-packages
msarahan Nov 9, 2016
6a0e558
break symlink and copy file if symlink points to executable
msarahan Nov 11, 2016
ed361cc
shuffle symlink check above rpath replacement
msarahan Nov 11, 2016
75b0e18
update symlink copy comment per @mingwandroid
msarahan Nov 11, 2016
c845112
Merge pull request #1521 from msarahan/rpath_symlink_mess
msarahan Nov 11, 2016
e01eca8
fix perl version comparison sometimes being str-int uncomparable
msarahan Nov 11, 2016
2082be7
ignore broken symlinks in copying files
msarahan Nov 11, 2016
68915dd
Merge pull request #1522 from msarahan/cpan_version_string_compare
msarahan Nov 11, 2016
f2e65db
Merge pull request #1523 from msarahan/ignore_bad_symlinks
msarahan Nov 11, 2016
482e3ce
specify conda exe more specifically for Windows; it was not always be…
msarahan Nov 11, 2016
1f03a0d
Merge pull request #1525 from msarahan/conda_exe_name
msarahan Nov 11, 2016
7016ee8
changelog 2.0.9
msarahan Nov 11, 2016
84c3985
don't update all in travis yml, to avoid updating conda
msarahan Nov 12, 2016
bf4f8bb
make conda verify config use condarc and be more back compat
msarahan Nov 12, 2016
ce63802
Merge pull request #1528 from msarahan/condarc_backcompat
msarahan Nov 13, 2016
29db96a
changelog 2.0.10
msarahan Nov 14, 2016
f127925
Extract function for creating info/files.json
soapy1 Oct 27, 2016
8eaf372
Build files.json using the right file paths
soapy1 Nov 4, 2016
b854bed
More testing for files.json
soapy1 Nov 10, 2016
2e3c308
Update the contents of files.json
soapy1 Nov 11, 2016
36a3ce1
Fix tests
soapy1 Nov 11, 2016
ba8c7f3
Merge pull request #1501 from soapy1/files-json
msarahan Nov 14, 2016
c6a5260
Rename short_path to path in files.json
soapy1 Nov 14, 2016
ccef906
Merge pull request #1533 from soapy1/rename-short-path
msarahan Nov 16, 2016
2fcded8
support output-folder option; fix test using built-package
msarahan Nov 16, 2016
f51e8d5
Merge branch 'master' of github.com:conda/conda-build into support_ou…
msarahan Nov 16, 2016
bcec1af
fix test return values
msarahan Nov 16, 2016
3499abc
Allow `!` in package version
mingwandroid Nov 21, 2016
abf24cb
Merge pull request #1542 from mingwandroid/master
msarahan Nov 21, 2016
1847dd2
fix merge check for dst starting with src
msarahan Nov 21, 2016
0470e1d
Don't compute sha256 for folders
soapy1 Nov 21, 2016
1c9bbf2
Merge pull request #1544 from soapy1/dont-sha-files
msarahan Nov 21, 2016
ead9f88
pin requests to 2.11.1
msarahan Nov 21, 2016
31c4e23
Merge pull request #1538 from msarahan/support_output_folder
msarahan Nov 21, 2016
c9c2dd6
Merge branch 'master' of github.com:conda/conda-build into invalid_st…
msarahan Nov 21, 2016
235e3eb
Merge pull request #1546 from msarahan/invalid_startswith
msarahan Nov 22, 2016
cc21f98
use normpath when comparing utils.relative
msarahan Nov 22, 2016
a46965c
disallow softlinks for conda in conda-build
msarahan Nov 22, 2016
f2e4619
Merge pull request #1548 from msarahan/disallow_softlinks
msarahan Nov 22, 2016
0e6225c
Merge pull request #1547 from msarahan/normpath_rel_linux
msarahan Nov 28, 2016
ac9d969
support globs in prefix file functions
msarahan Nov 28, 2016
363d082
fix relative path issues with prefix globs
msarahan Nov 28, 2016
3f44d03
fix expand globs test
msarahan Nov 28, 2016
70142f5
Merge pull request #1554 from msarahan/prefix_file_globs
msarahan Nov 28, 2016
95bae03
decouple ignore_prefix_files from binary_relocation. Make latter acc…
msarahan Nov 28, 2016
ef69fc2
Merge pull request #1555 from msarahan/decouple_ignore_prefix_binary_…
msarahan Nov 28, 2016
2105fa0
changelog 2.0.11
msarahan Nov 28, 2016
122daf5
document extra package install for testing
msarahan Nov 28, 2016
39dfb9b
Whitelist the environment variable `MACOSX_DEPLOYMENT_TARGET`.
jakirkham Nov 29, 2016
e47c298
Merge pull request #1561 from jakirkham/whitelist_MACOSX_DEPLOYMENT_T…
msarahan Nov 30, 2016
a41ea60
Copy CONDA_PATH_BACKUP into build/test env.
mingwandroid Nov 29, 2016
3ff1f38
Merge pull request #1560 from mingwandroid/master
msarahan Nov 30, 2016
b80a66e
define nomkl selector when FEATURE_NOMKL env var not set
msarahan Nov 30, 2016
6ae13ba
move test removal of recipe until after test completes
msarahan Dec 3, 2016
00a9bbf
Merge pull request #1562 from msarahan/nomkl_selector
msarahan Dec 3, 2016
9e41cd8
Merge pull request #1563 from msarahan/move_test_recipe_rm
msarahan Dec 3, 2016
37dca7e
fix contextlib2 python 3 requirement
msarahan Dec 4, 2016
cee4b47
allow relative local paths as channels
msarahan Dec 4, 2016
67515a6
allow source_files in recipe check
msarahan Dec 11, 2016
50b05ff
Merge pull request #1572 from msarahan/source_files_in_check
msarahan Dec 12, 2016
0f9b1a6
fix appveyor requests and git checkout errors
msarahan Dec 12, 2016
166a9dc
Merge pull request #1565 from msarahan/relative_local_channels
msarahan Dec 12, 2016
bf14577
Merge pull request #1573 from msarahan/appveyor_fix
msarahan Dec 12, 2016
289037d
update changelog for 2.0.12
msarahan Dec 12, 2016
7342cbc
add initial test files to guide development
msarahan Sep 28, 2016
36857b5
implement package testing and uploading for split packages
msarahan Dec 13, 2016
c303293
fix glob expansion to expand dirs. Fix script interpreter autodetect…
msarahan Dec 13, 2016
6d2e79f
implement wheel bundling, fix up tests
msarahan Dec 14, 2016
cc1145a
Merge branch 'split_packages' of github.com:msarahan/conda-build into…
msarahan Dec 14, 2016
1f532f1
compute build prefix files difference for script mode of outputs
msarahan Dec 14, 2016
d3536c8
fix api build returning outputs; fix testing when recipe not included
msarahan Dec 14, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ matrix:
# env: CANARY=true
# os: linux
- python: '3.5'
env: FLAKE8=true
env: CONDA=4.1
os: linux
- python: '3.5'
env:
- FLAKE8=true
os: linux

install:
Expand All @@ -22,20 +26,24 @@ install:
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes
- conda config --set auto_update_conda False
- conda update -q --all
- if [[ "$CANARY" == "true" ]]; then
conda install -y -q -c conda-canary conda;
conda config --set always_yes yes;
else
if [ -n "$CONDA" ]; then
conda install -y --no-deps conda=${CONDA};
fi
fi
- conda install -q --force --no-deps conda requests
- conda install -q anaconda-client requests filelock jinja2 patchelf python=$TRAVIS_PYTHON_VERSION pyflakes=1.1

- conda install -q anaconda-client requests=2.11.1 filelock contextlib2 jinja2 patchelf python=$TRAVIS_PYTHON_VERSION pyflakes=1.1 conda-verify
- pip install pkginfo
- if [[ "$FLAKE8" == "true" ]]; then
conda install -q flake8;
else
conda install -c conda-forge -q perl;
conda install -q pytest pip pytest-cov numpy mock;
conda update -q --all;
$HOME/miniconda/bin/pip install pytest-xdist pytest-capturelog;
pushd .. && git clone https://github.com/conda/conda_build_test_recipe && popd;
fi
Expand Down
233 changes: 233 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,236 @@
2016-12-12 2.0.12:

Enhancements:
-------------

* Whitelist, rather than hardcode, MACOSX_DEPLOYMENT_TARGET. Default to 10.7 #1561
* Allow local relative paths to be passed as channel arguments #1565

Bug fixes:
----------

* Keep CONDA_PATH_BACKUP as allowed variable in build/test env activation. Necessary to make deactivation work correctly. #1560
* Define nomkl selector when FEATURE_NOMKL environment variable is not set #1562
* Move test removal of packaged recipe until after test completes #1563
* Allow source_files in recognized meta.yaml fields #1572

Contributors:
-------------

* @jakirkham
* @mingwandroid
* @msarahan


2016-11-28 2.0.11:
------------------

Enhancements:
-------------

* Further develop and update files.json #1501
* New command line option: ``--output-folder`` allows moving artifact after build (to facilitate CI) #1538
* support globs in `ignore_prefix_files`, `has_prefix_files`, `always_include_files`, `binary_has_prefix_files` #1554
* decouple `ignore_prefix_files` from `binary_relocation`; make `binary_relocation` also accept a list of files or globs #1555

Bug fixes:
----------

* rename `short_path` key in files.json to `path` #1501
* allow `!` in package version (used in epoch) #1542
* don't compute SHA256 for folders #1544
* fix merge check for dst starting with src #1546
* use normpath when comparing utils.relative (fixes git clone issue) #1547
* disallow softlinks for conda (>=v.4.2) in conda-build created environments #1548

Contributors:
-------------

* @mingwandroid
* @msarahan
* @soapy1

2016-11-14 2.0.10:
------------------

Bug fixes:
----------

* Fix backwards incompatibility with conda 4.1 #1528

Contributors:
-------------

* @msarahan


2016-11-11 2.0.9:
-----------------

Enhancements:
-------------

* break build string construction out into standalone function for external usage (Concourse CI project) #1513
* add conda-verify support. Defaults to enabled. Adds conda-verify as runtime requirement.
*

Bug fixes:
----------

* handle creation of intermediate folders when filenames provided as build/source_files arguments #1511
* Fix passing of version argument to pypi skeleton arguments #1516
* break symlinks and copy files if symlinks point to executable outside of same path (fix RPATH misbehavior on linux/mac, because ld.so follows symlinks) #1521
* specify conda executable name more specifically when getting about.json info. It was not being found in some cases without the file extension. #1525

Contributors:
-------------

* @jhprinz
* @msarahan
* @soapy1


2016-11-03 2.0.8:
-----------------

Enhancements:
-------------

* Support otool -h changes in MacOS 10.12 #1479
* Fix lists of empty strings created by ensure_list (patches failing due to empty patch list) #1493
* Improved logic to guess the appropriate license_family to add to package's index. This improves filtering. #1495 #1503
* Logic for the license_family is now shared between open-source conda-build, and proprietary cas-mirror packages. #1495 #1503

Bug fixes:
----------

* Centralize locks in memory to avoid lock timeouts within a single process #1496
* fix overly broad regex in detecting whether a recipe uses version control systems #1498
* clarify error message when extracting egg fails due to overlapping file names #1500
* fix regression where subdir was not respecting non-x86 arch (values other than 32 or 64) #1506

Contributors:
-------------

* @caseyclements
* @minrk
* @msarahan


2016-10-24 2.0.7:
-----------------

Enhancements:
-------------

* populate SHLIB_EXT environment variable. For example, .so, .dll, .dylib file extensions use this for their native ending. #1478

Bug fixes:
----------

* fix metapackage not going through api, thus not showing output file path. #1470
* restore script exe creation on Windows. These are for standalone scripts installed by distutils or setuptools in setup.py. #1471
* fix noarch value propagation from meta.yaml to config. Was causing noarch to not be respected in some cases. #1472
* fix calls to subprocess not converting unicode to str #1473
* restore detect_binary_files_with_prefix behavior - in particular, respect it when false. # 1477

Contributors:
-------------

* @jschueller
* @mingwandroid
* @msarahan


2016-10-13 2.0.6:
-----------------

Bug fixes:
----------

* fix erroneous import that was only compatible with conda 4.2.x #1460

Contributors:
-------------

* @msarahan


2016-10-13 2.0.5:
-----------------

Enhancements:
-------------

* Add new jinja function for extracting information from files with regular expressions #1443

Bug fixes:
----------

* Quote paths in activation of build and test envs #1448
* Fix source re-copy (leading to IOError) with test as a separate step #1452
* Call conda with an absolute path when gathering metadata for package about.json #1455
* Don't strictly require conda-env to be present for about.json data #1455
* Fix version argument to skeletons not being respected #1456
* Fix infinite recursion when missing dependency is either r or python #1458

Contributors:
-------------

* @bryanwweber
* @msarahan


2016-10-07 2.0.4:
-----------------

Enhancements:
-------------

* Add build/skip_compile_pyc meta.yaml option. Use to skip compilation on pyc files listed therein. #1169
* Add build environment metadata to about.json (conda, conda-build versions, channels, root pkgs) #1407
* Make subdir member of config a derived property, so that setting platform or bits is more direct #1427
* Use subprocess call to windows del function to clear .trash folder, rather than conda. Big speedup. #1438

Bug fixes:
----------

* fix regression regarding 'config' in pypi skeleton for recipes with entry points #1430
* don't load setup.py data when considering entry points (use only info from meta.yaml) #1431
* fall back to trying to copy files without attributes or metadata if those fail #1436
* Fix permissions on packaged files to be user and group writable, and other readable. #1437
* fix conda develop not respecting python version of target environment #1440

Contributors:
-------------

* @mingwandroid
* @msarahan


2016-09-27 2.0.3:
-----------------

Enhancements:
-------------

* add support for noarch: python #1366

Bug fixes:
----------

* convert popen args to bytestrings if unicode #1413
* Fix perl file access error on win skeleton cpan #1414
* Catch patchelf failures in post #1418
* fix path walking in get_ext_files #1422

Contributors:
-------------

* @mingwandroid
* @msarahan
* @soapy1

2016-09-27 2.0.2:
-----------------

Expand Down
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,15 @@ Testing
-------

Running our test suite requires cloning one other repo at the same level as conda-build:
https://github.com/conda/conda_build_test_repo - this is necessary for relative path tests
https://github.com/conda/conda_build_test_recipe - this is necessary for relative path tests
outside of conda build's build tree.

Additionally, you need to install a few extra packages:

.. code-block:: bash

conda install pytest pytest-cov mock

The test suite runs with py.test. Some useful commands to run select tests,
assuming you are in the conda-build root folder:

Expand Down
19 changes: 3 additions & 16 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ install:
- python -c "import sys; print(sys.version)"
- python -c "import sys; print(sys.executable)"
- python -c "import sys; print(sys.prefix)"
- conda install -q pip pytest pytest-cov jinja2 patch flake8 mock requests
- conda install -q pyflakes=1.1 pycrypto posix m2-git anaconda-client numpy
- conda install -c conda-forge -q perl
- conda update -q --all
- conda install -q pip pytest pytest-cov jinja2 patch flake8 mock requests=2.11.1 contextlib2
- conda install -q pyflakes=1.1 pycrypto posix m2-git anaconda-client numpy conda-verify
- conda install -c conda-forge -q perl
# this is to ensure dependencies
- python --version
- python -c "import struct; print(struct.calcsize('P') * 8)"
Expand All @@ -66,7 +66,6 @@ install:
# This is an extra repo that we clone for relative path entries
- cmd: pushd .. && git clone https://github.com/conda/conda_build_test_recipe && popd


# Not a .NET project, we build package in the install step instead
build: false

Expand All @@ -75,18 +74,6 @@ test_script:
- set PATH
- mkdir C:\cbtmp
- py.test -v --cov conda_build --cov-report xml tests --basetemp C:\cbtmp -n 2
# create a package (this build is done with conda-build from source, and does not test entry points)
- conda build conda.recipe --no-anaconda-upload -c conda-forge
# Create a new environment (with underscore, so that conda can be installed), to test entry points
- conda create -n _cbtest python=%PYTHON_VERSION%
- activate _cbtest
- conda render --output conda.recipe > tmpFile
- SET /p fn= < tmpFile
- DEL tmpFile
- conda install %fn%
- pip install filelock
# this build should be done using actual entry points from the package we built above.
- conda build conda.recipe --no-anaconda-upload -c conda-forge

on_failure:
- 7z.exe a cbtmp.7z C:\cbtmp
Expand Down
3 changes: 3 additions & 0 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ requirements:
build:
- python
run:
- conda-verify
- conda >=4.1
- contextlib2 [py<34]
- filelock
- jinja2
- patchelf [linux]
- pycrypto
- python
- pyyaml
- pkginfo
- enum34 [py<34]

test:
requires:
Expand Down
2 changes: 1 addition & 1 deletion conda_build/_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def create_script(fn):
with open(dst, 'w') as fo:
fo.write('#!%s\n' % normpath(sys.executable))
fo.write(data)
os.chmod(dst, 0o755)
os.chmod(dst, 0o775)
FILES.append('bin/%s' % fn)


Expand Down
Loading