Lazy-loader

Latest version: v0.4

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

Scan your dependencies

Page 1 of 2

1.9.dev0

Process

- Set release variables:

export VERSION=<version number>
export PREVIOUS=<previous version number>
export ORG="scientific-python"
export REPO="lazy_loader"
export LOG="CHANGELOG.md"

- Autogenerate release notes

changelist ${ORG}/${REPO} v${PREVIOUS} main --version ${VERSION} --config pyproject.toml --out ${VERSION}.md

- Put the output of the above command at the top of `CHANGELOG.md`

cat ${VERSION}.md | cat - ${LOG} > temp && mv temp ${LOG}

- Update `version` in `lazy_loader/__init__.py`.

- Commit changes:

git add lazy_loader/__init__.py ${LOG}
git commit -m "Designate ${VERSION} release"

- Tag the release in git:

git tag -s v${VERSION} -m "signed ${VERSION} tag"

If you do not have a gpg key, use -u instead; it is important for
Debian packaging that the tags are annotated

- Push the new meta-data to github:

git push --tags origin main

where `origin` is the name of the `github.com:scientific-python/lazy_loader`
repository

- Create release from tag

- go to https://github.com/scientific-python/lazy_loader/releases/new?tag=v${VERSION}
- add v${VERSION} for the `Release title`
- paste contents (or upload) of ${VERSION}.md in the `Describe this release section`
- if pre-release check the box labelled `Set as a pre-release`

- Update https://github.com/scientific-python/lazy_loader/milestones:

- close old milestone
- ensure new milestone exists (perhaps setting due date)

- Update `version` in `lazy_loader/__init__.py`.

- Commit changes:

git add lazy_loader/__init__.py
git commit -m 'Bump version'
git push origin main

1.8

1.8rc2.dev0

1.8rc1

1.8.dev0

0.4

We're happy to announce the release of lazy_loader 0.4!

Enhancements

