Skip to content

Commit

Permalink
Fix acceptance tests on newer versions of setuptools
Browse files Browse the repository at this point in the history
Since setuptools v49, acceptance tests were failing to import pynixify.
After a long session of debugging, the problem turned out to be that I
needed to add a __init__.py file.

Root cause of the regression: pypa/setuptools#2165
  • Loading branch information
cript0nauta committed Jan 5, 2021
1 parent 08bacd3 commit d33900a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions acceptance_tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# pynixify - Nix expression generator for Python packages
# Copyright (C) 2020 Matías Lang

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

0 comments on commit d33900a

Please sign in to comment.