Skip to content

Releases: xsuite/xaux

Xaux release 0.3.0

24 Jan 03:58
2f40f17
Compare
Choose a tag to compare

What's Changed

  • Introduced @singleton decorator to make a class into a singleton
  • Introduced @ClassProperty descriptor to define class properties similar to @property. To be able to use it correctly, the class needs to be defined with the ClassPropertyMeta metaclass
  • Added README documentation with info on most tools

Development Updates

  • Added function_tools which are handy wrappers around inspect
  • Added tests for all tools (except dev_tools), and restructured the ProtectFile tests

Full Changelog: v0.2.2...v0.3.0

Xaux release 0.2.2

04 Jan 20:23
9397a02
Compare
Choose a tag to compare

What's Changed

  • New tools to work with python packages:
    • import_package_version: Context manager to temporarily import a specific version of a package
    • install_package_version: Installs a specific version of a package (in a dedicated installation folder)
    • get_package_versions: Get all available versions of a package from PyPI, sorted by newest last
    • get_latest_package_version: Get the latest version of a package from PyPI
    • get_package_dependencies: Get the dependencies of a package from PyPI
    • def get_package_version_dependencies: Get the package versions of the dependencies for a specific version of package_name (This function is currently not working as intended when numpy is a dependency and already imported)
  • Slight renaming of release tools

Development Updates

  • FsPath now works for python 3.12 and 3.13 as well
  • ProtectFile: Fix case when free_after is an int in the lockfile instead of a string by @tpugnat in #18

Full Changelog: v0.2.1...v0.2.2

Xaux release 0.2.1

28 Oct 16:16
e5f1c5b
Compare
Choose a tag to compare

Development Updates

  • Removed requests and numpy dependencies and bugfix in ProtectFile (Fix main by @tpugnat in #15)
  • Streamlined exception handling in ProtectFile

Full Changelog: v0.2.0...v0.2.1

Xaux release 0.2.0

28 Oct 00:31
4fabad9
Compare
Choose a tag to compare

What's Changed

  • FsPath is a class that represents LocalPaths, AfsPaths, and EosPaths. Works for python 3.8-3.11; need to work on an implementation for newer python versions.
  • Very robust, works with xrdcp and eos though server-side syncing is slow
  • ProtectFile: fix lockfile corruption when different process save respectively fre… by @tpugnat in #10
  • ProtectFile: Fix lockfile corruption by @tpugnat in #11
  • ProtectFile: Fix reccurent OSError which happen frequently when handeling 500 simu… by @tpugnat in #12
  • Fix test by @tpugnat in #13

Develop Updates

  • All release tools and gh.py are now consolidated into xaux (to centralise release scripts for xcoll, xdyna, and xboinc)
  • Full test suite for FsPath

New Contributors

Full Changelog: v0.1.2...v0.2.0

Xaux release 0.1.2

28 Feb 17:48
94ccf16
Compare
Choose a tag to compare

What's Changed

  • Fixed max_lock_time behaviour and added tests by @kparasch in #6

Full Changelog: v0.1.1...v0.1.2

Xaux release 0.1.1

26 Feb 08:55
5eafc64
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.1.1

Xaux release 0.1.0

23 Feb 10:37
0c7f9b5
Compare
Choose a tag to compare

What's Changed

  • Moved ProtectFile from xdyna

Full Changelog: v0.0.1...v0.1.0

Xaux release 0.0.1

23 Feb 10:30
d4277a5
Compare
Choose a tag to compare

What's Changed

  • Nothing

New Contributors

Full Changelog: https://github.com/xsuite/xaux/commits/v0.0.1