363 Commits

Author SHA1 Message Date
Alan Barzilay
cd3f437689 release pipreqs v0.5 v0.5.0 2024-02-18 14:35:24 -03:00
Alan Barzilay
64fc5a2972 ci: fix 3.12 python tests
tests were failing due to too restrictive python version requirements
(<=3.12 when 3.12.X exist).
switching to <3.13 allows every python 3.12 patch version to work normally
2024-02-18 14:08:22 -03:00
Alan Barzilay
3a9bc86108 Merge branch 'next' 2024-02-18 14:04:54 -03:00
Alan Barzilay
769f3e501e Revert "Bump wheel from 0.23.0 to 0.38.1"
this is causing too many weird conflicts to merge next into master. Also,
requirements file was deprecated in next branch in lieu of
pyproject.toml

This reverts commit 68f9b2859d45a60e699839f87b1b9558cd36a329.
2024-02-18 14:00:26 -03:00
mateuslatrova
4a9176b39a add support for .pyw files
Now, pipreqs will also scan imports in .pyw files by default.
2023-12-06 20:11:57 +00: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
fernandocrz
03c92488de suppress errors and warnings in unit tests
Credits to @mateuslatrova for the contribution.
2023-12-05 18:15:54 +00:00
fernandocrz
aa283ada00 define pipreqs default encoding to utf-8 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
mateuslatrova
368e9ae7e7 handle FileNotFoundError in parse_requirements function 2023-10-20 08:59:50 -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
dependabot[bot]
eb65254646 Bump wheel from 0.23.0 to 0.38.1
Bumps [wheel](https://github.com/pypa/wheel) from 0.23.0 to 0.38.1.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.23.0...0.38.1)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 15:42:04 -03:00
Alan Barzilay
6f232bd080
Merge pull request #389 from mateuslatrova/compare_modules_test
Add unit test for "compare_modules" function
2023-10-10 15:41:00 -03:00
Alan Barzilay
2ebfc4645a
Merge branch 'next' into compare_modules_test 2023-10-10 15:36:35 -03:00
fernandocrz
12cc1e5b74 add test for parse_requirements function 2023-10-10 15:30:38 -03:00
Mateus Latrova
ed46d270e9 add test for "compare_modules" function 2023-10-09 16:12:42 -03:00
dependabot[bot]
68f9b2859d Bump wheel from 0.23.0 to 0.38.1
Bumps [wheel](https://github.com/pypa/wheel) from 0.23.0 to 0.38.1.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.23.0...0.38.1)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-08 00:21:32 -03:00
Mateus Latrova
3c786e3537 add "copy to clipboard icon" in installation section
- Based on PR #369 and #396
- Authors Muhammad-Aadil and mateuslatrova
2023-10-08 00:10:47 -03:00
Alan Barzilay
acc41cc9bc
Merge pull request #395 from fredgrub/output_requirements_next
create test for output_requirements
2023-10-04 14:26:29 -03:00
Lucas de Sousa Rosa
ccf097b02f create test for output_requirements 2023-10-02 18:00:23 -03:00
mateuslatrova
6ac4357cf4 fix return type on docs 2023-09-28 20:36:24 -03:00
mateuslatrova
d56d5feb29 delete unused function "filter_line" 2023-09-28 20:36:24 -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
Vadim Kravcenko
a1f83d27d9 Bump Version to 0.4.13 v0.4.13 2023-04-14 09:08:49 +02:00
Vadim Kravcenko
181525cdea
Merge pull request #304 from Marocco2/patch-1
Mapping Telegram to python-telegram-bot
2023-04-13 20:39:56 +02:00
Vadim Kravcenko
f9f9d53620
Merge pull request #335 from mmngreco/patch-1
enh: include airflow mapping
2023-04-13 20:38:32 +02:00
Vadim Kravcenko
717d4926bc
Merge pull request #364 from adeadfed/master
Mitigation for dependency confusion in pipreqs
2023-04-13 20:38:09 +02:00
adeadfed
2103371746 add whitespaces to pep8 formatted strings 2023-04-13 16:05:50 +02:00
adeadfed
5537bcd217 fix pep8 linting issues 2023-04-13 15:59:50 +02:00
Vadim Kravcenko
96440ac2ff
Merge pull request #343 from Alexander-Wilms/master
Add mapping for python-constraint
2023-04-13 14:32:32 +02:00
Vadim Kravcenko
4c380a9661
Merge pull request #349 from hansvana/patch-1
Update mapping socketio to python-socketio
2023-04-13 14:27:26 +02:00
Vadim Kravcenko
ed13177c81
Merge pull request #354 from bskiefer/patch-1
Update mapping for python-slugify
2023-04-13 14:27:06 +02:00
adeadfed
bb61883079 revert changes to .gitignore 2023-04-08 17:10:02 +02:00
adeadfed
3ae82087f9 remove invalid comment 2023-03-29 00:32:00 +02:00
adeadfed
001ead91ed delete vscode related files from repo 2023-03-29 00:28:17 +02:00
adeadfed
50498d3cd4 change warning messages 2023-03-29 00:27:13 +02:00
adeadfed
da442e7a2a add warnings to for remote resolving mode 2023-03-29 00:25:45 +02:00
adeadfed
6cd9925a31 improved version of local package resolving 2023-03-29 00:17:49 +02:00
adeadfed
3f5964fcb9 fix name resolution for local packages 2023-03-14 21:14:19 +01:00
bskiefer
175524ec24
Update mapping for python-slugify 2023-02-06 10:51:09 -06:00
Alan Barzilay
e5493d922e
Merge pull request #344 from clvnkhr/Check-if-requirements.txt-exist-before-proceeding-further-inspection-#285
resolve issue #285
v0.4.12
2023-01-14 11:49:35 -03:00
hansvana
5cdc966b2e
Update mapping socketio to python-socketio
Originally mapped to gevent-socketio, which is outdated and hasn't been updated since 2016. Anyone importing socketio is much more likely to mean python-socketio now.
2023-01-13 11:15:15 +01:00
clvnkhr
f97d8b9ba4 resolve issue #285
simply moved the check in init for requirements.txt ahead of searching for packages. Closes #285. Passes tox (3.7, 3.8, 3.9, pypy3, flake8)
2023-01-05 15:06:39 +08:00
Alexander Wilms
775681975a
Add mapping for python-constraint 2023-01-02 22:42:27 +01:00
Alan Barzilay
80bfad8285
Merge pull request #339 from EwoutH/py37
Require Python 3.7 or higher
2022-12-02 17:02:21 -03:00
Ewout ter Hoeven
80503cd3fd
Require Python 3.7 or higher 2022-12-02 17:36:42 +01:00