Skip to content

Releases: AdaCore/e3-core

Version 22.10.0 (2025-03-28)

01 Apr 13:15
Compare
Choose a tag to compare
  • Fix SPDX document version

  • Take main.Main name's argument as the arguments parser's prog name

  • Add DLL closure check to Anod class

  • Add git_shallow_fetch_since to checkout.py

  • Accept pathlib.Path in e3.fs, e3.os.fs, and e3.os.process

  • Add minor OS version to platform object

  • Add git_shallow_fetch_since to checkout.py

  • Add a shared libraries closure check to anod spec

  • Do not assume Git default branch is called "master"

  • Skip anod SVN test on windows

  • Split Git and SVN tests

  • Remove installation of various python versions

  • Fix windows directory symlink

  • Add git_fetch_max_depth argument to checkout.py

  • Fix program name in main.Main class

  • Add venv directories to git ignored files

  • Make anod external checkout ignore only asked files

  • Change the default git branch name when running tests

  • Emit error if shared lib is not found

  • Remove e3.config and typeguard dependency

  • Add a way to avoid missing qualifiers exception

  • Improve pypi closure computation by using a complete resolver

  • Ensure file:// urls are generated correctly on Windows

  • Review caching mechanism for e3-pypi-closure

  • Adjust test that check if a generic wheel is present or not

  • Add aarch64-freebsd to platform knowledge base

  • Use nanoseconds integer timestamps to copy file modification time

  • Improve qualifiers error

  • Fix Git_Cmd typing

  • Review signature of post and pre parameters for primitives

  • Remove obsolete env 'check'

  • Start to switch to qualifier dicts internally

  • Adjust handling of packages providing only sdist files

  • Pypi-closure computation fixed

  • Reorganize the .gitlab-ci.yml file

  • Increase test_poll sleep time

  • Add support for new operators &, + and - on spec arguments

  • Add missing key when serializing key/set qualifier to str

  • Add support for shutils.rmtree(..., onexec=...)

  • Adjust version comparison

  • Improve error reporting when loading specs

  • Use @contextmanager on mock_run

  • Add a mock_env function for mocking e3.env.Env

  • Fix shared libraries closure test

  • Add optional docs dependencies

  • Support utf8 in git log

  • Detect invalid plan containing nested entry points

  • Remove doc dependencies from pyproject.toml

  • Fix tests using pip wheel without network access

  • Fix shared libraries closure logic

  • Fix test duration

  • Make wait_for_processes test more reliable

  • Ensure that e3.log.activate is run only once

  • Run additonal checks with the latest Python version on GitHub

  • Install distro on macOS when running mypy

  • Handle tarfile.extractall() issue

  • Basic support for pathlib.Path in e3.fs

  • Accept pathlib.Path in e3.os.fs

  • Add support for pathlib.Path in e3.os.process

  • Improve error message when a non-primitive is used

  • Ensure fallback function for windows unlink handles links correctly

  • Support iterators in mv, ls, and rm

  • Add PathLike type support for e3.hash methods

  • Use a temp copy of the CVE cache to avoid altering repository files

  • Use timezone-aware objects to represent datetimes in UTC

  • Replace pkg_resources by importlib.resources

  • Add sha512 support

  • Avoid use of utcnow() which is deprecated

  • Replace pkg_resources by importlib.metadata

  • Add support for WSL links on Windows when calling sync_tree

  • PyPILink: retrieve filename and requires-python data

  • Fix urllib version in pyproject.toml

  • Don't normalize the path returned by wsl_reparse_link_target

  • Adjust handling of symlinks in sync_tree

  • Add build_wheel.py changes from e3-cli

  • Fix wrong indents in tox.ini file

  • Add missing Python version in tox environment name

  • Do not fail if svn is not available in CI

  • Run only on the latest version of Python on Windows

  • Fix mingw paths on dll closure check

  • Make MockRun.add_result accept multiple results

  • Skip dll closure tests on Windows

  • Remove httpretty dependency

  • Set Windows version to 11 for build number >= 22000

  • Remove python 3.9 and python 3.10 testing

  • Restore COVERAGE_CORE management in tox.ini

  • Add e3.npm and e3.maven modules

  • Remove dead code: PyPIClosure.cache_file parameter is never used

  • e3-pypi-closure: Add --check-target-registry option

  • Skip ldd tests on macOS

  • Do not force the use of the coverage package with e3.pytest

  • Add ability to force the number of cores

  • Adjust e3.os.process.Run attributes out, err, raw_out, raw_err

  • Add checksum handling into e3.maven.MavenLink

  • Add ability to run a hook during Anod DAG creation

  • Add support for argument checker in CommandResult

  • Add a side_effect parameter to CommandResult

  • Backward incompatible change:

    • Remove e3.config and typeguard dependency. This removes the possibility
      to configure the default e3.log formatting using e3.toml

