24 Commits

Author SHA1 Message Date
Jonas Eschle
da63e0d71c
Merge branch 'master' into rasa-py-3.13-support 2025-04-08 09:49:42 +02:00
Jonas Eschle
d6725caee6 upgrade Python version 2025-04-07 17:25:37 +02:00
Ross Smith II
967a6688cb chore: Add python 3.13 support, drop 3.8 2025-02-27 16:29:50 -08:00
mateuslatrova
de68691438 fix flake8 environment in tox.ini file
The way we configured the tox.ini file makes flake8 not to be run. Tox is only running python tests for the flake8 environment.

With this PR, tox will run flake8 for the pipreqs and tests folders as desired.
2023-12-06 18:03:41 +00:00
fernandocrz
b50b4a76eb Add support for jupyter notebooks
Credits to @pakio and @mateuslatrova for the contributions
2023-12-05 18:15:54 +00:00
Lucas de Sousa Rosa
f041de9bdb Bump python 3.12 support 2023-11-08 18:15:21 -03:00
Lucas de Sousa Rosa
fb4560c740 Migrating the packaging system to poetry with pyproject.toml
- Deleted old setup files `requirements.txt`, `setup.cfg`, `setup.py`, `MANIFEST.in`
- Added poetry files `poetry.toml`, `pyproject.toml`, `poetry.lock`
- Added `.pyenv-version` and `.tool-versions` for `pyenv` and `asdf`
- Updated `Makefile`, `CONTRIBUTING.rst`, `tox.ini`
2023-11-08 10:49:10 -03:00
darwish
55eee298ec Specify pypy version
- The pypy v7.3.13, used by GitHub Actions, was failing. So I force to use pypy v7.3.12 that was passing.
- The original PR was done by @EwoutH at #334 and modified by @willianrocha at #398.
2023-10-12 14:08:39 -03:00
Willian Rocha
8af7d85a74 CI: Add Python 3.10 and 3.11, update actions, run on pushes and manually
A bit of CI maintenance:
- Add Python 3.10 and 3.11 runs, and update the PyPy run to PyPy 3.9
- Removed Python 3.7 as it is deprecated
- Update the used actions (checkout and setup-python) to the latest versions
- Also run on pushes, when manually triggered (workflow_dispatch)

The original PR was done by @EwoutH at #334
2023-10-12 14:08:39 -03:00
Alan Barzilay
cebc3f7e24
Merge pull request #393 from willianrocha/flake8_next
applying pep8 rules
2023-09-27 14:12:40 -03:00
Willian Rocha
f2e745256e applying pep8 rules 2023-09-21 19:37:37 -03:00
Ewout ter Hoeven
80503cd3fd
Require Python 3.7 or higher 2022-12-02 17:36:42 +01:00
Alan Barzilay
e7571ea033 Add tox tests & codecov github action
This commit essentially adds back tests to our CI pipeline. They were
previously dropped due to Travis pricing policy change.

This workflow utilizes a few interesting projects to make this action
easier to maintain such as the codecov github action
and the tox-gh-actions project
(https://github.com/ymyzk/tox-gh-actions)

This commit uses codecov instead of coveralls because using coveralls
directly inside GH-actions is buggy and the official coveralls action
only supports lcov reports which we can't seem to be able to generate at
the moment. For more information see the pull request that introduced
this commit
2021-09-04 15:14:48 -03:00
Alan Barzilay
aadc9c8de1 Add flake8 github action with review dog
Review dog is an incredible project that makes linting and formatting
review a breeze by commenting inline what is wrong in a pull request.
This makes the review process easier for the maintainer and also
provides a clearer feedback to the contributor
2021-09-04 15:14:48 -03:00
alan-barzilay
30a944cdda Bump python version
Bump tests version and supported versions in setup.py

stdlib: update packages for python 3.9

By utilizing the packages listed in
https://github.com/jackmaney/python-stdlib-list
for python 3.8 and 3.9, we were able to drop all stdlib packages that
existed solely in python 2 and add the missing stdlib python 3 packages
2021-09-04 15:14:48 -03:00
Alan Barzilay
8001001e9c Revert "Revert all commits since last release"
This reverts commit 90102acdbb23c09574d27df8bd1f568d34e0cfd3.
Now that we are ready to make a new release we can revert the revert and
hopefuly never have to solve a mess like this again to keep master
synchronized with the latest release
2021-09-04 15:12:27 -03:00
alan-barzilay
90102acdbb Revert all commits since last release
By reverting all commits done since release v0.4.10 we will have the
master branch synchronized with the latest release available in pipy.

All commits done since the latest release will be moved to another
branch called `next` where we will centralize development. Once we are ready
for a new release of pipreqs, the `next` branch will be merged back on to
master and a new release will be made.

This change will make development more organized and will avoid new
issues from users complaining about features only present in master not working
on their installation of pipreqs.

I would also like to thank @pedroteosousa for his help on reverting and
squashing all commits
2021-05-05 02:08:31 -03:00
alan-barzilay
b1725c7409 Upgrading pypy to pypy3
Maybe forcing pypy to use python 3 will solve the issue (although it works fine with python 2.7 at the moment)
2021-03-24 18:33:15 -03:00
Jon Banafato
d1a7eda5e8 Enable flake8 linting in tox.ini and .travis.yml
Currently, flake8 is accessible via `make lint`, but it does not run
along side the rest of the test suite. This change adds flake8 checks to
the tox.ini file to enable linting as a routine part of running tests.

Additionally, drop the changes made in #100.
2017-10-24 15:14:52 -04:00
Jon Banafato
0a9845d87d Run Travis-CI tests inside of tox
By using tox instead of the default Travis-CI Python environments, we
ensure that we have a single entrypoint to testing both locally and in
CI. This reduces redundant code and makes it clear when test
environments don't match up on different platforms.

[tox-travis](https://tox-travis.readthedocs.io/en/stable/) is introduced
here to automatically run tox jobs under the proper Travis-CI
environments. Additionally, the coveralls step is moved to a [build
stage](https://docs.travis-ci.com/user/build-stages) to run once after
all other Travis-CI tests complete.
2017-10-24 14:08:18 -04:00
Jon Banafato
3b8419ca92 Declare support for Python 3.6
All tests pass under Python 3.6, so declare official support for it.
Closes #68.
2017-10-20 14:35:06 -04:00
Jon Banafato
5008bda188 Drop support for end-of-lifed Python versions
The following versions of Python are no longer supported by the core
developers of Python and pip:

- Python 2.6
    - End of life on 2013-10-29 [1]
    - Dropped from pip on 2017-03-18 [2]
- Python 3.3
    - End of life on 2017-09-29 [3]
    - Dropped from pip on 2017-03-22 [4]

Developers should migrate off of these versions ASAP, as they may be
missing critical security fixes.

[1] https://www.python.org/dev/peps/pep-0361/#release-lifespan
[2] https://github.com/pypa/pip/pull/4343
[3] https://www.python.org/dev/peps/pep-0398/#lifespan
[4] https://github.com/pypa/pip/pull/4355
2017-10-20 13:30:48 -04:00
Jon Banafato
980c92e6fe Explicitly support Python 3.5
All tests pass on Python 3.5, so declare official support for it.
2016-11-03 10:56:41 -04:00
Vadim Kravcenko
6a3019427c Initial commit 2015-04-22 18:40:17 +02:00