Populus

Latest version: v2.2.0

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

Scan your dependencies

Page 7 of 13

1.1.0

-----

This release begins the first deprecation cycle for APIs which will be removed
in future releases.

- Deprecated: Entire migrations API
- New configuration API which replaces the ``populus.ini`` based configuration.
- Removal of ``gevent`` as a required dependency. Threading and other
asynchronous operations now default to standard library tools with the option
to enable the gevent with an environment variable
``THREADING_BACKEND==gevent``

1.0.0

-----

This is the first release of populus that should be considered stable.

- Remove ``$ populus web`` command
- Remove ``populus.solidity`` module in favor of ``py-solc`` package for
solidity compilation.
- Remove ``populus.geth`` module in favor of ``py-geth`` for running geth.
- Complete refactor of pytest fixtures.
- Switch to ``web3.py`` for all blockchain interactions.
- Compilation:
- Remove filtering. Compilation now always compiles all contracts.
- Compilation now runs with optimization turned on by default. Can be disabled with ``--no-optimizie``.
- Remove use of ``./project-dir/libraries`` directory. All contracts are now expected to reside in the ``./project-dir/contracts`` directory.
- New ``populus.Project`` API.
- New Migrations API:
- ``$ populus chain init`` for initializing a chain with the Registrar contract.
- ``$ populus makemigration`` for creating migration files.
- ``$ populus migrate`` for executing migrations.
- New configuration API:
- New commands ``$ populus config``, ``$ populus config:set`` and ``$ populus config:unset`` for managing configuratino.
- New Chain API:
- Simple programatic running of project chains.
- Access to ``web3.eth.contract`` objects for all project contracts.
- Access to pre-linked code based on previously deployed contracts.

0.8.0

-----

- Removal of the ``--logfile`` command line argument. This is a breaking change
as it will break when used with older installs of ``geth``.

0.7.5

-----

- Bugfix: ``populus init`` now creates the ``libraries`` directory
- Bugfix: ``populus compile --watch`` no longer fails if the ``libraries``
directory isn't present.

0.7.4

-----

- Bugfix for the ``geth_accounts`` fixture.
- Bugfix for project initialization fixtures.
- Allow returning of ``indexed`` event data from Event.get_log_data
- Fix EthTesterClient handling of TransactionErrors to allow continued EVM
interactions.
- Bugfix for long Unix socket paths.
- Enable whisper when running a geth instance.
- Better error output from compile errors.
- Testing bugfixes.

0.7.3

-----

- Add ``denoms`` pytest fixture
- Add ``accounts`` pytest fixture
- Experimental synchronous function calls on contracts with ``function.s(...)``
- Bugfixes for function group argument validation.
- Bugfixes for error handling within EthTesterClient
- Inclusion of Binary Runtime in compilation
- Fixes for tests that were dependent on specific solidity versions.

Page 7 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.