Version 22.6.0 (2024-06-19)

19 Jun 08:48
037d6a3
Compare
Choose a tag to compare
  • Handle pycoverage backward incompatibility of the CoverageData.update() method.

Version 22.5.0 (2024-04-03)

03 Apr 06:30
8155830
Compare
Choose a tag to compare
  • Add e3.pytest plugin to reuse fixtures in other projects
  • Add support for VEX documents
  • Update e3-pypi-closure to generate more precise version
  • Enable Anod class to use methods instead of properties
  • Ensure e3 is handled as a PEP 420 namespace
  • Add secure_control_plane to anod

Version 22.4.0 (2024-01-18)

18 Jan 16:18
73d3c6f
Compare
Choose a tag to compare
  • Security enhancements:

    • e3.net.smtp.sendmail uses to SMTP_SSL by default
  • New Anod API Version 1.6:

    • For performance issues declare dynamically "spec" function in the
      Anod spec context rather than using e3.anod.loader.spec function
      that relies on inspect module

Version 22.3.1 (2023-03-17)

17 Mar 11:52
142691e
Compare
Choose a tag to compare
  • Add rlimit binary for aarch64-darwin

Version 22.3.0 (2023-03-09)

09 Mar 09:53
8eebcb2
Compare
Choose a tag to compare
  • Add support for M1/M2 MacOS (aarch64-darwin platform)
  • e3.diff.patch raise an exception if there is no file to patch
  • Fix issue where anod download deps are not tracked
  • Add a SPDX document generator
  • Add an interface to NVD API

Version 22.2.0 (2022-08-31)

31 Aug 14:48
3247634
Compare
Choose a tag to compare
  • Minor backward incompatible changes:
    • the discrimiant is_virtual has been removed
    • e3.anod.sandbox.SandBox now has a mandatory root_dir attribute
    • AnodSpecRepositories spec_config should now subclass SpecConfig
    • PlanContext now returns PlanActionEnv, a subclass of BaseEnv. Contrary
      to the previous BaseEnv objects, returned PlanActionEnv always have
      the following attributes set: "push_to_store", "default_build",
      "module", "source_packages"

22.1.0

23 Jun 07:01
v22.1.0
27ff1ad
Compare
Choose a tag to compare

Version 22.1.0 (2020-06-22)

  • Add type hinting and verify it with mypy
  • Minor backward incompatible changes:
    • some function argument are now mandatory:
      • e3.anod.context.AnodContext.add_anod_action env
      • e3.anod.context.AnodContext.add_spec env and ``primitive`
      • some attribute have been replaced by properties to avoid being marked as Optional
      • e3.anod.spec.Anod build_space
  • e3.os.process out and err attributes preserve CR characters
  • Deprecate e3.decorator.memoize, use functools.lru_cache instead
  • Prevent crash when a process launched by e3.os.process.Run does not emit utf-8 on stdout or stderr. Output and error is now processed using bytes_as_str and bytes version of output and error is available through raw_out and raw_err attributes.