Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

auto detect time units in kernprof -v output #113

Open
wants to merge 74 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
542baf5
Support Python 3.7 Generator (PEP 479)
Hanaasagi Apr 17, 2019
8b6bebc
update travis config
Hanaasagi Jul 13, 2019
8fe91f5
Also handle StopIteration in first iterate
Hanaasagi Jul 29, 2019
3b56a6e
Merge pull request #1 from Hanaasagi/fix-PEP-479
Erotemic Dec 10, 2019
f6d4541
add pyproject.toml
felix-andreas Dec 11, 2019
536c2ec
Travis CI: Upgrade to Python 3.8.0
cclauss Dec 13, 2019
fc37f4f
Only "nightly" is allowed to fail.
cclauss Dec 13, 2019
8322271
Merge pull request #5 from cclauss/patch-1
Erotemic Dec 14, 2019
be79b8c
Merge pull request #4 from andreasfelix/pyproject
Erotemic Dec 14, 2019
8a394f1
Add tools to make publishing easier
Erotemic Dec 10, 2019
ea7b0d9
Port to scikit-build for cross-platform building
Erotemic Dec 11, 2019
0cd9a32
restructure so skbuild works better
Erotemic Dec 13, 2019
cf49e95
fix travis warnings
Erotemic Dec 15, 2019
c158e88
Merge pull request #3 from pyutils/dev/scikit_build
Erotemic Dec 15, 2019
62921d1
rename multibuild to manylinux_build, latest publish script
Erotemic Dec 29, 2019
529664c
use line_profiler_pyutils name for pypi until line_profiler becomes a…
Erotemic Dec 29, 2019
44532a6
Merge pull request #7 from pyutils/dev/tweaks
Erotemic Dec 29, 2019
67ab8af
update readme
Erotemic Dec 29, 2019
49a6aa9
prep for release
Erotemic Dec 29, 2019
5b41b60
line_profiler name on pypi is available
Erotemic Jan 6, 2020
edb2d43
fixed pypi password
Erotemic Jan 6, 2020
2ded34c
update readme
Erotemic Jan 6, 2020
f7dfcda
update twine secret password
Erotemic Jan 6, 2020
9ddedfd
Fix main file
Erotemic Jan 9, 2020
b90b830
move changelog to separate file
Erotemic Jan 9, 2020
2f35d42
fix rst link
Erotemic Jan 9, 2020
7124dc6
Merge pull request #8 from pyutils/dev/add_main
Erotemic Jan 9, 2020
c25bd1f
Add test for command line usage
Erotemic Jan 12, 2020
2eb1cd9
Fix python27 version issue
Erotemic Jan 12, 2020
3734399
Add script for running tests
Erotemic Jan 12, 2020
bfd708c
Merge pull request #10 from pyutils/dev/fix_cli
Erotemic Jan 12, 2020
a04473e
Fix outdated section of README
Erotemic Mar 13, 2020
e3ecd01
Update pytest and pytest-cov in requirements to fix travis tests (#33)
artemisart Nov 1, 2020
92bd4c9
Add Python 3.9 testing and support (#31)
stefanor Nov 3, 2020
9eecc3d
Bump versions and add CHANGELOG for recent merge (#35)
Erotemic Nov 4, 2020
8e15eee
Test to see if 3.5 still works on Travis (#37)
Erotemic Nov 5, 2020
b3a3ea0
Add cli arg for output unit and skip (strip) zero (#34)
artemisart Nov 19, 2020
d589b92
Update to argparse, improve cli help (#39)
artemisart Jan 25, 2021
9c32fa4
Integrate CircleCI (#48)
Erotemic Mar 29, 2021
ea9012b
removed unused deploy ci stage
Erotemic Mar 29, 2021
4dc8425
Add license_files to setup.py (#52)
Erotemic Apr 1, 2021
796a132
README: Remove RunSnakeRun (unmaintained), clarify (#56)
tony Apr 6, 2021
2428ac5
Add Github Actions (#54)
Erotemic Apr 14, 2021
71fa1dc
Add actions badges (#59)
Erotemic Apr 23, 2021
4148d86
Remove deploy logic from circleci (#60)
Erotemic Apr 23, 2021
b71ab24
remove extra line in readme
Erotemic Apr 23, 2021
052a3d6
Fix codecov call (#11)
Erotemic Apr 23, 2021
a94301d
Removed old C-ext logic (#64)
Erotemic Apr 25, 2021
74cba21
🩹 Fix codecov upload (#68)
s-weigand Apr 26, 2021
3d8022d
Branch for 3.2.2 (#67)
Erotemic Apr 30, 2021
8adfc60
Dev/3.2.3 (#70)
Erotemic Apr 30, 2021
815775a
Add MANIFEST.in for source distributions (#72)
Erotemic Apr 30, 2021
61689ab
Bump to 3.2.4 to fix sdist issues (#73)
Erotemic Apr 30, 2021
1323326
Include c source files in manifest (#74)
Erotemic Apr 30, 2021
56bd6f9
Add tests that builds from the source dist (#75)
Erotemic Apr 30, 2021
ccd1a5c
Fix ipython version requirements for python 3.6 (#78)
maxocub May 5, 2021
06af7ed
Use ci build wheel to build more wheels (#76)
s-weigand May 16, 2021
00f5e60
Fix command line option `-v` if used without `-l` (#81)
pya May 24, 2021
40a1c85
Update to 3.3.0 (#79)
Erotemic Jun 4, 2021
d4836b7
Bump joerick/cibuildwheel from 1.11.0 to 1.12.0 (#85)
dependabot[bot] Jun 25, 2021
e7cace1
Fix missing source in Jupyter notebook/lab (#93)
ChrisAichinger Sep 5, 2021
558c514
Switch joerick to pypa base for cibuildwheel (#94)
Erotemic Sep 6, 2021
1d14155
Add CHANGELOG note related to #93 (#95)
Erotemic Sep 7, 2021
30f4255
Add CHANGELOG note related to #93 (#95)
Erotemic Sep 7, 2021
8a0ae62
Rotate in new PyUtils GPG Key: 2A290272C174D28EA9CA48E9D7224DAF0347B114
Erotemic Sep 21, 2021
ac6c026
Merge pull request #99 from pyutils/dev/rotate_secrets
Erotemic Sep 24, 2021
c14c304
Attempt to fix upload to test pypi
Erotemic Sep 24, 2021
13ef526
Fixes for GPG on Actions (#102)
Erotemic Sep 24, 2021
70ac29c
Again with the publish fixes (#103)
Erotemic Sep 24, 2021
799008e
Hotfix
Erotemic Sep 24, 2021
63ca64d
wip
Erotemic Sep 24, 2021
3994c2a
Fix twine secrets
Erotemic Sep 24, 2021
bc27875
Update line_profiler.py (#104)
aeryen Sep 27, 2021
65cce81
updated line_profiler
uweschmitt Oct 26, 2021
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
161 changes: 161 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# Python CircleCI 2.0 configuration file
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
# References:
# # how to setup multiple python versions
# https://stackoverflow.com/questions/948354/default-behavior-of-git-push-without-a-branch-specified
# https://github.com/adambrenecki/virtualfish/blob/aa3d6271bcb86ad27b6d24f96b5bd386d176f588/.circleci/config.yml
#
# # Multiple files for a checksum
# https://discuss.circleci.com/t/cant-checksum-multiple-files-with-slashes-in-the-file-path/20667/2
#
# # Auto Cancel Redundant Builds
# https://circleci.com/docs/2.0/skip-build/#steps-to-enable-auto-cancel-for-pipelines-triggered-by-pushes-to-github-or-the-api
# https://app.circleci.com/settings/project/github/pyutils/line_profiler/advanced?return-to=https%3A%2F%2Fapp.circleci.com%2Fpipelines%2Fgithub%2Fpyutils%2FPYPKG

version: 2
workflows:
version: 2
test:
jobs:
- test_full/cp39-cp39-manylinux2010
- test_full/cp38-cp38-manylinux2010
- test_full/cp37-cp37m-manylinux2010
- test_full/cp36-cp36m-manylinux2010
- test_full/cp35-cp35m-manylinux1


jobs:

###########
# TEMPLATES
###########

.common_template: &common_template
environment:
# Setting the python executable environ allows template reuse for pypy
- PYTHON_EXE: python
docker:
- image: circleci/python
steps:
- checkout


.test_full_template: &test_full_template
<<:
- *common_template
resource_class: small
steps:
- checkout
- run:
name: prepare_env
command: |
$PYTHON_EXE -m venv venv
# $PYTHON_EXE -m pip install --upgrade pip
. venv/bin/activate
# pip install --upgrade pip
- run:
name: build_wheel
command: |
. venv/bin/activate
MB_PYTHON_TAG=$(python -c "import setup; print(setup.MB_PYTHON_TAG)")
VERSION=$(python -c "import setup; print(setup.VERSION)")
_INSIDE_DOCKER=YES REPO_ROOT="." MB_PYTHON_TAG=$MB_PYTHON_TAG ./run_manylinux_build.sh
- persist_to_workspace:
root: .
paths:
- dist
- run:
name: install_wheel
command: |
. venv/bin/activate
# pip install --upgrade pip
MB_PYTHON_TAG=$(python -c "import setup; print(setup.MB_PYTHON_TAG)")
VERSION=$(python -c "import setup; print(setup.VERSION)")
BDIST_WHEEL_PATH=$(ls dist/*-$VERSION-$MB_PYTHON_TAG*.whl)
pip install ${BDIST_WHEEL_PATH}[all]
- run:
name: run_tests
command: |
. venv/bin/activate
python run_tests.py


###################################
### INHERIT FROM BASE TEMPLATES ###
###################################

# Define tests fo the other python verisons using the "test3.6" template
# and indicating what needs to be modified.
#
# All we need to do is change the base docker image so python is the
# version we want we can reuse everything else from the template

test_full/cp39-cp39-manylinux2010:
<<: *test_full_template
environment:
- PYTHON_EXE: /opt/python/cp39-cp39/bin/python
- MB_PYTHON_TAG=cp39-cp39
docker:
- image: quay.io/pypa/manylinux2010_x86_64:latest
working_directory: ~/repo-full-cp39

test_full/cp38-cp38-manylinux2010:
<<: *test_full_template
environment:
- PYTHON_EXE: /opt/python/cp38-cp38/bin/python
- MB_PYTHON_TAG=cp38-cp38
docker:
- image: quay.io/pypa/manylinux2010_x86_64:latest
working_directory: ~/repo-full-cp38

test_full/cp37-cp37m-manylinux2010:
<<: *test_full_template
environment:
- PYTHON_EXE: /opt/python/cp37-cp37m/bin/python
- MB_PYTHON_TAG=cp37-cp37m
docker:
- image: quay.io/pypa/manylinux2010_x86_64:latest
working_directory: ~/repo-full-cp37

test_full/cp36-cp36m-manylinux2010:
<<: *test_full_template
environment:
- PYTHON_EXE: /opt/python/cp36-cp36m/bin/python
- MB_PYTHON_TAG=cp36-cp36m
docker:
- image: quay.io/pypa/manylinux2010_x86_64:latest
working_directory: ~/repo-full-cp36

test_full/cp35-cp35m-manylinux1:
<<: *test_full_template
environment:
- PYTHON_EXE: /opt/python/cp35-cp35m/bin/python
- MB_PYTHON_TAG=cp35-cp35m
docker:
- image: quay.io/pypa/manylinux1_x86_64:latest
working_directory: ~/repo-full-cp35


__scratch_work__:
docker:
- image: pypy:3
working_directory: ~/dev-only-not-a-real-job
steps:
- |
__doc__="
# Run circleci scripts on a local machine
# snap install circleci
mkdir -p $HOME/Downloads
curl -fLSs https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh | DESTDIR=$HOME/Downloads bash

circleci update
circleci switch

circleci config validate
circleci local execute --job test_full/cp39-cp39-manylinux2010
circleci local execute --config .circleci/config.yml --job test_full/cp38-cp38-manylinux2010
circleci local execute --config .circleci/config.yml

circleci local execute --job test_full/cp38-cp38-manylinux2010
"
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
Loading