Skip to content

Commit

Permalink
Removed psycopg2-binary from requirement_full.txt (#668)
Browse files Browse the repository at this point in the history
# Description
Avoid segfault by removing psycopg2-binary from requirement_full.txt

## Type of change
- [x] Bug fix & code cleanup
- [ ] New feature
- [ ] Documentation update
- [ ] Test update

## Checklist for the reviewer
This checklist should be used as a help for the reviewer.

- [ ] Is the change limited to one issue?
- [ ] Does this PR close the issue?
- [ ] Is the code easy to read and understand?
- [ ] Do all new feature have an accompanying new test?
- [ ] Has the documentation been updated as necessary?
  • Loading branch information
jesper-friis authored Oct 12, 2023
2 parents 464173e + fb78afe commit 274ca49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
str(cmake_bdist_dir / ext.name), str(Path(output_dir) / ext.name)
)

requirements = ["numpy"]
requirements = ["oldest-supported-numpy"]

# Populate extra_requirements from requirements_*.txt
extra_requirements = {}
Expand Down
2 changes: 1 addition & 1 deletion requirements_full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
fortran-language-server>=1.12.0,<1.13
PyYAML>=5.4.1,<7
# psycopg2-binary can lead to segfault - so far all seems good with v2.9.5
psycopg2-binary==2.9.5
psycopg2>=2,<3
pandas>=1.2,<2.1
rdflib>=4.2.1,<7
pint>=0.15,<1
Expand Down

0 comments on commit 274ca49

Please sign in to comment.