- Fix a couple issues in the
virtual_specs
feature (setCONDA_PKGS_DIRS
formicromamba
, do not rely on$BATCH
for PKG, update the Windows example). (#843)
- @jaimergp
- Fix typo in pyproject.toml package data. (#839)
- @marcoesters
- Prevent error on Windows where the text-based images cannot be generated because the TrueType font cannot be loaded. (#837)
- @jaimergp
- A new setting
virtual_specs
allows the installer to run some checks before the installation proceeds. Useful for checking whether certain virtual package versions or system requirements can be satisfied. (#809) - Add option to output hashes of installer files. (#816)
- Merge
setup.*
files intopyproject.toml
. (#829)
- Add setuptools to recipe host requirements. (#829)
- @jaimergp
- @marcoesters
- Fix
channels_remap
sanitization when included as part of an item inextra_envs
. (#808) - Fix a regression in the PKG installers where the installer would fail if
~/.conda
did not exist before trying to fix the directory permissions. (#820)
- Clarify that channels must be passed as URLs in
channels_remap
. (#808)
- Mention
conda/conda-standalone
repository as a source for conda-standalone downloads in relevant error messages. (#808)
- @jaimergp
- Add support for AzureSignTool to sign Windows installers. (#767 via #771 and #792)
- Fix ownership of files created by the PKG installer outside of
$PREFIX
. (#784)
- Change wording for shortcut creation on Windows. (#785)
- Automatically create issues when tests fail after pushing to
main
or creating tags. (#775 via #776 and #778) - Configure repository to use dependabot and update dependencies. (#786 via #787)
- @jaimergp
- @marcoesters
- In SH installers, error early if available disk space for chosen installation path is insufficient. (#749 via #751)
- Do not render progress bars when SH installers are run with
-b
(batch). (#756 via #757) - Add a new
--config-filename
argument to specify an input file not namedconstruct.yaml
. (#727 via #758)
- Clarify environment variables role in
default_prefix
and friends on Windows. (#748 via #750) - Add some tips for debugging the creation and execution of
constructor
-made installers. (#752)
- Adjust metadata to require Python 3.8 or above, as needed by 3.6.0. (#747)
- @jaimergp
- @millsks
- Add support for
menuinst
v2, which extends shortcut (menu items) creation from Windows to Linux and macOS. Seemenuinst
documentation for more information. Note that this feature requiresconda-standalone 23.11.0
or later.micromamba
doesn't support v2-style menu items yet. (#474, #743) - Add support for
ruamel.yaml
0.18 API. (#729 via #739) - Add
pkg_domains
setting to allow customization of thedomains
attribute inPKG
installers. (#731 via #744)
- Unix installers now bundle conda-standalone (or micromamba) as
_conda
, instead ofconda.exe
. (#741 via #474)
- @jaimergp
- @marcoesters
- Add support for the
register_envs
option. (#705 via #716) - Add new option
script_env_variables
. Allows defining environment variables inconstruct.yaml
for use by pre- and post-install scripts. (#718)
- Fix imports and skips for constructor tests. (#709)
- Fix a regression in the license prompt on SH installers to require a explicit answer instead of defaulting to
no
on Enter. (#721 via #722)
- Test
conda-standalone
canaries in CI. (#711) - Clarify consequences for when
conda init
is run during the installation. (#713) - Log which subprocesses are run in
osxpkg
. (#715)
- @jaimergp
- @jlstevens
- @marcoesters
- @m-kuhn
- @m-kuhn made their first contribution in #710
- Support both
.yaml
and.txt
files in theenvironment_file
key. This enables support for explicit lockfiles (.txt
). (#477)
- Ensure conda metadata is accurate when installers are created from existing environments. (#477)
- On Windows installers, only insert
conclusion_file
if the extension is.nsi
. Ignore otherwise. Also prevents a double final page. (#700 via #701) - Skip imaging tests if not Windows or MacOS to avoid import errors. (#702)
- Document generic uninstall mechanisms for all operating systems. (#698)
- Prohibit parentheses in
$INSTDIR
. (#699) - Ensure requirements are in sync across different sources (
setup.py
, conda recipe, feedstocks). (#703)
- @jaimergp
- @marcoesters
- @mcg1969
- @pre-commit-ci[bot]
- Add compatibility for the new repodata interface in conda 23.5. (#676)
- The Windows uninstaller will check the registry for
$INSTDIR
before deleting hardcoded registry keys. (#684)
- URLs in generated
envs.txt
will now use the correct URL given inchannel_remap
, instead of the incorrect, installer-build-time only value. (#654 via #656) - Fix conda 23.1 incompatibilities when writing repodata.json files.
This doesn't guarantee compatibility with
conda-standalone 23.x
, though. (#628 via #659). - Improve parsing of
yes/no
prompts in SH installers. (#664) - Ensure error mesage is emitted when
$HOME
is not writable in shell installers. (#669) - In
.sh
installers, use/opt/NAME
as the default prefix when$HOME
is not set. (#677 via #678) - Adjust
@EXPLICIT
input file so thatmicromamba
correctly finds the cache entries of transmuted packages. (#674 via #692) - Prevent Windows uninstallers from deleting directories that do not correspond to the installation directory. (#696)
- Fix "Edit Source Link" references and other minor corrections. (#652)
- Document the CLI flags used by the installers generated with
constructor
. (#663)
- Drop
ruamel_yaml
and useruamel.yaml
instead. (#633 via #660) - Windows: Always warn when installing into a path with spaces. (#665)
- Refactor
run_examples.py
astest/test_examples.py
so it usespytest
. (#641 via #675) - Nightly builds will be uploaded to the
conda-canary
channel. (#612 via #675)
- @dlmiles
- @deepeshaburse
- @jaimergp
- @jezdez
- @marcoesters
- @RahulARanger
- @EisW
- @conda-bot
- @pre-commit-ci[bot]
- @RahulARanger made their first contribution in #652
- @EisW made their first contribution in #656
- @pre-commit-ci made their first contribution in #667
- @marcoesters made their first contribution in #664
- @deepeshaburse made their first contribution in #663
- @dlmiles made their first contribution in #669
- Fix interactive installation in Linux and macOS by ensuring user default is initialized. (#635 via #636)
- Protect all user setable variables in .sh installers against variable substitution. This allows
$
signs as part of the license/conclusion/name/version text without causing unexpected$1: unbound variable
errors. (#635 via #638)
- Add documentation for
--platform
argument, listing out available options. (#620)
- Improve CI reliability by installing NSIS with logging support via conda instead of getting it from sourceforge and manually extracting it. (#631 via #632)
- Test some .sh installers in interactive mode to test the interactive code path of the header.sh. (#637 via #638)
- Report example runs as integration coverage. (#639)
- @dbast
- @JoelStansbury
- @hmaarrfk
- Burn-in constructor version into installers to be able to better support faulty installers. (#604 via #626, #630)
- Approach
pre_install
scripts more carefully on Windows. Dummy scripts will not be included unless specified by the installer creator. NSIS will try to findcmd.exe
in some expected locations before blindly relying onPATH
. (#621 via #622)
- Switching from print statements to logging. Log levels, filtering, custom formatting strings etc. allow much more verbose and frequent messaging to follow the program flow in case of regular usage and also debugging and development. (#609, #630)
- Add + apply isort via pre-commit (#619)
- Speedup unit tests by factor 5. (#625)
- Add upper conda version bound as with conda >=23.1.0 the local repodata format has changed and
write_repodata()
has to be updated. See #628 for details. (#627)
- @dbast
- @jaimergp
- Fix regression introduced in #558, where
post_install
scripts were silently ignored on Windows. Affects v3.4.0. (#576 via #614) - Remove duplicate CI for docs. (#613 via #615)
- @dbast
- @jaimergp
- Installers support spaces in
PREFIX
now. Old behaviour (reject chosen path if it contained spaces) is still default. Opt-in by settingcheck_path_spaces
toFalse
. (#449) - Windows (un)installers can be signed using the new
signing_certificate
option (#475) - Users can now add arbitrary files to the installer using the
extra_files
keyword. (#465 via #500) - Added two new keys,
initialize_conda
andregister_python
, to control whether these options should be offered in the installer or not. (#507) - Add support for multi-environment installs via
extra_envs
keyword (#359 via #509, #553, #599) - Enable alternative solvers by obeying
CONDA_SOLVER
if set and available. (#531, #597) - PKG installers now default to the macOS logging system to log messages.
UI notifications can be enabled with
progress_notifications
(off by default). (#535) - The graphical macOS installer now also displays the version number of the software in the window title. (#536)
- Enable
conclusion_text
on Windows.exe
and Unix.sh
installers (#443 via #547 and #550). - All installers support pre- and post-install scripts and expose the same environment variables:
PREFIX
,INSTALLER_NAME
,INSTALLER_VER
,INSTALLER_PLAT
,INSTALLER_TYPE
. Thepre_install_desc
key is now available, fulfilling the same role aspost_install_desc
(#556 via #558) - Bypass the solver by using an
@EXPLICIT
input file forconda install
commands. (#541 via #559) - cache files have correct creation and modification timestamps for
mamba which looks at the timestamp instead of the
_mod
value in the cache json (#579). - Windows GUI installer enhancement to allow for additional custom pages. These new pages can be added after the welcome page and before the conclusion. These extra pages can display text, links, and images. Such pages can be useful in providing additional instructions, guidance, or promotional materials for end-users before they begin using the application they just installed. (#590)
- A new key
build_outputs
allows to generate extra artifacts besides the installer, like JSON metadata files, solved environments lock files, or licensing reports (#595, #602). - Improve and publish the documentation to
conda.github.io
. (#437, #598) - header.sh and osx scripts hardening by adding
set -eu
(sh) /set -euo pipefail
(bash) and fixing all shellcheck findings. Shell scripts don't stop per default when commands finish with an error causing masked errors and undefined behaviours.set -e
changes that behaviour by stoping in all cases where errors happen enabling better error reports on the actual error. If an error should be ignored then a command can be run via$cmd || true
. Two test cases running shellcheck ensure that future changes get tested. (#600)
- Check
makensis.exe
exit code in verbose mode too (#453 via #475) - Fix constructor failures when the repo/subchannel only has
noarch
packages. (#512) - Fix logging error that would make
constructor
crash ifverbose
mode was enabled. (#534) - Hardcode paths to Apple tools (
productbuild
,productsign
,codesign
) to avoid using other tools with the same name in PATH. (#543) - Prevent
pre_uninstall.bat
script from being deleted accidentally on cache clearing. (#514) - Shortcuts will be removed in installations that do not require
conda
(#461) - Freshly created download directories are now guaranteed to be writable (#411)
- Windows CI now correctly detects installation problems (#551 and #560)
- Restore the ability to use
exclude
without solving issues. (#319 via #559) - Restore the ability to use force reinstall without solving issues. (#456 via #559)
- Fix env.txt indendation to be parsable by mamba again. (#592)
- Fix compatibility with NSIS 3.08 (#526 via #563)
- Make sure
cmd
calls in the Windows uninstaller use/D
for added resilience against Registry issues (#566) - Fix tests that check for the presence of the
tk
package in a given environment (#570) - (For Windows only) Fix for CVE-2022-26526. Installations for "All Users" will not be allowed the option to modify the system PATH environment variable during installation. Installations for "Just Me" will still be allowed the option to add the installation to their PATH environment variable. Additionally, when installing with Administrator privileges, non-admin system Users will no longer have “Write” permissions. (#584)
- Ensure shell installers are POSIX compliant. (#596 via #599)
- Add tests for
--conda-exe=<micromamba>
and fix found issues on Linux and macOS. Not supported on Windows yet. (#503, #605)
- Officially require Python>=3.7 via
setup.py
. Older Python versions are EOL and not part of the test matrix since #479. (#606, #610)
- Improved documentation for
post_install
scripts (#537)
- Removes the usage of
conda._vendor.toolz
(#525) - Removed Maxiconda constructor example and updated Miniconda and Jetsonconda READMEs (and several scripts) to not contain references to Maxiconda anymore. (#470)
- Improve documentation for local channels on Windows (#483 via #564)
- Ensure
CONSTRUCT.md
is up-to-date withconstruct.py
(#564) - Remove fragile and unnecessary cleanup steps from CI pipeline (#565)
- Run Windows uninstallers as part of the examples CI (#569)
- Ensure shell installers are POSIX compliant (#599)
- @AndrewVallette
- @bryan-hunt
- @dbast
- @isuruf
- @jaimergp
- @jezdez
- @kathatherine
- @kenodegard
- @nsoranzo
- @pseudoyim
- @hoechenberger
- @ryanskeith
- @travishathaway
- @conda-bot
- @guimondmm
-
Fix building examples in CI. (#502, #504, #505)
-
Fix truncated Python version if minor has two digits on Windows, e.g. "3.10". (#506)
- Initialize mamba (if it exists), too. (#462)
- Add support for Python 3.9 and 3.10. (#479)
- Add an example that uses shortcuts. (#481)
- Expose the installer metadata to pre/post install scripts
as environment variables
INSTALLER_NAME
,INSTALLER_VER
andINSTALLER_PLAT
. (#491)
- Fixes for transmuting packages and generating repodata. (#489)
- Include cache metadata on the first line of the repodata cache. (#490)
- Fix
constructor.conda_interface
to handle alpha, beta, rc versions. (#496)
- Drop support for Python 2.7 and 3.6. (#479)
-
CI: Run examples outside conda build to upload installers as artifacts for local testing (#498)
-
Added project board, issue staleness, thread locking and label automation using GitHub action workflows to improve maintenance of GitHub project.
More information can be found in the infra repo: https://github.com/conda/infra
-
Common:
- Fix crashes due to pyyaml >= 6 deprecating automatic use of SafeLoader; it is now safe to run constructor with pyyaml >= 6 #473
-
Shell:
- Extract pre-conda before extracting conda packages #450
- Add tests for header template preprocessing and fix initialize by default #459
-
PKG:
- Unset DYLD_FALLBACK_LIBRARY_PATH in header on macOS; installer now works with bash >= 5.1.4 #472
-
NSIS:
- Use nsExec:Exec to remove files and folders instead of using a python subprocess, which fails when removing files still being used #467
- Add option to disable creation of start menu shortcuts and generally fix shortcut creation #455, #466
-
Common:
- Fixed bug in platform selector regex parsing that was incompatible with using jinja-templated env vars and platform selectors on the same line #428
- New option in construct.yaml (
batch_mode
) to make passing the-b
flag the default option #440 - New option in construct.yaml (
check_path_spaces
) to suppress the "Destination Folder contains spaces" warning on Windows #431 - Duplicate package files found at environment creation during build on Windows now raises a warning rather than crashing #435
-
Shell:
- aarch64 installer now properly checks if system is aarch64 #441
-
PKG:
- Initialize all shells post-install on OSX #444
-
NSIS:
- change the default prefix for domain user to
%LOCALAPPDATA%
and the optiondefault_prefix_domain_user
to set its default value #415 - Fix default installation folder all users and add option
default_prefix_all_users
to set its default value #419 - Partial fix for removing menu shortcut of other distributions when uninstalling #420
- Fix a typo in informational message #424
- Support for custom
nsis_templates
through thensis_template
variable. #423
- change the default prefix for domain user to
-
COMMON:
construct.yaml
file now reads environment variables during the Jinja2 parsing stage. Env vars can be included like:{{ environ["ENV_VAR"] }}
(#413).- Fixed bug where constructor crashed if a listed spec was in a noarch-only channel (i.e. without a subdir for the specific platform) (#409).
- Avoid adding newly installed environment to the list of global conda environments if conda isn't included in the installer itself. (#372)
-
SHELL:
- The user-shell initialisation phase of the installer is no longer included in the install script if there is no conda available in the installed environment.
- The "test" option is only available if conda is installed in the environment. Previously this would fail in this situation.
-
COMMON:
- New platform selectors: s390x, osx-arm64
- Added the ability to build installers from an existing, instantiated environment or an environment.yml spec.
- Added conda_channel_alias and condarc options to allow more complete customization of the installed .condarc
- Added options to all install types to preserve the package cache after installation
- Migrated CI to GitHub Actions and added installation/ unpack testing of generated installers
-
SHELL:
- Pre- and post-install scripts are now executed directly
if a shebang is present; otherwise they are run by the
POSIX shell
sh
.
- Pre- and post-install scripts are now executed directly
if a shebang is present; otherwise they are run by the
POSIX shell
-
NSIS:
- Support for pre-install script
- Added the ability to check if the path length is longer than 46 characters, so that nodejs package contents will not exceed a path length of 260 characters.
-
PKG:
- Added an "all" installer type option to support building both .pkg and .sh installers with a single commmand
- COMMON:
- Add dependency on standalone conda executable
- COMMON:
- this utilizes a fundamentally different approach from before. A standalone conda executable (created with pyinstaller) is used to create environments from packages that are shipped with the installers. This allows full support for everything that is supported by the standalone conda. It does add some complexity in terms of menu creation and other operations that rely on knowing whether the env in use (the temporary env for the standalone exe) is the base env. Let's call those prefix-based operations.
-
COMMON:
- Drop redundant code in install.py
- Fix bug in size computation for pkgs built with older conda build
-
NSIS:
- Allow configuring the uninstaller name
- Always pass absolute path to makensis
-
SHELL:
- Add new line to bash config before modifying it
-
COMMON:
- Refactor constructor internals to use conda 4.5.x APIs
- Create and add
<pkg>/info/repodata_record.json
for each $pkg to preconda - Use 'conda init' equivalent for modifying bashrc/bash_profile
- Rename parameter
add_to_path_default
toinitialize_by_default
-
NSIS:
- Replace hardcoded 'Anaconda' with ${NAME}
- Disallow ',' character in the installation path
- Check if $INSTDIR is writable before proceeding to install
-
PKG:
- Fix wording in installer README
-
NSIS:
- Don't fail when index cache is empty (local channels)
-
SHELL:
- Fix wording for force/update on an existing installation
-
COMMON:
- Populate conda-meta/history file properly
- Remove references to free channel
- Replace references to continuum.io with anaconda.com
- Officially drop support for 'packages' key
- Fix compatibility with newer version of ruamel.yaml
-
NSIS:
- Disallow ^, %, ! and = characters in the installation path
- Restrict PATH env variable to a minimal required set
-
PKG:
- Add fix for marking .app bundles non relocatable
- COMMON:
- Fix incompatibility with conda 4.5.x
- Decouple doc generation from source code, templatize it
-
COMMON:
- Document platform selectors and new keys
- Drop usage of libconda
- Improve compatibility with Conda 4.4
- Don't assume that attempt_hardlinks is always defined
- Fix double use of info as different types
-
NSIS:
- Append suffix to GetTempFileName() before using it
-
PKG:
- Change ownership back to $USER after updating dot profile
-
SHELL:
- Add more os, arch checks to the shell installer
- COMMON:
- Add CI testing for Travis and Appveyor
- Write basic system info to $PREFIX\pkgs.constructor-build.info
- Ignore folders in tarballs while checking for duplicates
- Ensure approx_pkgs_size_kb is an integer
- Fix broken tests
-
COMMON:
- Add support for channel remapping
- Make sure $PREFIX/envs is created by the installers
- Fallback to cat if more is not available
- Allow company name to be specified in construct.yaml
- Add feature to check file duplicates across dists
- Switch requirements to conda, ruamel_yaml
- Add write_condarc option
- Don't assume that channel keys will always be available
- Parameterize installer name at various locations
- Add support for pre-populating repodata cache
- Introduce 'attempt_hardlinks' option
- Copy pkgs to conda-bld (local) channel and test from there
- Also add channels to .condarc
- Remove urljoin import
- Fix bug when downloading packages
- Prefer conda via conda_interface instead of libconda
- Add dry run option
- Switch to setuptools
- Remove eval from setup.py, use absolute paths
- Add customization for welcome and header image texts
- Add support and examples for aarch64
- Add basic jinja2 support
-
NSIS:
- Compute an approx. size for installation
- Allow more than one vsXXXX runtime, but warn
- Fix registry key handling
- disallow installation when any files present in destination folder
- Fix 'all users/just me' installation handling
- Parameterize installation location for all users
- Improve spaces/non-ascii/unicode character handling in nsis installer
- Extract python and DLLs to %PREFIX%/%randomdir and ./.install from there
- Fix several aspects of PATH env var management
- Fix wording in Windows installer
- Change AddToPath to not be the default
- Add support for command line installation for Windows
- Use ctypes for creating hard links on win
- NSIS: Copy index cache directory
- Fix issue when using conda to solve on windows
- Add ability to make nsis verbose
- Remove menus of all conda envs during uninstall
- Add ability to provide defaults for custom options
-
PKG:
- Add support for signing the pkg installer
- Flip enable_{anywhere,localSystem}
-
SHELL:
- Warn user if PYTHONPATH env var is set
- Handle spaces in path to be patched
- Compress non tarball files into preconda.tar.bz2
- Standardise header.sh redirects
- Add -t option to test the installer
- Use getopt if available, fallback to getopts
- Add more tests for RUNNING_SHELL
- Remove bashisms from header.sh, using only POSIX, split tar and bunzip2
- add support for creating .pkg installers on OSX, #98
- ???
- proved access to LD_LIBRARY_PATH in Linux install scripts by storing it as OLD_LD_LIBRARY_PATH
- replace '//' by '/' for install.py --root-prefix option
- turn error about wrong menu_packages into warning
- add warning to shell installers when bzip2 is not executable
- skip binary prefix replacement on Windows, #62
- add writing empty conda-meta/history upon installation
- update Visual Studio version map to with with Python 3.6 on Windows
- add unicode line, update version comment, #61
- add --clean (cache) option
- unlink files prior to writing with a new prefix, #58
- fix test against NSIS 3.01
- add --cache-dir option, which defaults to CONSTRUCTOR_CACHE when set, or ~/.conda/constructor otherwise
- fix typo
- add -u (update) option to resulting .sh installer, see #46
- allow '-' character in version
- add simple check for valid name and version
- add menu_packages key in construct.yaml
- add -s option to shell installer to run without executing user-defined scripts, basically #44
- allow NSIS 3 to be used to Windows
- add support for 'noarch' packages
- bug: allow '-' in package name, when using 'exlcude' key
- add pkgs/urls.txt to be compatible with current conda
- add 'md5' and 'installed_by' keys to conda-meta/.json metadata for installed packages
- add ability to run
post-link
scripts (inside conda packages) on Windows - add ability to run post install
.bat
scripts on Windows - improve install logic on Unix, replace post.py by custom install.py, which is independent of conda
- remove dependency on conda, we now use libconda, which also means that constructor can be installed into a non-root environment
- compatibility with conda 4.1, see #26
- include urls.txt in the pkgs, #27
- skip machine type check in batch mode (Unix)
- ensure empty lists are handled correctly with selectors
- add keep_pkgs option to construct.yaml
- add support for pre and post install scripts on Unix
- fix issues related to non x86 platforms
- add default_prefix support for Windows, see #7 and #14
- initial release