338 Commits

Author SHA1 Message Date
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
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
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
Maximiliano Greco
0aa3f80b84
enh: include airflow mapping
closes https://github.com/bndr/pipreqs/issues/179
2022-11-17 13:25:49 +01:00
Marocco2
2a26eadc91
Mapping Telegram to python-telegram-bot
telegram is a hollow pypi package, so pipreqs will try to install that instead of python-telegram-bot, which have a module named telegram.
I'll ask to approve this change, as I'm blocked with my Pipedream workflow.
2022-04-10 09:49:12 +00:00
Alan Barzilay
a593d27e3d readme: fix rst syntax
While trying to upload release 0.4.11 to pypi I got a few errors due to
the rst syntax of the readme. This commit fixes the errors but not the
warnings (mostly undeclared long format description type in setup.py)
v0.4.11
2021-10-23 06:17:21 -03:00
Alan Barzilay
23097b102c Version bump to 0.4.11 2021-10-23 05:54:58 -03:00
Alan Barzilay
dea950dd07
Merge pull request #275 from bndr/next
Merge changes for version 0.4.11
2021-09-04 15:25:17 -03: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
682a0e2fcf Drop Travis as our CI provider
Since travis changed its pricing policy it has become more limited in
what we can accomplish with it. It now uses a limited credit model for
open source projects which besides being cumbersome puts the project in
a precarious position where we may be unable to run tests if we dont
have anymore credits.

For this reason we will be moving to github actions since they seem to
be the best alternative at the moment
2021-09-04 15:14:48 -03:00
Rahul Kumaresan
e1d4a92910 refine markdown 2021-09-04 15:14:48 -03:00
Rahul Kumaresan
9e514a4caa update README and pipreqs docstring to help prevent discripancies 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
65ccd7eca3 delete everything related to python2
We are dropping support for python 2, so we are dropping the
verification of which python version is currently running and we also stop
checking for python2 specific packages.
We also drop the encoding definition since python3 uses utf-8 as
default.
The helper open_func function is also substituted by open.
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
2a299cc7bc
Merge pull request #245 from komodovaran/patch-1
Update stdlib with dataclasses
2021-05-03 21:36:36 -03:00
Alan Barzilay
e432bb1999
Merge pull request #249 from LionyxML/patch-1
De-capitalize "Requirements.txt" in log msg
2021-05-03 21:35:48 -03:00
Alan Barzilay
df8aab7609
Merge pull request #247 from sxooler/sxooler/patch-hydra
Add hydra-core mapping
2021-04-30 23:45:52 -03:00
Alan Barzilay
a80bf1d05a
Merge pull request #251 from berrysauce/patch-1
Added secrets to standard libraries file
2021-04-30 23:45:26 -03:00
Paul
4dd2c0916d
Added secrets to standard libraries file
Is new in Python 3.6+
2021-04-27 20:40:26 +02:00
Rahul M. Juliato
b188c8ba83
Decaptalized file name in log msg
When trying to generate requirements.txt and file is already existent, the user message produced asks for "Requirements.txt" instead of "requirements.txt". 
This may cause some trouble when used in case sensitive env, as well as in automated scripts.
2021-04-26 12:05:41 -03:00
Simon Ondracek
537458f2df Add hydra-core mapping
Maps `hydra` to `hydra-core`. Fixes #244.
2021-04-21 13:22:46 +02:00
Johannes Thomsen
bab012b491
Update stdlib with dataclasses
Part of the standard lib since 3.7: https://docs.python.org/3.7/library/dataclasses.html
2021-04-20 16:32:54 +02:00
Alan Barzilay
cb4add28ef
Merge pull request #239 from mapattacker/mode
New Option --mode for "gt", "compat", and "non-pin"
2021-03-29 15:34:49 -03:00
Jake
5dc02aa2fa remove obsolete '==' 2021-03-29 22:16:45 +08:00
Jake
e5924d14b3 resolve conflicts; update new features 2021-03-29 22:13:19 +08:00