Conan

Latest version: v2.9.3

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 49

2.3.2

Not secure
- Feature: New ``tools.microsoft:msvc_update`` configuration to define the MSVC compiler ``update`` even when ``compiler.update`` is not defined. Can be used to use ``compiler.version=193`` once VS2022 is updated to 17.10, which changes the default compiler to ``compiler.version=194``. (https://github.com/conan-io/conan/pull/16332)
- Bugfix: Allow default ``compatibility.py`` plugin to fallback from MSVC ``compiler.version=194->193`` and to other ``cppstd`` values. (https://github.com/conan-io/conan/pull/16346)
- Bugfix: Skip dot folders in local recipe index layouts. (https://github.com/conan-io/conan/pull/16345)
- Bugfix: Remove extra backslash in generated `conanvcvars.ps1`. (https://github.com/conan-io/conan/pull/16322)

2.3.1

Not secure
- Feature: Add GCC 13.3 support. (https://github.com/conan-io/conan/pull/16246). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3724)
- Feature: Allow opt-out for ``CMakeToolchain`` default use of absolute paths for CMakeUserPresets->CMakePreset and CMakePresets->toolchainFile path. (https://github.com/conan-io/conan/pull/16244). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3726)
- Fix: Fix config container name for Docker runner. (https://github.com/conan-io/conan/pull/16243)
- Bugfix: Make compatibility checks understand update flag patterns. (https://github.com/conan-io/conan/pull/16252)
- Bugfix: Solve bug with ``overrides`` from ``lockfiles`` in case of diamond structures. (https://github.com/conan-io/conan/pull/16235)
- Bugfix: Allow ``export-pkg --version=xxx`` to be passed to recipes with ``python_requires`` inheriting ``set_version`` from base class. (https://github.com/conan-io/conan/pull/16224)

2.3.0

Not secure
- Feature: Allow `*` wildcard as subsetting in in `rm_safe`. (https://github.com/conan-io/conan/pull/16105). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3697)
- Feature: Show recipe and package sizes when running `conan upload`. (https://github.com/conan-io/conan/pull/16103)
- Feature: Extend `conan version` to report current python and system for troubleshooting. (https://github.com/conan-io/conan/pull/16102). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3691)
- Feature: Add ``detect_xxxx_compiler()`` for mainstream compilers as gcc, msvc, clang. to the public ``detect_api``. (https://github.com/conan-io/conan/pull/16092). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3702)
- Feature: Add comment support for `.conanignore` file. (https://github.com/conan-io/conan/pull/16087)
- Feature: In graph `html` search bar now takes in multiple search patterns separated by commas. (https://github.com/conan-io/conan/pull/16083)
- Feature: In graph `html` added 'filter packages' bar that takes in multiple search patterns separated by comma and hides filters them from graph. (https://github.com/conan-io/conan/pull/16083)
- Feature: Add an argument `hide_url` to Git operations to allow logging of the repository URL. By default, URLs will stay `<hidden>`, but users may opt-out of this. (https://github.com/conan-io/conan/pull/16038)
- Feature: Allow ``.conf`` access (exclusively to ``global.conf`` information, not to profile information) in the ``export()`` and ``export_sources()`` methods. (https://github.com/conan-io/conan/pull/16034). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3703)
- Feature: Avoid copying identical existing files in ``copy()``. (https://github.com/conan-io/conan/pull/16031)
- Feature: New ``conan pkglist merge`` command to merge multiple package lists. (https://github.com/conan-io/conan/pull/16022). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3704)
- Feature: New ``conan pkglist find-remote`` command to find matching in remotes for list of packages in the cache. (https://github.com/conan-io/conan/pull/16022). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3704)
- Feature: Relativize paths in `CMakePresets` generation. (https://github.com/conan-io/conan/pull/16015)
- Feature: Add new ``test_package_folder`` attribute to ``conanfile.py`` to define a different custom location and name rather than ``test_package`` default. (https://github.com/conan-io/conan/pull/16013). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3705)
- Feature: New ``conan create --test-missing`` syntax to optionally run the ``test_package`` only when the package is actually created (useful with ``--build=missing``). (https://github.com/conan-io/conan/pull/15999). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3705)
- Feature: Add `tools.gnu:build_triplet` to conf. (https://github.com/conan-io/conan/pull/15965)
- Feature: Add ``--exist-ok`` argument to ``conan profile detect`` to not fail if the profile already exists, without overwriting it. (https://github.com/conan-io/conan/pull/15933)
- Feature: MesonToolchain can generate a native file if native=True (only makes sense when cross-building). (https://github.com/conan-io/conan/pull/15919). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3710)
- Feature: Meson helper injects native and cross files if both exist. (https://github.com/conan-io/conan/pull/15919). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3710)
- Feature: Add support for meson subproject. (https://github.com/conan-io/conan/pull/15916). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3655)
- Feature: Added transparent support for running Conan within a Docker container. (https://github.com/conan-io/conan/pull/15856). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3699)
- Fix: Allow defining ``CC=/usr/bin/cc`` (and for CXX) for ``conan profile detect`` auto-detection. (https://github.com/conan-io/conan/pull/16187)
- Fix: Solve issue in ``pyinstaller.py`` script, it will no longer install ``pip install pyinstaller``, having it installed will be a precondition (https://github.com/conan-io/conan/pull/16186)
- Fix: Use backslash in ``CMake`` helper for the CMakeLists.txt folder, fixes issue when project is in the drive root, like ``X:`` (https://github.com/conan-io/conan/pull/16180)
- Fix: Allowing ``conan editable remove <path>`` even when the path has been already deleted. (https://github.com/conan-io/conan/pull/16170)
- Fix: Fix `conan new --help` formatting issue. (https://github.com/conan-io/conan/pull/16155)
- Fix: Improved error message when there are conflicts in the graph. (https://github.com/conan-io/conan/pull/16137)
- Fix: Improve error message when one URL is not a valid server but still returns 200-ok under a Conan "ping" API call. (https://github.com/conan-io/conan/pull/16126)
- Fix: Solve ``sqlite3`` issues in FreeBSD due to queries with double quotes. (https://github.com/conan-io/conan/pull/16123)
- Fix: Clean error message for ``conan cache restore <non-existing-file>``. (https://github.com/conan-io/conan/pull/16113)
- Fix: Improve UX and error messages when a remotes or credentials file in the cache is invalid/empty. (https://github.com/conan-io/conan/pull/16091)
- Fix: Use ``cc`` executable in Linux systems for autodetect compiler (``conan profile detect`` and ``detect_api``). (https://github.com/conan-io/conan/pull/16074)
- Fix: Improve the definition of version ranges UX with better error message for invalid ``==, ~=, ^=`` operators. (https://github.com/conan-io/conan/pull/16069)
- Fix: Improve error message UX when incorrect ``settings.yml`` or ``settings_user.yml``. (https://github.com/conan-io/conan/pull/16065)
- Fix: Print a warning for Python 3.6 usage which is EOL since 2021. (https://github.com/conan-io/conan/pull/16003)
- Fix: Remove duplicated printing of command line in ``Autotools`` helper. (https://github.com/conan-io/conan/pull/15991)
- Fix: Add response error message output to HTTP Status 401 Errors in FileDownloader. (https://github.com/conan-io/conan/pull/15983)
- Fix: Add gcc 14 to default ``settings.yml``. (https://github.com/conan-io/conan/pull/15958)
- Fix: Make ``VCVars`` use the ``compiler.update`` to specify the toolset. (https://github.com/conan-io/conan/pull/15947)
- Fix: Add ``rc`` to ``AutotoolsToolchain`` mapping of ``compiler_executables`` for cross-build Linux->Windows. (https://github.com/conan-io/conan/pull/15946)
- Fix: Add ``Pop!_OS`` to the distros using ``apt-get`` as system package manager. (https://github.com/conan-io/conan/pull/15931)
- Fix: Do not warn with package names containing the `-` character. (https://github.com/conan-io/conan/pull/15920)
- Fix: Fix html escaping of new ``--format=html`` graph output, and pass the graph serialized object instead of the string. (https://github.com/conan-io/conan/pull/15915)
- Bugfix: Make MesonToolchain listen to `tools.build:defines` conf variable. (https://github.com/conan-io/conan/pull/16172). Docs: [:page_with_curl:](https://github.com/conan-io/docs/pull/3709)
- Bugfix: Disallow `self.cpp_info` access in `validate_build()` method. (https://github.com/conan-io/conan/pull/16135)
- Bugfix: Don't show a trace when `.conanrc`'s `conan_home` is invalid. (https://github.com/conan-io/conan/pull/16134)
- Bugfix: Avoid the propagation of transitive dependencies of ``tool_requires`` to generators information even if they are marked as ``visible=True``. (https://github.com/conan-io/conan/pull/16077)
- Bugfix: `BazelDeps` now uses the `requirement.build` property instead of `dependency.context` one. (https://github.com/conan-io/conan/pull/16025)
- Bugfix: Make `conan cache restore` work correctly when restoring over a package already in the local cache. (https://github.com/conan-io/conan/pull/15950)

2.2.3

Not secure
- Fix: Fix `to_apple_archs` method when using architectures from settings_user. (https://github.com/conan-io/conan/pull/16090)

2.2.2

Not secure
- Fix: Avoid issues with recipe ``print(..., file=fileobj)``. (https://github.com/conan-io/conan/pull/15934)
- Fix: Fix broken calls to `print(x, file=y)` with duplicate keyword arguments. (https://github.com/conan-io/conan/pull/15912)
- Bugfix: Fix handling of `tools.build:defines` for multiconfig CMake. (https://github.com/conan-io/conan/pull/15924)

2.2.1

Not secure
- Fix: Add `copytree_compat` method for compatibility with Python>=3.12 after distutils removal. (https://github.com/conan-io/conan/pull/15906)

Page 3 of 49

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.