- ENH: Add require argument to load() to accept version specifiers ([48](https://github.com/scientific-python/lazy_loader/pull/48)).
- Add version as **version** ([97](https://github.com/scientific-python/lazy_loader/pull/97)).

Bug Fixes

- Avoid exception when \_\_frame_data["code_context"] is None ([83](https://github.com/scientific-python/lazy_loader/pull/83)).
- Make `lazy_load.load` partially thread-safe ([90](https://github.com/scientific-python/lazy_loader/pull/90)).

Documentation

- Add security contact ([91](https://github.com/scientific-python/lazy_loader/pull/91)).
- Recommend newer Python versions to avoid race ([102](https://github.com/scientific-python/lazy_loader/pull/102)).

Maintenance

- Use label-check and attach-next-milestone-action ([64](https://github.com/scientific-python/lazy_loader/pull/64)).
- Use setuptools ([65](https://github.com/scientific-python/lazy_loader/pull/65)).
- Specify what goes in sdist ([66](https://github.com/scientific-python/lazy_loader/pull/66)).
- Use changelist ([67](https://github.com/scientific-python/lazy_loader/pull/67)).
- Used dependabot ([68](https://github.com/scientific-python/lazy_loader/pull/68)).
- Bump pre-commit from 3.3 to 3.3.3 ([69](https://github.com/scientific-python/lazy_loader/pull/69)).
- Bump scientific-python/attach-next-milestone-action from f94a5235518d4d34911c41e19d780b8e79d42238 to a4889cfde7d2578c1bc7400480d93910d2dd34f6 ([72](https://github.com/scientific-python/lazy_loader/pull/72)).
- Bump scientific-python/attach-next-milestone-action from a4889cfde7d2578c1bc7400480d93910d2dd34f6 to bc07be829f693829263e57d5e8489f4e57d3d420 ([74](https://github.com/scientific-python/lazy_loader/pull/74)).
- Bump actions/checkout from 3 to 4 ([75](https://github.com/scientific-python/lazy_loader/pull/75)).
- Bump changelist from 0.1 to 0.3 ([77](https://github.com/scientific-python/lazy_loader/pull/77)).
- Bump pre-commit from 3.3.3 to 3.4.0 ([76](https://github.com/scientific-python/lazy_loader/pull/76)).
- Use trusted publisher ([78](https://github.com/scientific-python/lazy_loader/pull/78)).
- Bump pre-commit from 3.4.0 to 3.5.0 ([80](https://github.com/scientific-python/lazy_loader/pull/80)).
- Bump changelist from 0.3 to 0.4 ([81](https://github.com/scientific-python/lazy_loader/pull/81)).
- Bump actions/checkout from 3 to 4 ([82](https://github.com/scientific-python/lazy_loader/pull/82)).
- Bump actions/setup-python from 4 to 5 ([85](https://github.com/scientific-python/lazy_loader/pull/85)).
- Bump pre-commit from 3.5.0 to 3.6.0 ([84](https://github.com/scientific-python/lazy_loader/pull/84)).
- Update pre-commit ([87](https://github.com/scientific-python/lazy_loader/pull/87)).
- Use setup-python pip cache ([95](https://github.com/scientific-python/lazy_loader/pull/95)).
- Bump codecov/codecov-action from 3 to 4 ([93](https://github.com/scientific-python/lazy_loader/pull/93)).
- Bump pre-commit from 3.6.0 to 3.6.2 ([100](https://github.com/scientific-python/lazy_loader/pull/100)).
- Bump changelist from 0.4 to 0.5 ([99](https://github.com/scientific-python/lazy_loader/pull/99)).
- Refuse star imports in stub loader ([101](https://github.com/scientific-python/lazy_loader/pull/101)).
- Bump pre-commit from 3.6.2 to 3.7.0 ([103](https://github.com/scientific-python/lazy_loader/pull/103)).
- Update pre-commit repos ([104](https://github.com/scientific-python/lazy_loader/pull/104)).

Contributors

4 authors added to this release (alphabetically):

- Chris Markiewicz ([effigies](https://github.com/effigies))
- Dan Schult ([dschult](https://github.com/dschult))
- Jarrod Millman ([jarrodmillman](https://github.com/jarrodmillman))
- Stefan van der Walt ([stefanv](https://github.com/stefanv))

5 reviewers added to this release (alphabetically):

- Brigitta Sipőcz ([bsipocz](https://github.com/bsipocz))
- Chris Markiewicz ([effigies](https://github.com/effigies))
- Dan Schult ([dschult](https://github.com/dschult))
- Jarrod Millman ([jarrodmillman](https://github.com/jarrodmillman))
- Stefan van der Walt ([stefanv](https://github.com/stefanv))

_These lists are automatically generated, and may not be complete or may contain
duplicates._

Changelog

[v0.3](https://github.com/scientific-python/lazy_loader/tree/v0.3) (2023-06-30)

[Full Changelog](https://github.com/scientific-python/lazy_loader/compare/v0.2...v0.3)

**Merged pull requests:**

- Announce Python 3.12 support [\63](https://github.com/scientific-python/lazy_loader/pull/63) ([jarrodmillman](https://github.com/jarrodmillman))
- Ignore B028 [\62](https://github.com/scientific-python/lazy_loader/pull/62) ([jarrodmillman](https://github.com/jarrodmillman))
- Use dependabot to update requirements [\61](https://github.com/scientific-python/lazy_loader/pull/61) ([jarrodmillman](https://github.com/jarrodmillman))
- Use dependabot to update GH actions [\60](https://github.com/scientific-python/lazy_loader/pull/60) ([jarrodmillman](https://github.com/jarrodmillman))
- Use ruff [\59](https://github.com/scientific-python/lazy_loader/pull/59) ([jarrodmillman](https://github.com/jarrodmillman))
- Update requirements [\58](https://github.com/scientific-python/lazy_loader/pull/58) ([jarrodmillman](https://github.com/jarrodmillman))
- Warn and discourage lazy.load of subpackages [\57](https://github.com/scientific-python/lazy_loader/pull/57) ([dschult](https://github.com/dschult))
- Test on Python 3.12.0-beta.2 [\53](https://github.com/scientific-python/lazy_loader/pull/53) ([jarrodmillman](https://github.com/jarrodmillman))

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.