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

Preparing new version #11

Merged
merged 71 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
70347df
first commit
thevincentadam Sep 8, 2021
2f250cf
wip
vincentadam87 Apr 10, 2024
67cfd46
change python versions and poetry
vincentadam87 Apr 10, 2024
760779e
change cmake version
vincentadam87 Apr 10, 2024
0a99a56
change python version
vincentadam87 Apr 10, 2024
1bcd32c
change python version
vincentadam87 Apr 10, 2024
0547e27
tf version for build
vincentadam87 Apr 10, 2024
76c5cce
tf version
vincentadam87 Apr 10, 2024
1df5d4b
tf version
vincentadam87 Apr 10, 2024
3a11b16
debugging with gpt
vincentadam87 Apr 18, 2024
04f417e
debugging with gpt v2
vincentadam87 Apr 18, 2024
d2c28f5
debugging with gpt v3
vincentadam87 Apr 18, 2024
98783c2
update mypy
vincentadam87 Apr 18, 2024
d4feeab
forgot the lock
vincentadam87 Apr 18, 2024
c9e8add
black changes
vincentadam87 Apr 18, 2024
e7997d0
versioning
vincentadam87 Apr 18, 2024
804e0d0
update pyproject
vincentadam87 Apr 18, 2024
3de7817
ignore banded mypy
vincentadam87 Apr 18, 2024
9790b57
temporary fix: skip test
vincentadam87 Apr 18, 2024
ccd3c82
black
vincentadam87 Apr 18, 2024
a93f64b
putting header back
vincentadam87 Apr 18, 2024
cd2740b
poetry task fix / rm setup.py / more python tested upon push
vincentadam87 Apr 18, 2024
45ed248
minor
vincentadam87 Apr 18, 2024
17f2914
change tensorflow version range
vincentadam87 Apr 18, 2024
99a6b31
forgot the lock
vincentadam87 Apr 18, 2024
dbcd088
changing tf version
vincentadam87 Apr 18, 2024
9c442e7
update poetry
vincentadam87 Apr 18, 2024
74e98be
update worflow to force the lock to be regenerate
vincentadam87 Apr 18, 2024
0e86957
update worflow to force the lock to be regenerate v2
vincentadam87 Apr 18, 2024
973048a
set matching python / tf
vincentadam87 Apr 18, 2024
ad19bb3
set matching python / tf
vincentadam87 Apr 18, 2024
2b980ca
set looser dependencies for np / tf / py
vincentadam87 Apr 18, 2024
1a9b267
set looser dependencies for np / tf / py
vincentadam87 Apr 18, 2024
55005cc
set looser dependencies for np / tf / py v2
vincentadam87 Apr 18, 2024
7406902
set looser dependencies for np / tf / py v3
vincentadam87 Apr 18, 2024
2e1cb69
reduce range and change tf/py version
vincentadam87 Apr 18, 2024
20401b8
workflow adding quotes to versions
vincentadam87 Apr 18, 2024
e6b7557
exception for python 3.8
vincentadam87 Apr 18, 2024
0862983
exception for python 3.8 v2
vincentadam87 Apr 18, 2024
9b2e8c5
looser version for mypy
vincentadam87 Apr 18, 2024
b314d35
now numpy
vincentadam87 Apr 18, 2024
fc58b05
Revert "black"
vincentadam87 Apr 19, 2024
47f9c03
revert to ccd3c822897cbfcb6e12c1257db2e32c69aee18c
vincentadam87 Apr 19, 2024
f061bf6
playing with versions
vincentadam87 Apr 20, 2024
14dd006
reintroducing matrix python
vincentadam87 Apr 20, 2024
aa38bff
version fix
vincentadam87 Apr 20, 2024
2ab1ae3
fixing versions tf
vincentadam87 Apr 20, 2024
7e403e0
black + version
vincentadam87 Apr 20, 2024
0ef525e
3.11
vincentadam87 Apr 20, 2024
9cbe714
markers
vincentadam87 Apr 20, 2024
a5390fe
markers weird py3.7
vincentadam87 Apr 20, 2024
8e5bf22
py3.11 tf2.16
vincentadam87 Apr 20, 2024
b271037
test
vincentadam87 Apr 20, 2024
2d7bf30
test back
vincentadam87 Apr 20, 2024
1b7e05e
remove 3.11 from list
vincentadam87 Apr 20, 2024
ccfa00c
fix black
vincentadam87 Apr 20, 2024
a5f0860
fix: john comments
vincentadam87 Apr 20, 2024
6080db1
py3.7
vincentadam87 Apr 21, 2024
6a1cd04
simplifying github workflow
vincentadam87 Apr 21, 2024
883f64a
gh worflow: add back manual build
vincentadam87 Apr 21, 2024
10f566a
gh worflow: revert to what works
vincentadam87 Apr 21, 2024
c3f80fb
updating release file
vincentadam87 Apr 21, 2024
bf19f8b
merge va/update-bm into develop and fix conflict
vincentadam87 Apr 22, 2024
7ad9939
update version (#8)
vincentadam87 Apr 22, 2024
67167e8
Merge branch 'master' into develop
vincentadam87 Jul 3, 2024
54a29a9
Update scipy dependency (#9)
uri-granta Jul 3, 2024
ed4904d
Update pyproject.toml (#10)
vincentadam87 Jul 4, 2024
fdbd39a
moving cmake config out of pyproject
vincentadam87 Jul 4, 2024
95c7921
black
vincentadam87 Jul 4, 2024
fbbea31
update workflow trigger
vincentadam87 Jul 4, 2024
c1adf14
Update upload-pypi.yaml
vincentadam87 Jul 4, 2024
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
3 changes: 2 additions & 1 deletion .github/workflows/upload-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ name: Upload-PyPI


on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
run: poetry run task test

pypi:
# needs: check-and-test
needs: check-and-test
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ __pycache__

# Don't commit the generate Cython library
banded_matrices.*.so

# PyEnv
.python-version
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def build_cmake(self, ext):
f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={str(ext_dir / ext.name / 'lib')}",
f"-DCMAKE_RUNTIME_OUTPUT_DIRECTORY={str(ext_dir / ext.name / 'bin')}",
f"-DCMAKE_VERBOSE_MAKEFILE:BOOL=on",
"-DCMAKE_CXX_STANDARD=14",
]

os.chdir(str(build_temp))
Expand Down
99 changes: 74 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ pytest-isort = "^1.0.0"
pytest-mock = "^3.1.1"
pytest-mypy = "^0.6.1"
pytest-pylint = "^0.17.0"
scipy = "^1.5.4"
scipy = [
{ version = "^1.5.4", markers = "python_version >= '3.7' and python_version < '3.10'" },
{ version = "^1.8.1", markers = "python_version >= '3.10' and python_version < '3.12'" }
]
taskipy = "^1.2.0"


Expand Down Expand Up @@ -91,4 +94,3 @@ line_length = 95
[build-system]
requires = ["poetry>=0.12", "cmake", "setuptools"] #, "tensorflow>=2.8.0,<2.9.0", "cmake"]
build-backend = "poetry.masonry.api"
flags = ["-DCMAKE_CXX_STANDARD=14"]
Loading