
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Bumps package versions.
By default, running bump
in a directory with a setup.py
will bump the
"patch" number in place::
$ bump 1.0.1 $ git diff setup.py ───────────────────────────────────────────────── modified: setup.py ───────────────────────────────────────────────── @ setup.py:6 @ from setuptools import setup
setup( name='bump',
Conveniently bump
will also return the new version number, so you can use
it after running the command, for example::
$ export VERSION=bump
$ echo "The new version is $VERSION"
The new version is 1.0.1
The bump
command can also bump the major or minor version numbers, or set
the pre-release identifier or local version segment::
$ bump --help Usage: bump [OPTIONS] [INPUT] [OUTPUT]
Options: -M, --major Bump major number. Ex.: 1.2.3 -> 2.2.3 -m, --minor Bump minor number. Ex.: 1.2.3 -> 1.3.3 -p, --patch Bump patch number. Ex.: 1.2.3 -> 1.2.4 -r, --reset Reset subversions. Ex.: Major bump from 1.2.3 will be 2.0.0 instead of 2.2.3 --pre TEXT Set the pre-release identifier --local TEXT Set the local version segment --canonicalize Canonicalize the new version --help Show this message and exit.
The --reset
option should be used alongside with minor or major bump.
You can configure these options by setting them in a .bump
or setup.cfg
configuration file as well, so you don't have to specify them every time::
$ cat .bump [bump] input = some_directory/file.py minor = true patch = false reset = true
FAQs
Bumps package version numbers
We found that bump demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.