Releases: xsuite/xaux
Releases · xsuite/xaux
Xaux release 0.3.0
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 theClassPropertyMeta
metaclass - Added README documentation with info on most tools
Development Updates
- Added
function_tools
which are handy wrappers aroundinspect
- Added tests for all tools (except
dev_tools
), and restructured theProtectFile
tests
Full Changelog: v0.2.2...v0.3.0
Xaux release 0.2.2
What's Changed
- New tools to work with python packages:
import_package_version
: Context manager to temporarily import a specific version of a packageinstall_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 lastget_latest_package_version
: Get the latest version of a package from PyPIget_package_dependencies
: Get the dependencies of a package from PyPIdef get_package_version_dependencies
: Get the package versions of the dependencies for a specific version ofpackage_name
(This function is currently not working as intended whennumpy
is a dependency and already imported)
- Slight renaming of release tools
Development Updates
FsPath
now works for python 3.12 and 3.13 as wellProtectFile
: 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
Development Updates
- Removed
requests
andnumpy
dependencies and bugfix inProtectFile
(Fix main by @tpugnat in #15) - Streamlined exception handling in
ProtectFile
Full Changelog: v0.2.0...v0.2.1
Xaux release 0.2.0
What's Changed
FsPath
is a class that representsLocalPath
s,AfsPath
s, andEosPath
s. Works for python 3.8-3.11; need to work on an implementation for newer python versions.- Very robust, works with
xrdcp
andeos
though server-side syncing is slow ProtectFile
: fix lockfile corruption when different process save respectively fre… by @tpugnat in #10ProtectFile
: Fix lockfile corruption by @tpugnat in #11ProtectFile
: 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 intoxaux
(to centralise release scripts forxcoll
,xdyna
, andxboinc
) - Full test suite for
FsPath
New Contributors
Full Changelog: v0.1.2...v0.2.0
Xaux release 0.1.2
What's Changed
Full Changelog: v0.1.1...v0.1.2
Xaux release 0.1.1
What's Changed
- EOS-XRDCP support by @kparasch in #4
- Release 0.1.1 by @freddieknets in #5
New Contributors
Full Changelog: v0.1.0...v0.1.1
Xaux release 0.1.0
Xaux release 0.0.1
What's Changed
- Nothing
New Contributors
- @freddieknets made their first contribution in #1
Full Changelog: https://github.com/xsuite/xaux/commits/v0.0.1