Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: Remove pipenv #45

Merged
merged 9 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PYTHON: setup: Fix some hyperlinks
* FIX: Old, broken hyperlinks
* Update Python package dependencies
* Cleanup and reorganize some stuff
  • Loading branch information
jenisys committed Mar 13, 2022
commit 12206038f9fb158bee20089423194510f0455aba
1 change: 0 additions & 1 deletion python/py.requirements/basic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@
# ============================================================================

enum34; python_version < '3.4'
six >= 1.11.0
3 changes: 0 additions & 3 deletions python/py.requirements/basic_and_testing.txt

This file was deleted.

17 changes: 14 additions & 3 deletions python/py.requirements/develop.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# ============================================================================
# PYTHON PACKAGE REQUIREMENTS FOR: For development only
# ============================================================================
# RESCUE:
# curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
# python get-pip.py
#
# SEE: https://github.com/pypa/get-pip
# ============================================================================

# -- BASIC DEVELOPMENT ENVIRONMENT:
pip >= 9.0.1
virtualenv >= 15.0.1
pipenv
virtualenv >=15.0.1,<=20.4.4; python_version <= '2.7'
virtualenv >=20.4.5; python_version >= '3.0'

# -- CONFIGURATION MANAGEMENT (helpers):
# FORMER: bumpversion >= 0.4.0
Expand All @@ -16,9 +22,14 @@ bump2version >= 0.5.6
modernize >= 0.5

# -- STATIC CODE ANALYSIS:
# PREPARED: prospector >= 0.12.7
pylint >= 1.7
bandit >= 1.4
# PREPARED: prospector >= 0.12.7

# -- LOCAL CI (for Python):
# Test with different Python versions.
# SEE: https://tox.wiki/
tox >= 2.9

# -- REQUIRES: testing, docs, invoke-task requirements
# PREPARED: -r docs.txt
Expand Down
1 change: 0 additions & 1 deletion python/py.requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ pytest >= 3.2
pytest-html >= 1.19

# -- DEVELOPMENT SUPPORT: Testing
tox >= 2.9
coverage >= 4.2
20 changes: 14 additions & 6 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def find_packages_by_root_package(where):
author = "Jens Engel",
author_email = "jenisys@noreply.github.com",
url = "https://github.com/cucumber/tag-expressions-python",
download_url= "http://pypi.python.org/pypi/cucumber-tag-expressions",
description = "Provides tag-expression parser for cucumber/behave",
download_url= "https://pypi.org/project/cucumber-tag-expressions",
description = "Provides a tag-expression parser and evaluation logic for cucumber/behave",
long_description = long_description,
keywords= "BDD, testing, cucumber, tag-expressions, behave",
license = "MIT",
Expand All @@ -73,14 +73,22 @@ def find_packages_by_root_package(where):
],
extras_require={
# PREPARED: 'docs': ["sphinx>=1.5"],
'develop': [
"develop": [
"coverage",
"pytest >= 3.2",
"pytest-html >= 1.19.0",
"tox >= 2.9",
"invoke",
"path.py",
"pylint"
"pylint",
# -- INVOKE SUPPORT:
"invoke >= 1.4.1",
"six >= 1.15.0",
"path >= 13.1.0; python_version >= '3.5'",
"path.py >= 11.5.0; python_version < '3.5'",
# PYTHON2 BACKPORTS:
"pathlib; python_version <= '3.4'",
"backports.shutil_which; python_version <= '3.3'",
# CLEANUP SUPPORT: py.cleanup is provided by: pycmd
"pycmd",
],
},

Expand Down
11 changes: 8 additions & 3 deletions python/tasks/py.requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
# * http://www.pip-installer.org/
# ============================================================================

invoke >= 1.2.0
six >= 1.11.0
path.py >= 10.1
invoke >= 1.4.1
six >= 1.15.0

# -- HINT: path.py => path (python-install-package was renamed for python3)
path >= 13.1.0; python_version >= '3.5'
path.py >= 11.5.0; python_version < '3.5'

# -- PYTHON2 BACKPORTS:
pathlib; python_version <= '3.4'
backports.shutil_which; python_version <= '3.3'

Expand Down